ABLATE Source Documentation  0.12.34
chemTabMonitor.hpp
1 #ifndef ABLATELIBRARY_CHEMTABNMONITOR_HPP
2 #define ABLATELIBRARY_CHEMTABNMONITOR_HPP
3 
4 #include <memory>
5 #include "eos/chemTab.hpp"
6 #include "fieldMonitor.hpp"
7 #include "finiteVolume/processes/chemistry.hpp"
8 #include "mixtureFractionCalculator.hpp"
9 
13 namespace ablate::monitors {
14 
15 class ChemTabMonitor : public FieldMonitor {
16  private:
18  const std::shared_ptr<eos::ChemTab> chemTab;
19 
21  eos::ThermodynamicFunction densityFunction;
22 
24  std::shared_ptr<ablate::finiteVolume::processes::Chemistry> chemistry;
25 
26  public:
30  explicit ChemTabMonitor(const std::shared_ptr<ablate::eos::ChemistryModel>& chemTab);
31 
38  PetscErrorCode Save(PetscViewer viewer, PetscInt sequenceNumber, PetscReal time) override;
39 
45  void Register(std::shared_ptr<solver::Solver> solverIn) override;
46 };
47 
48 } // namespace ablate::monitors
49 
50 #endif // ABLATELIBRARY_MIXTUREFRACTIONMONITOR_HPP
Definition: chemTabMonitor.hpp:15
void Register(std::shared_ptr< solver::Solver > solverIn) override
Definition: chemTabMonitor.cpp:11
ChemTabMonitor(const std::shared_ptr< ablate::eos::ChemistryModel > &chemTab)
Definition: chemTabMonitor.cpp:5
PetscErrorCode Save(PetscViewer viewer, PetscInt sequenceNumber, PetscReal time) override
Definition: chemTabMonitor.cpp:41
Definition: fieldMonitor.hpp:14
Definition: boundarySolverMonitor.hpp:16