![]() |
MFEM v4.9.0
Finite element discretization library
|
Monitor that checks whether the residual is zero at a given set of dofs. More...
#include <solvers.hpp>
Public Member Functions | |
| ResidualBCMonitor (const Array< int > &ess_dofs_list_) | |
| void | MonitorResidual (int it, real_t norm, const Vector &r, bool final) override |
| Monitor the solution vector r. | |
Public Member Functions inherited from mfem::IterativeSolverController | |
| IterativeSolverController () | |
| virtual | ~IterativeSolverController () |
| bool | HasConverged () |
| virtual void | Reset () |
| virtual void | MonitorSolution (int it, real_t norm, const Vector &x, bool final) |
| Monitor the solution vector x. | |
| virtual bool | RequiresUpdatedSolution () const |
| Indicates if the controller requires an updated solution every iteration. | |
| void | SetIterativeSolver (const IterativeSolver &solver) |
| This method is invoked by IterativeSolver::SetController(), informing the controller which IterativeSolver is using it. | |
Protected Attributes | |
| const Array< int > * | ess_dofs_list |
| Not owned. | |
Protected Attributes inherited from mfem::IterativeSolverController | |
| const class IterativeSolver * | iter_solver |
| The last IterativeSolver to which this controller was attached. | |
| bool | converged = false |
Monitor that checks whether the residual is zero at a given set of dofs.
This monitor is useful for checking if the initial guess, rhs, operator, and preconditioner are properly setup for solving in the subspace with imposed essential boundary conditions.
Definition at line 1192 of file solvers.hpp.
|
inline |
Definition at line 1198 of file solvers.hpp.
|
overridevirtual |
Monitor the solution vector r.
Reimplemented from mfem::IterativeSolverController.
Definition at line 3315 of file solvers.cpp.
|
protected |
Not owned.
Definition at line 1195 of file solvers.hpp.