1 #ifndef ABLATELIBRARY_CURVEMONITOR_HPP
2 #define ABLATELIBRARY_CURVEMONITOR_HPP
6 #include "io/interval/interval.hpp"
13 const std::shared_ptr<io::interval::Interval> interval;
14 const std::string filePrefix;
15 inline static const std::string fileExtension =
".curve";
19 inline static const PetscReal minimumOutputValue = 1E-64;
21 static PetscErrorCode OutputCurve(TS ts, PetscInt steps, PetscReal time, Vec u,
void* mctx);
23 static void WriteToCurveFile(std::ostream& curveFile, PetscInt cStart, PetscInt cEnd, Vec cellGeomVec,
const std::vector<domain::Field>& fields, DM dm, Vec vec);
26 CurveMonitor(std::shared_ptr<io::interval::Interval> interval, std::string prefix);
28 void Register(std::shared_ptr<solver::Solver>)
override;
Definition: curveMonitor.hpp:11
void Register(std::shared_ptr< solver::Solver >) override
Definition: curveMonitor.cpp:11
PetscMonitorFunction GetPetscFunction() override
Definition: curveMonitor.hpp:29
Definition: monitor.hpp:12
Definition: boundarySolverMonitor.hpp:16