56template<
class CompType,
class ThermoType>
57class TDACChemistryModel;
59template<
class CompType,
class ThermoType>
108 inline void deleteSubTree()
110 deleteSubTree(root_);
186 const scalar& epsTol,
static const Foam::dimensionedScalar A("", Foam::dimPressure, 611.21)
Extends StandardChemistryModel by adding the TDAC method.
Data storage of the chemistryOnLineLibrary according to a binary tree structure.
void deleteLeaf(chemPoint *&phi0)
Delete a leaf from the binary tree and reshape the binary tree for.
void binaryTreeSearch(const scalarField &phiq, node *node, chemPoint *&nearest)
void insertNewLeaf(const scalarField &phiq, const scalarField &Rphiq, const scalarSquareMatrix &A, const scalarField &scaleFactor, const scalar &epsTol, const label nCols, chemPoint *&phi0)
chemPoint * treeSuccessor(chemPoint *x)
chemPointISAT< CompType, ThermoType > chemPoint
void clear()
Removes every entries of the tree and delete the associated objects.
binaryNode< CompType, ThermoType > node
void balance()
Cheap balance function.
bool secondaryBTSearch(const scalarField &phiq, chemPoint *&x)
Leaf of the binary tree. The chemPoint stores the composition 'phi', the mapping of this composition ...
A list of keyword definitions, which are a keyword followed by a number of values (eg,...
BasicChemistryModel< psiReactionThermo > & chemistry