ABLATE Source Documentation  0.12.34
ablate::monitors::ParticleCount Class Reference
+ Inheritance diagram for ablate::monitors::ParticleCount:

Public Member Functions

 ParticleCount (int interval, std::shared_ptr< logs::Log > log={})
 
void Register (std::shared_ptr< solver::Solver >) override
 
PetscMonitorFunction GetPetscFunction () override
 
- Public Member Functions inherited from ablate::monitors::Monitor
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::ParticleCount::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.

◆ Register()

void ablate::monitors::ParticleCount::Register ( std::shared_ptr< solver::Solver solverIn)
overridevirtual

Override this function to setup the monitor

Parameters
solverIn

Reimplemented from ablate::monitors::Monitor.


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