![]() |
MFEM v4.10.0
Finite element discretization library
|
Custom monitor that prints a csv-formatted file. More...
#include <ds-common.hpp>
Public Member Functions | |
| DataMonitor (string file_name, int ndigits) | |
| void | MonitorResidual (int it, real_t norm, const Vector &x, bool final) |
| Monitor the residual vector r. | |
| void | MonitorSolution (int it, real_t norm, const Vector &x, bool final) |
| Monitor the solution vector x. | |
Public Member Functions inherited from mfem::IterativeSolverController | |
| IterativeSolverController () | |
| virtual | ~IterativeSolverController () |
| bool | HasConverged () |
| virtual void | Reset () |
| 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. | |
Additional Inherited Members | |
Protected Attributes inherited from mfem::IterativeSolverController | |
| const class IterativeSolver * | iter_solver |
| The last IterativeSolver to which this controller was attached. | |
| bool | converged = false |
Custom monitor that prints a csv-formatted file.
Definition at line 62 of file ds-common.hpp.
| ds_common::DataMonitor::DataMonitor | ( | string | file_name, |
| int | ndigits ) |
Definition at line 30 of file ds-common.cpp.
|
virtual |
Monitor the residual vector r.
Reimplemented from mfem::IterativeSolverController.
Definition at line 42 of file ds-common.cpp.
|
virtual |
Monitor the solution vector x.
Reimplemented from mfem::IterativeSolverController.
Definition at line 48 of file ds-common.cpp.