#include <SolverStatistics.h>
Definition at line 25 of file SolverStatistics.h.
◆ SolverStatistics()
| mghype::matrixfree::solvers::SolverStatistics::SolverStatistics |
( |
double |
tolerance = 0.0 | ) |
|
- Parameters
-
| tolerance | You can use the default parameter if you later on merge it into a proper class. |
◆ clearGlobalPrecondResidualUpdate()
| void mghype::matrixfree::solvers::SolverStatistics::clearGlobalPrecondResidualUpdate |
( |
| ) |
|
◆ clearGlobalResidualAndSolutionUpdate()
| void mghype::matrixfree::solvers::SolverStatistics::clearGlobalResidualAndSolutionUpdate |
( |
| ) |
|
Clear the global mesh stats.
Most solvers call this one in beginMeshSweep().
◆ getGlobalPrecondResidualNorms()
| std::array< double, 2 > mghype::matrixfree::solvers::SolverStatistics::getGlobalPrecondResidualNorms |
( |
| ) |
const |
◆ getGlobalResidualMaxNorm()
| double mghype::matrixfree::solvers::SolverStatistics::getGlobalResidualMaxNorm |
( |
| ) |
const |
◆ merge()
| void mghype::matrixfree::solvers::SolverStatistics::merge |
( |
const SolverStatistics & |
statistics | ) |
|
◆ reportPrecondNorms()
| std::string mghype::matrixfree::solvers::SolverStatistics::reportPrecondNorms |
( |
| ) |
const |
◆ synchroniseGlobalResidualAndSolutionUpdate()
| void mghype::matrixfree::solvers::SolverStatistics::synchroniseGlobalResidualAndSolutionUpdate |
( |
| ) |
|
Synchronise the global stats between MPI ranks.
Becomes nop if there is no MPI. The routine also takes care of the minimum and maximum mesh size tracked.
◆ terminationCriterionHolds()
| bool mghype::matrixfree::solvers::SolverStatistics::terminationCriterionHolds |
( |
| ) |
|
◆ toString()
| std::string mghype::matrixfree::solvers::SolverStatistics::toString |
( |
| ) |
const |
◆ updateGlobalPrecondResidual()
| void mghype::matrixfree::solvers::SolverStatistics::updateGlobalPrecondResidual |
( |
double |
residual | ) |
|
◆ updateGlobalResidual()
| void mghype::matrixfree::solvers::SolverStatistics::updateGlobalResidual |
( |
double |
residual, |
|
|
const tarch::la::Vector< Dimensions, double > & |
h |
|
) |
| |
Update the global residual.
Is typically to be called after we have assembled the complete residual. For DG, this means the cell and face contributions from the residual.
- Parameters
-
| residual | Double Residual contribution from one cell. Has to be proper number, i.e. not nan or inf. We have a check in here that says that the residual should not be higher than 1e10. This is a totally arbitrary number, but sometimes helps for debugging - we have never seen such big residuals in proper runs. |
◆ updateGlobalSolutionUpdates()
| void mghype::matrixfree::solvers::SolverStatistics::updateGlobalSolutionUpdates |
( |
double |
deltaU, |
|
|
const tarch::la::Vector< Dimensions, double > & |
h |
|
) |
| |
◆ updateMinMaxMeshSize()
| void mghype::matrixfree::solvers::SolverStatistics::updateMinMaxMeshSize |
( |
const tarch::la::Vector< Dimensions, double > & |
h | ) |
|
◆ _globalDeltaUEukledianNormSquared
| double mghype::matrixfree::solvers::SolverStatistics::_globalDeltaUEukledianNormSquared |
|
protected |
◆ _globalDeltaUHNormSquared
| double mghype::matrixfree::solvers::SolverStatistics::_globalDeltaUHNormSquared |
|
protected |
◆ _globalDeltaUMaxNorm
| double mghype::matrixfree::solvers::SolverStatistics::_globalDeltaUMaxNorm |
|
protected |
◆ _globalPrecondResidualEukledianNormSquared
| double mghype::matrixfree::solvers::SolverStatistics::_globalPrecondResidualEukledianNormSquared |
|
protected |
◆ _globalPrecondResidualMaxNorm
| double mghype::matrixfree::solvers::SolverStatistics::_globalPrecondResidualMaxNorm |
|
protected |
◆ _globalResidualEukledianNormSquared
| double mghype::matrixfree::solvers::SolverStatistics::_globalResidualEukledianNormSquared |
|
protected |
◆ _globalResidualHNormSquared
| double mghype::matrixfree::solvers::SolverStatistics::_globalResidualHNormSquared |
|
protected |
◆ _globalResidualMaxNorm
| double mghype::matrixfree::solvers::SolverStatistics::_globalResidualMaxNorm |
|
protected |
◆ _initialGlobalResidualEukledianNormSquared
| double mghype::matrixfree::solvers::SolverStatistics::_initialGlobalResidualEukledianNormSquared |
|
protected |
◆ _initialGlobalResidualHNormSquared
| double mghype::matrixfree::solvers::SolverStatistics::_initialGlobalResidualHNormSquared |
|
protected |
◆ _initialGlobalResidualMaxNorm
| double mghype::matrixfree::solvers::SolverStatistics::_initialGlobalResidualMaxNorm |
|
protected |
◆ _log
◆ _maxH
| double mghype::matrixfree::solvers::SolverStatistics::_maxH |
|
protected |
◆ _minH
| double mghype::matrixfree::solvers::SolverStatistics::_minH |
|
protected |
◆ _previousGlobalResidualEukledianNormSquared
| double mghype::matrixfree::solvers::SolverStatistics::_previousGlobalResidualEukledianNormSquared |
|
protected |
◆ _previousGlobalResidualHNormSquared
| double mghype::matrixfree::solvers::SolverStatistics::_previousGlobalResidualHNormSquared |
|
protected |
◆ _previousGlobalResidualMaxNorm
| double mghype::matrixfree::solvers::SolverStatistics::_previousGlobalResidualMaxNorm |
|
protected |
◆ _tolerance
| const double mghype::matrixfree::solvers::SolverStatistics::_tolerance |
|
protected |
The documentation for this class was generated from the following file: