MFEM
v4.5.1
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, double norm, const Vector &r, bool final) |
Monitor the residual vector r. More... | |
virtual void | MonitorSolution (int it, double norm, const Vector &x, bool final) |
Monitor the solution vector x. More... | |
void | SetIterativeSolver (const IterativeSolver &solver) |
This method is invoked by IterativeSolver::SetMonitor, informing the monitor which IterativeSolver is using it. More... | |
Protected Attributes | |
class IterativeSolver * | iter_solver |
The last IterativeSolver to which this monitor was attached. More... | |
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.