Chi-Tech
chi_math::NonLinearSolverOptions Class Reference

#include <NonLinearSolverOptions.h>

Inheritance diagram for chi_math::NonLinearSolverOptions:
ChiObject

Public Member Functions

 NonLinearSolverOptions (const chi::InputParameters &params)
 
 NonLinearSolverOptions ()=default
 
- Public Member Functions inherited from ChiObject
 ChiObject ()
 
 ChiObject (const chi::InputParameters &params)
 
void SetStackID (size_t stack_id)
 
size_t StackID () const
 
virtual void PushOntoStack (std::shared_ptr< ChiObject > &new_object)
 
virtual ~ChiObject ()=default
 

Static Public Member Functions

static chi::InputParameters GetInputParameters ()
 
- Static Public Member Functions inherited from ChiObject
static chi::InputParameters GetInputParameters ()
 

Data Fields

std::string nl_method_ = "JFNK"
 
std::string l_method_ = "gmres"
 
chi::ParameterBlock pc_options_
 
std::string petsc_snes_type_ = "newtonls"
 
double nl_rel_tol_ = 1.0e-8
 
double nl_abs_tol_ = 1.0e-8
 
double nl_sol_tol_ = 1.0e-50
 
int nl_max_its_ = 50
 
int nl_max_r_evaluations_ = -1
 
int l_max_failed_iterations_ = 1000
 
double l_rel_tol_ = 1.0e-8
 
double l_abs_tol_ = 1.0e-8
 
double l_div_tol_ = 1.0e6
 
int l_max_its_ = 100
 
int l_gmres_restart_intvl_ = 30
 
double l_gmres_breakdown_tol_ = 1.0e6
 

Detailed Description

Definition at line 9 of file NonLinearSolverOptions.h.

Constructor & Destructor Documentation

◆ NonLinearSolverOptions() [1/2]

chi_math::NonLinearSolverOptions::NonLinearSolverOptions ( const chi::InputParameters params)
explicit

Definition at line 74 of file NonLinearSolverOptions.cc.

◆ NonLinearSolverOptions() [2/2]

chi_math::NonLinearSolverOptions::NonLinearSolverOptions ( )
default

Member Function Documentation

◆ GetInputParameters()

chi::InputParameters chi_math::NonLinearSolverOptions::GetInputParameters ( )
static

Definition at line 10 of file NonLinearSolverOptions.cc.

Field Documentation

◆ l_abs_tol_

double chi_math::NonLinearSolverOptions::l_abs_tol_ = 1.0e-8

Definition at line 30 of file NonLinearSolverOptions.h.

◆ l_div_tol_

double chi_math::NonLinearSolverOptions::l_div_tol_ = 1.0e6

Definition at line 31 of file NonLinearSolverOptions.h.

◆ l_gmres_breakdown_tol_

double chi_math::NonLinearSolverOptions::l_gmres_breakdown_tol_ = 1.0e6

Definition at line 34 of file NonLinearSolverOptions.h.

◆ l_gmres_restart_intvl_

int chi_math::NonLinearSolverOptions::l_gmres_restart_intvl_ = 30

Definition at line 33 of file NonLinearSolverOptions.h.

◆ l_max_failed_iterations_

int chi_math::NonLinearSolverOptions::l_max_failed_iterations_ = 1000

Definition at line 28 of file NonLinearSolverOptions.h.

◆ l_max_its_

int chi_math::NonLinearSolverOptions::l_max_its_ = 100

Definition at line 32 of file NonLinearSolverOptions.h.

◆ l_method_

std::string chi_math::NonLinearSolverOptions::l_method_ = "gmres"

Definition at line 17 of file NonLinearSolverOptions.h.

◆ l_rel_tol_

double chi_math::NonLinearSolverOptions::l_rel_tol_ = 1.0e-8

Definition at line 29 of file NonLinearSolverOptions.h.

◆ nl_abs_tol_

double chi_math::NonLinearSolverOptions::nl_abs_tol_ = 1.0e-8

Definition at line 24 of file NonLinearSolverOptions.h.

◆ nl_max_its_

int chi_math::NonLinearSolverOptions::nl_max_its_ = 50

Definition at line 26 of file NonLinearSolverOptions.h.

◆ nl_max_r_evaluations_

int chi_math::NonLinearSolverOptions::nl_max_r_evaluations_ = -1

Definition at line 27 of file NonLinearSolverOptions.h.

◆ nl_method_

std::string chi_math::NonLinearSolverOptions::nl_method_ = "JFNK"

Definition at line 16 of file NonLinearSolverOptions.h.

◆ nl_rel_tol_

double chi_math::NonLinearSolverOptions::nl_rel_tol_ = 1.0e-8

Definition at line 23 of file NonLinearSolverOptions.h.

◆ nl_sol_tol_

double chi_math::NonLinearSolverOptions::nl_sol_tol_ = 1.0e-50

Definition at line 25 of file NonLinearSolverOptions.h.

◆ pc_options_

chi::ParameterBlock chi_math::NonLinearSolverOptions::pc_options_

Definition at line 19 of file NonLinearSolverOptions.h.

◆ petsc_snes_type_

std::string chi_math::NonLinearSolverOptions::petsc_snes_type_ = "newtonls"

Definition at line 21 of file NonLinearSolverOptions.h.


The documentation for this class was generated from the following files: