ABLATE Source Documentation  0.12.34
mixtureFractionMonitor.hpp
1 #ifndef ABLATELIBRARY_MIXTUREFRACTIONMONITOR_HPP
2 #define ABLATELIBRARY_MIXTUREFRACTIONMONITOR_HPP
3 
4 #include <memory>
5 #include "fieldMonitor.hpp"
6 #include "finiteVolume/processes/chemistry.hpp"
7 #include "mixtureFractionCalculator.hpp"
8 
12 namespace ablate::monitors {
13 
15  private:
17  const std::shared_ptr<MixtureFractionCalculator> mixtureFractionCalculator;
18 
20  eos::ThermodynamicFunction densityFunction;
21 
23  std::shared_ptr<ablate::finiteVolume::processes::Chemistry> chemistry;
24 
25  public:
29  explicit MixtureFractionMonitor(std::shared_ptr<MixtureFractionCalculator>);
30 
37  PetscErrorCode Save(PetscViewer viewer, PetscInt sequenceNumber, PetscReal time) override;
38 
44  void Register(std::shared_ptr<solver::Solver> solverIn) override;
45 };
46 
47 } // namespace ablate::monitors
48 
49 #endif // ABLATELIBRARY_MIXTUREFRACTIONMONITOR_HPP
Definition: fieldMonitor.hpp:14
Definition: mixtureFractionMonitor.hpp:14
PetscErrorCode Save(PetscViewer viewer, PetscInt sequenceNumber, PetscReal time) override
Definition: mixtureFractionMonitor.cpp:38
void Register(std::shared_ptr< solver::Solver > solverIn) override
Definition: mixtureFractionMonitor.cpp:9
MixtureFractionMonitor(std::shared_ptr< MixtureFractionCalculator >)
Definition: mixtureFractionMonitor.cpp:6
Definition: boundarySolverMonitor.hpp:16