Abstract class for monitoring PETSc's solvers.
More...
#include <petsc.hpp>
Abstract class for monitoring PETSc's solvers.
Definition at line 659 of file petsc.hpp.
mfem::PetscSolverMonitor::PetscSolverMonitor |
( |
bool |
monitor_sol = false , |
|
|
bool |
monitor_res = true |
|
) |
| |
|
inline |
virtual mfem::PetscSolverMonitor::~PetscSolverMonitor |
( |
| ) |
|
|
inlinevirtual |
virtual void mfem::PetscSolverMonitor::MonitorResidual |
( |
PetscInt |
it, |
|
|
PetscReal |
norm, |
|
|
const Vector & |
r |
|
) |
| |
|
inlinevirtual |
Monitor the residual vector r.
Definition at line 675 of file petsc.hpp.
virtual void mfem::PetscSolverMonitor::MonitorSolution |
( |
PetscInt |
it, |
|
|
PetscReal |
norm, |
|
|
const Vector & |
x |
|
) |
| |
|
inlinevirtual |
Monitor the solution vector x.
Definition at line 669 of file petsc.hpp.
bool mfem::PetscSolverMonitor::mon_res |
bool mfem::PetscSolverMonitor::mon_sol |
The documentation for this class was generated from the following file: