#include <sourceCalculatorSoot.hpp>
Public Member Functions | |
SourceCalculatorSoot (const std::vector< domain::Field > &fields, const std::shared_ptr< TChemSoot > &tChemEos, ablate::eos::tChem::SourceCalculator::ChemistryConstraints constraints, const ablate::domain::Range &cellRange) | |
void | ComputeSource (const ablate::domain::Range &cellRange, PetscReal time, PetscReal dt, Vec globalSolution) override |
void | AddSource (const ablate::domain::Range &cellRange, Vec localXVec, Vec localFVec) override |
public class to to compute the source for each specified node
ablate::eos::tChemSoot::SourceCalculatorSoot::SourceCalculatorSoot | ( | const std::vector< domain::Field > & | fields, |
const std::shared_ptr< TChemSoot > & | tChemEos, | ||
ablate::eos::tChem::SourceCalculator::ChemistryConstraints | constraints, | ||
const ablate::domain::Range & | cellRange | ||
) |
create a batch source for this size specified in cellRange
tChemEos | |
constraints | |
cellRange |
tune tolerance
|
overridevirtual |
Adds the source that was computed in the ComputeSource to the supplied vector
Implements ablate::eos::ChemistryModel::SourceCalculator.
|
overridevirtual |
The compute source can be used as a prestep allowing the add source to be used at each stage without reevaluating
Implements ablate::eos::ChemistryModel::SourceCalculator.