MFEM v4.7.0
Finite element discretization library
|
Abstract base class for an iterative solver monitor. More...
#include <solvers.hpp>
Public Member Functions | |
IterativeSolverMonitor () | |
virtual | ~IterativeSolverMonitor () |
virtual void | MonitorResidual (int it, real_t norm, const Vector &r, bool final) |
Monitor the residual vector r. | |
virtual void | MonitorSolution (int it, real_t norm, const Vector &x, bool final) |
Monitor the solution vector x. | |
void | SetIterativeSolver (const IterativeSolver &solver) |
This method is invoked by IterativeSolver::SetMonitor, informing the monitor which IterativeSolver is using it. | |
Protected Attributes | |
const class IterativeSolver * | iter_solver |
The last IterativeSolver to which this monitor was attached. | |
Abstract base class for an iterative solver monitor.
Definition at line 36 of file solvers.hpp.
|
inline |
Definition at line 43 of file solvers.hpp.
|
inlinevirtual |
Definition at line 45 of file solvers.hpp.
|
inlinevirtual |
Monitor the residual vector r.
Reimplemented in mfem::ResidualBCMonitor.
Definition at line 48 of file solvers.hpp.
|
inlinevirtual |
Monitor the solution vector x.
Definition at line 54 of file solvers.hpp.
|
inline |
This method is invoked by IterativeSolver::SetMonitor, informing the monitor which IterativeSolver is using it.
Definition at line 61 of file solvers.hpp.
|
protected |
The last IterativeSolver to which this monitor was attached.
Definition at line 40 of file solvers.hpp.