1 #ifndef ABLATELIBRARY_MAXMINAVERAGE_HPP
2 #define ABLATELIBRARY_MAXMINAVERAGE_HPP
5 #include "io/interval/interval.hpp"
7 #include "monitors/logs/log.hpp"
13 static PetscErrorCode MonitorMaxMinAverage(TS ts, PetscInt step, PetscReal crtime, Vec u,
void* ctx);
14 const std::string fieldName;
15 const std::shared_ptr<logs::Log> log;
16 const std::shared_ptr<io::interval::Interval> interval;
19 explicit MaxMinAverage(
const std::string& fieldName, std::shared_ptr<logs::Log> log = {}, std::shared_ptr<io::interval::Interval> interval = {});
Definition: maxMinAverage.hpp:11
PetscMonitorFunction GetPetscFunction() override
Definition: maxMinAverage.hpp:21
Definition: monitor.hpp:12
Definition: boundarySolverMonitor.hpp:16