ABLATE Source Documentation  0.12.33
ablate::monitors::SolutionErrorMonitor Class Reference
+ Inheritance diagram for ablate::monitors::SolutionErrorMonitor:

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::SolverGetSolver ()
 

Member Function Documentation

◆ GetPetscFunction()

PetscMonitorFunction ablate::monitors::SolutionErrorMonitor::GetPetscFunction ( )
inlineoverridevirtual

Return a function to be called after every time step. By default null is returned so this is never called

Returns

Reimplemented from ablate::monitors::Monitor.


The documentation for this class was generated from the following files: