|
NANDRAD Data Model Library
Version 2.0
NANDRAD
|
Solver parameters define options/flags related to the numerical engine, and are typically independent of the physical model evaluation.
Definition at line 39 of file NANDRAD_SolverParameter.h.
#include <NANDRAD_SolverParameter.h>
Public Types | |
| enum | para_t { P_RelTol, P_AbsTol, P_MaxTimeStep, P_MinTimeStep, P_InitialTimeStep, P_NonlinSolverConvCoeff, P_IterativeSolverConvCoeff, P_DiscMinDx, P_DiscStretchFactor, P_ViewfactorTileWidth, P_SurfaceDiscretizationDensity, P_ControlTemperatureTolerance, P_KinsolRelTol, P_KinsolAbsTol, NUM_P } |
| Parameter. More... | |
| enum | intPara_t { IP_PreILUWidth, IP_MaxKrylovDim, IP_MaxNonlinIter, IP_MaxOrder, IP_KinsolMaxNonlinIter, IP_DiscMaxElementsPerLayer, NUM_IP } |
| Integer parameters. More... | |
| enum | flag_t { F_DetectMaxTimeStep, F_KinsolDisableLineSearch, F_KinsolStrictNewton, NUM_F } |
| Flags. More... | |
| enum | integrator_t { I_CVODE, I_ExplicitEuler, I_ImplicitEuler, NUM_I } |
| Enumeration of available integrators. More... | |
| enum | lesSolver_t { LES_Dense, LES_KLU, LES_GMRES, LES_BiCGStab, NUM_LES } |
| Enumeration of available linear equation system (LES) solvers, to be used with implicit integrators. | |
| enum | precond_t { PRE_ILU, NUM_PRE } |
| Enumeration of available preconditioners, to be used with iterative LES solvers. More... | |
Public Member Functions | |
| void | initDefaults () |
| Init default values (called before readXML()). More... | |
| NANDRAD_READWRITE void | checkParameters () const |
| To be called after readXML() and mainly used to check whether user-provided parameters are in the valid ranges. More... | |
Public Attributes | |
| IBK::Parameter | m_para [NUM_P] |
| List of parameters. More... | |
| IBK::IntPara | m_intPara [NUM_IP] |
| List of integer value parameters. More... | |
| IBK::Flag | m_flag [NUM_F] |
| List of flags. More... | |
| integrator_t | m_integrator = NUM_I |
| Selected integrator engine. More... | |
| lesSolver_t | m_lesSolver = NUM_LES |
| Selected LES solver. More... | |
| precond_t | m_preconditioner = NUM_PRE |
| Selected preconditioner. More... | |
Parameter.
Definition at line 43 of file NANDRAD_SolverParameter.h.
Integer parameters.
Definition at line 69 of file NANDRAD_SolverParameter.h.
Flags.
Definition at line 80 of file NANDRAD_SolverParameter.h.
Enumeration of available integrators.
Definition at line 88 of file NANDRAD_SolverParameter.h.
Enumeration of available preconditioners, to be used with iterative LES solvers.
Definition at line 107 of file NANDRAD_SolverParameter.h.
| void NANDRAD::SolverParameter::initDefaults | ( | ) |
Init default values (called before readXML()).
| NANDRAD_READWRITE void NANDRAD::SolverParameter::checkParameters | ( | ) | const |
To be called after readXML() and mainly used to check whether user-provided parameters are in the valid ranges.
| IBK::Parameter NANDRAD::SolverParameter::m_para[NUM_P] |
List of parameters.
Definition at line 130 of file NANDRAD_SolverParameter.h.
| IBK::IntPara NANDRAD::SolverParameter::m_intPara[NUM_IP] |
List of integer value parameters.
Definition at line 132 of file NANDRAD_SolverParameter.h.
| IBK::Flag NANDRAD::SolverParameter::m_flag[NUM_F] |
List of flags.
Definition at line 134 of file NANDRAD_SolverParameter.h.
| integrator_t NANDRAD::SolverParameter::m_integrator = NUM_I |
Selected integrator engine.
Definition at line 139 of file NANDRAD_SolverParameter.h.
| lesSolver_t NANDRAD::SolverParameter::m_lesSolver = NUM_LES |
| precond_t NANDRAD::SolverParameter::m_preconditioner = NUM_PRE |
Selected preconditioner.
Definition at line 149 of file NANDRAD_SolverParameter.h.