1 #ifndef ABLATELIBRARY_ROCKETMONITOR_HPP
2 #define ABLATELIBRARY_ROCKETMONITOR_HPP
5 #include "domain/region.hpp"
6 #include "domain/subDomain.hpp"
8 #include "finiteVolume/boundaryConditions/ghost.hpp"
9 #include "finiteVolume/compressibleFlowFields.hpp"
10 #include "finiteVolume/finiteVolumeSolver.hpp"
11 #include "io/interval/interval.hpp"
12 #include "monitor.hpp"
13 #include "monitors/logs/log.hpp"
19 static PetscErrorCode OutputRocket(TS ts, PetscInt step, PetscReal crtime, Vec u,
void* ctx);
20 const std::string name;
21 const std::shared_ptr<domain::Region> region;
22 const std::shared_ptr<domain::Region> fieldBoundary;
23 const std::shared_ptr<eos::EOS> eos;
25 const std::shared_ptr<logs::Log> log;
26 const std::shared_ptr<io::interval::Interval> interval;
27 double referencePressure;
30 RocketMonitor(
const std::string name, std::shared_ptr<domain::Region> region, std::shared_ptr<domain::Region> fieldBoundary, std::shared_ptr<eos::EOS> eos,
31 const std::shared_ptr<logs::Log>& log = {},
const std::shared_ptr<io::interval::Interval>& interval = {},
double referencePressure = {});
32 void Register(std::shared_ptr<solver::Solver>)
override;
Definition: monitor.hpp:12
Definition: rocketMonitor.hpp:17
PetscMonitorFunction GetPetscFunction() override
Definition: rocketMonitor.hpp:33
void Register(std::shared_ptr< solver::Solver >) override
Definition: rocketMonitor.cpp:19
Definition: boundarySolverMonitor.hpp:16