1 #ifndef ABLATELIBRARY_TIMESTEPMONITOR_HPP
2 #define ABLATELIBRARY_TIMESTEPMONITOR_HPP
4 #include "io/interval/interval.hpp"
6 #include "monitors/logs/log.hpp"
11 static PetscErrorCode MonitorTimeStep(TS ts, PetscInt step, PetscReal crtime, Vec u,
void *ctx);
12 const std::shared_ptr<logs::Log> log;
13 const std::shared_ptr<io::interval::Interval> interval;
16 explicit TimeStepMonitor(std::shared_ptr<logs::Log> log = {}, std::shared_ptr<io::interval::Interval> interval = {});
Definition: monitor.hpp:12
Definition: timeStepMonitor.hpp:9
PetscMonitorFunction GetPetscFunction() override
Definition: timeStepMonitor.hpp:18
Definition: boundarySolverMonitor.hpp:16