|
| ExplicitSolver ()=default |
| Default constructor.
|
|
bool | checkNextIteration () |
| Checks if the solver is allowed to do the next iteration.
|
|
const RealType & | getMaxTau () const |
| Getter of maximal value of the time step.
|
|
const RealType & | getStopTime () const |
| Getter of the time where the evolution computation shall by stopped.
|
|
const RealType & | getTau () const |
| Getter of the time step used for the computation.
|
|
const RealType & | getTime () const |
| Getter of the current time of the evolution computed by the solver.
|
|
void | refreshSolverMonitor (bool force=false) |
| This method refreshes the solver monitor.
|
|
void | setMaxTau (const RealType &maxTau) |
| Setter of maximal value of the time step.
|
|
void | setStopTime (const RealType &stopTime) |
| Setter of the time where the evolution computation shall by stopped.
|
|
void | setTau (const RealType &tau) |
| Setter of the time step used for the computation.
|
|
void | setTestingMode (bool testingMode) |
|
void | setTime (const RealType &t) |
| Settter of the current time of the evolution computed by the solver.
|
|
bool | setup (const Config::ParameterContainer ¶meters, const std::string &prefix="") |
| Method for setup of the iterative solver based on configuration parameters.
|
|
| IterativeSolver ()=default |
| Default constructor.
|
|
bool | checkConvergence () |
| Checks whether the convergence occurred already.
|
|
bool | checkNextIteration () |
| Checks if the solver is allowed to do the next iteration.
|
|
const double & | getConvergenceResidue () const |
| Gets the the convergence threshold.
|
|
const double & | getDivergenceResidue () const |
| Gets the limit for the divergence criterion.
|
|
const int & | getIterations () const |
| Gets the number of iterations performed by the solver so far.
|
|
const int & | getMaxIterations () const |
| Gets the maximal number of iterations the solver is allowed to perform.
|
|
const int & | getMinIterations () const |
| Gets the minimal number of iterations the solver is supposed to do.
|
|
const double & | getResidue () const |
| Gets the residue reached at the current iteration.
|
|
bool | nextIteration () |
| Proceeds to the next iteration.
|
|
void | resetIterations () |
| Sets the the number of the current iterations to zero.
|
|
void | setConvergenceResidue (const double &convergenceResidue) |
| Sets the threshold for the convergence.
|
|
void | setDivergenceResidue (const double &divergenceResidue) |
| Sets the residue limit for the divergence criterion.
|
|
void | setMaxIterations (const int &maxIterations) |
| Sets the maximal number of iterations the solver is allowed to perform.
|
|
void | setMinIterations (const int &minIterations) |
| Sets the minimal number of iterations the solver is supposed to do.
|
|
void | setRefreshRate (const int &refreshRate) |
| Sets the refresh rate (in milliseconds) for the solver monitor.
|
|
void | setResidue (const double &residue) |
| Sets the residue reached at the current iteration.
|
|
void | setSolverMonitor (SolverMonitorType &solverMonitor) |
| Sets the solver monitor object.
|
|
bool | setup (const Config::ParameterContainer ¶meters, const std::string &prefix="") |
| Method for setup of the iterative solver based on configuration parameters.
|
|
template<typename
Real = double, typename Index = int, typename
SolverMonitor = IterativeSolverMonitor< Real, Index >>
class TNL::Solvers::ODE::ExplicitSolver< Real, Index, SolverMonitor >
Base class for ODE solvers.
- Template Parameters
-
Real | is type of the floating-point arithmetics. |
Index | is type for indexing. |
IterativeSolverMonitor< | Real, Index > is |