1 #ifndef ABLATELIBRARY_FINITEVOLUME_CHEMISTRY_HPP
2 #define ABLATELIBRARY_FINITEVOLUME_CHEMISTRY_HPP
5 #include "eos/chemistryModel.hpp"
8 namespace ablate::finiteVolume::processes {
13 const std::shared_ptr<ablate::eos::ChemistryModel> chemistryModel;
16 std::shared_ptr<ablate::eos::ChemistryModel::SourceCalculator> sourceCalculator;
36 static PetscErrorCode AddChemistrySourceToFlow(
const FiniteVolumeSolver &solver, DM dm, PetscReal time, Vec locX, Vec fVec,
void *ctx);
42 explicit Chemistry(std::shared_ptr<ablate::eos::ChemistryModel>);
61 void AddChemistrySourceToFlow(
const FiniteVolumeSolver &solver, Vec locX, Vec locFVec);
Definition: finiteVolumeSolver.hpp:28
Definition: chemistry.hpp:10
Chemistry(std::shared_ptr< ablate::eos::ChemistryModel >)
Definition: chemistry.cpp:7
void Initialize(ablate::finiteVolume::FiniteVolumeSolver &flow) override
Definition: chemistry.cpp:23
void Setup(ablate::finiteVolume::FiniteVolumeSolver &flow) override
Definition: chemistry.cpp:9
Definition: process.hpp:7
Definition: solver.hpp:17
Definition: loggable.hpp:9