#include <SolverParameters.h>
Public Member Functions | |
void | setMaxIterations (unsigned int _max_iterations) |
double | getMaxIterations () |
void | loadParameters (unsigned int _var_index, SolverToleranceType _tolerance_type, double _tolerance_value, bool _backtrack_damping_flag, double _backtrack_step_modifier, double _backtrack_residual_decrease_coeff, double _default_dampling_coefficient, bool _laplace_for_initial_guess) |
bool | getBacktrackDampingFlag (unsigned int index) |
double | getBacktrackStepModifier (unsigned int index) |
double | getBacktrackResidualDecreaseCoeff (unsigned int index) |
double | getDefaultDampingCoefficient (unsigned int index) |
bool | getLaplaceInitializationFlag (unsigned int index) |
Public Member Functions inherited from SolverParametersBase | |
SolverToleranceType | getToleranceType (unsigned int index) |
double | getToleranceValue (unsigned int index) |
Private Attributes | |
unsigned int | max_iterations |
std::vector< bool > | backtrack_damping_flag_list |
std::vector< double > | backtrack_step_modifier_list |
std::vector< double > | backtrack_residual_decrease_coeff_list |
std::vector< double > | default_damping_coefficient_list |
std::vector< bool > | laplace_for_initial_guess_list |
Additional Inherited Members | |
Protected Member Functions inherited from SolverParametersBase | |
unsigned int | getEquationIndex (unsigned int global_index) |
Protected Attributes inherited from SolverParametersBase | |
std::vector< unsigned int > | var_index_list |
std::vector< SolverToleranceType > | tolerance_type_list |
std::vector< double > | tolerance_value_list |
This class holds all of the parameters for the nonlinear solver. Requests for nonlinear solver parameters for non-nonlinear governing equations return errors.
Definition at line 74 of file SolverParameters.h.
bool getBacktrackDampingFlag | ( | unsigned int | index | ) |
Method to get the backtrack line-search damping flag for one of the governing equations.
Definition at line 58 of file SolverParameters.cc.
double getBacktrackResidualDecreaseCoeff | ( | unsigned int | index | ) |
Method to get the backtrack line-search damping residual decrease coefficient for one of the governing equations.
Definition at line 66 of file SolverParameters.cc.
double getBacktrackStepModifier | ( | unsigned int | index | ) |
Method to get the backtrack line-search damping step size modifier for one of the governing equations.
Definition at line 62 of file SolverParameters.cc.
double getDefaultDampingCoefficient | ( | unsigned int | index | ) |
Method to get the default damping coefficient for one of the governing equations.
Definition at line 70 of file SolverParameters.cc.
bool getLaplaceInitializationFlag | ( | unsigned int | index | ) |
Method to get the flag determining if the solution to Laplace's equation should be used as the initial guess for one of the governing equations.
Definition at line 74 of file SolverParameters.cc.
double getMaxIterations | ( | ) |
Method to get the maximum number of allowed iterations for the nonlinear solver.
Definition at line 82 of file SolverParameters.cc.
void loadParameters | ( | unsigned int | _var_index, |
SolverToleranceType | _tolerance_type, | ||
double | _tolerance_value, | ||
bool | _backtrack_damping_flag, | ||
double | _backtrack_step_modifier, | ||
double | _backtrack_residual_decrease_coeff, | ||
double | _default_dampling_coefficient, | ||
bool | _laplace_for_initial_guess | ||
) |
Method to load the parameters for one governing equation into the class. This must be defined for all classes derived from SolverParametersBase.
Definition at line 39 of file SolverParameters.cc.
void setMaxIterations | ( | unsigned int | _max_iterations | ) |
Method to get the maximum number of allowed iterations for the nonlinear solver.
Definition at line 78 of file SolverParameters.cc.
|
private |
Definition at line 130 of file SolverParameters.h.
|
private |
Definition at line 132 of file SolverParameters.h.
|
private |
Definition at line 131 of file SolverParameters.h.
|
private |
Definition at line 133 of file SolverParameters.h.
|
private |
Definition at line 134 of file SolverParameters.h.
|
private |
Definition at line 128 of file SolverParameters.h.