1 #ifndef ABLATELIBRARY_EXTRACTLINEMONITOR_HPP
2 #define ABLATELIBRARY_EXTRACTLINEMONITOR_HPP
6 #include "finiteVolume/finiteVolumeSolver.hpp"
13 const PetscInt interval;
14 const std::vector<double> start;
15 const std::vector<double> end;
16 const std::vector<std::string> outputFields;
17 const std::vector<std::string> outputAuxFields;
19 const std::string filePrefix;
20 inline static const std::string fileExtension =
".curve";
23 PetscInt outputIndex = 0;
24 std::vector<PetscInt> indexLocations;
25 std::vector<PetscReal> distanceAlongLine;
26 std::shared_ptr<ablate::finiteVolume::FiniteVolumeSolver> flow;
28 static PetscErrorCode OutputCurve(TS ts, PetscInt steps, PetscReal time, Vec u,
void *mctx);
31 ExtractLineMonitor(
int interval, std::string prefix, std::vector<double> start, std::vector<double> end, std::vector<std::string> outputFields,
const std::vector<std::string> outputAuxFields);
33 void Register(std::shared_ptr<solver::Solver>)
override;
Definition: monitor.hpp:12
Definition: boundarySolverMonitor.hpp:16