#include <boundarySolverMonitor.hpp>
Public Member Functions | |
~BoundarySolverMonitor () override | |
void | Register (std::shared_ptr< solver::Solver > solver) override |
PetscMonitorFunction | GetPetscFunction () override |
const std::string & | GetId () const override |
PetscErrorCode | Save (PetscViewer viewer, PetscInt sequenceNumber, PetscReal time) override |
PetscErrorCode | Restore (PetscViewer viewer, PetscInt sequenceNumber, PetscReal time) override |
Public Member Functions inherited from ablate::monitors::Monitor | |
virtual void * | GetContext () |
Public Member Functions inherited from ablate::io::Serializable | |
virtual SerializerType | Serialize () const |
Additional Inherited Members | |
Public Types inherited from ablate::io::Serializable | |
enum class | SerializerType { none , collective , serial } |
Protected Member Functions inherited from ablate::monitors::Monitor | |
std::shared_ptr< solver::Solver > | GetSolver () |
Static Protected Member Functions inherited from ablate::io::Serializable | |
static PetscErrorCode | SaveKeyValue (PetscViewer viewer, const char *name, PetscScalar value) |
static PetscErrorCode | RestoreKeyValue (PetscViewer viewer, const char *name, PetscScalar &value) |
template<class T > | |
static PetscErrorCode | SaveKeyValue (PetscViewer viewer, const char *name, T value) |
template<class T > | |
static PetscErrorCode | RestoreKeyValue (PetscViewer viewer, const char *name, T &value) |
template<class T > | |
static SerializerType | DetermineSerializerType (const T &types) |
use to call the boundary solver to output any specific output variables
|
override |
Clean up the petsc objects
|
inlineoverridevirtual |
|
inlineoverridevirtual |
This is not needed because this is only called upon serialize.
Reimplemented from ablate::monitors::Monitor.
|
overridevirtual |
Register this solver with the boundary solver
solver | the solver must be of type ablate::boundarySolver::BoundarySolver |
Reimplemented from ablate::monitors::Monitor.
|
inlineoverridevirtual |
This is not needed for ghe boundary solver monitor
viewer | |
sequenceNumber | |
time |
Implements ablate::io::Serializable.
|
overridevirtual |
Compute and store the current boundary output values
viewer | |
sequenceNumber | |
time |
Implements ablate::io::Serializable.