Public Types | |
enum class | Scope { VECTOR , COMPONENT } |
Public Member Functions | |
SolutionErrorMonitor (Scope errorScope, ablate::utilities::MathUtilities::Norm normType, const std::shared_ptr< logs::Log > &log={}) | |
PetscMonitorFunction | GetPetscFunction () override |
std::vector< PetscReal > | ComputeError (TS ts, PetscReal time, Vec u) |
Public Member Functions inherited from ablate::monitors::Monitor | |
virtual void | Register (std::shared_ptr< solver::Solver > solverIn) |
virtual void * | GetContext () |
Additional Inherited Members | |
Protected Member Functions inherited from ablate::monitors::Monitor | |
std::shared_ptr< solver::Solver > | GetSolver () |
|
inlineoverridevirtual |
Return a function to be called after every time step. By default null is returned so this is never called
Reimplemented from ablate::monitors::Monitor.