#include <SolverParameters.h>
Public Member Functions | |
SolverToleranceType | getToleranceType (unsigned int index) |
double | getToleranceValue (unsigned int index) |
Protected Member Functions | |
unsigned int | getEquationIndex (unsigned int global_index) |
Protected Attributes | |
std::vector< unsigned int > | var_index_list |
std::vector< SolverToleranceType > | tolerance_type_list |
std::vector< double > | tolerance_value_list |
This is a base class that holds parameters related to a numerical solver (either linear or nonlinear) As in many other PRISMS-PF classes, access to the parameters for the separate governing equations is specified via the global variable index. Requests for solver parameters for inappropriate governing equations return errors.
Definition at line 15 of file SolverParameters.h.
|
protected |
Method to get the internal nonlinearSolverParameters index from the global variable index.
Definition at line 14 of file SolverParameters.cc.
SolverToleranceType getToleranceType | ( | unsigned int | index | ) |
Method to get the tolerance type for one of the governing equations.
Definition at line 4 of file SolverParameters.cc.
double getToleranceValue | ( | unsigned int | index | ) |
Method to get the tolerance value for one of the governing equations.
Definition at line 8 of file SolverParameters.cc.
|
protected |
Definition at line 32 of file SolverParameters.h.
|
protected |
Definition at line 33 of file SolverParameters.h.
|
protected |
Definition at line 30 of file SolverParameters.h.