121 #ifndef chemPointISAT_H 122 #define chemPointISAT_H 131 template<
class CompType,
class ThermoType>
134 template<
class CompType,
class ThermoType>
135 class TDACChemistryModel;
142 template<
class CompType,
class ThermoType>
171 label completeSpaceSize_;
177 static scalar tolerance_;
180 label nActiveSpecies_;
206 label nAdditionalEqns_;
290 return completeSpaceSize_;
345 return nActiveSpecies_;
350 return completeToSimplifiedIndex_;
355 return simplifiedToCompleteIndex_;
376 return lastTimeUsed_;
386 return maxNumNewDim_;
chemPointISAT(TDACChemistryModel< CompType, ThermoType > &chemistry, const scalarField &phi, const scalarField &Rphi, const scalarSquareMatrix &A, const scalarField &scaleFactor, const scalar &tolerance, const label &completeSpaceSize, const dictionary &coeffsDict, binaryNode< CompType, ThermoType > *node=nullptr)
Construct from components.
const scalar & tolerance()
const scalarSquareMatrix & A() const
const scalarSquareMatrix & LT() const
List< label > & simplifiedToCompleteIndex()
binaryNode< CompType, ThermoType > *& node()
A list of keyword definitions, which are a keyword followed by a number of values (eg...
bool checkSolution(const scalarField &phiq, const scalarField &Rphiq)
If phiq is not in the EOA, then the mapping is computed.
Leaf of the binary tree. The chemPoint stores the composition 'phi', the mapping of this composition ...
List< label > & completeToSimplifiedIndex()
A simple wrapper around bool so that it can be read as a word: true/false, on/off, yes/no, any/none. Also accepts 0/1 as a string and shortcuts t/f, y/n.
const label & nLifeTime()
const dimensionedScalar b
Wien displacement law constant: default SI units: [m.K].
const scalarField & scaleFactor()
Field< scalar > scalarField
Specialisation of Field<T> for scalar.
const label & numRetrieve()
bool grow(const scalarField &phiq)
More details about the minimum-volume ellipsoid covering an.
const scalarField & phi() const
bool variableTimeStep() const
TDACChemistryModel< CompType, ThermoType > & chemistry()
Access to the TDACChemistryModel.
bool variableTimeStep() const
Return true if the time-step is variable and/or non-uniform.
const scalarField & Rphi() const
void resetNumRetrieve()
Resets the number of retrieves at each time step.
#define R(A, B, C, D, E, F, K, M)
void increaseNLifeTime()
Increases the "counter" of the chP life.
label & completeSpaceSize()
void increaseNumRetrieve()
Increases the number of retrieves the chempoint has generated.
bool inEOA(const scalarField &phiq)
To RETRIEVE the mapping from the stored chemPoint phi, the query.
static void changeTolerance(scalar newTol)