ABLATE Source Documentation  0.12.33
ablate::eos::tChemSoot::SourceCalculatorSoot Class Reference

#include <sourceCalculatorSoot.hpp>

+ Inheritance diagram for ablate::eos::tChemSoot::SourceCalculatorSoot:

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
 

Detailed Description

public class to to compute the source for each specified node

Constructor & Destructor Documentation

◆ SourceCalculatorSoot()

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

Parameters
tChemEos
constraints
cellRange

tune tolerance

Member Function Documentation

◆ AddSource()

void ablate::eos::tChemSoot::SourceCalculatorSoot::AddSource ( const ablate::domain::Range cellRange,
Vec  localXVec,
Vec  localFVec 
)
overridevirtual

Adds the source that was computed in the ComputeSource to the supplied vector

Implements ablate::eos::ChemistryModel::SourceCalculator.

◆ ComputeSource()

void ablate::eos::tChemSoot::SourceCalculatorSoot::ComputeSource ( const ablate::domain::Range cellRange,
PetscReal  time,
PetscReal  dt,
Vec  globalSolution 
)
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.


The documentation for this class was generated from the following files: