54 template<
class ThermoType>
55 class TDACChemistryModel;
57 template<
class ThermoType>
95 void insertNode(chP*&
phi0, bn*& newNode);
109 inline void deleteSubTree()
111 deleteSubTree(root_);
115 void transplant(bn* u, bn* v);
117 chP* chemPSibling(bn*
y);
119 chP* chemPSibling(chP*
x);
121 bn* nodeSibling(bn*
y);
123 bn* nodeSibling(chP*
x);
188 const scalar& epsTol,
Extends standardChemistryModel by adding the TDAC method.
intWM_LABEL_SIZE_t label
A label is an int32_t or int64_t as specified by the pre-processor macro WM_LABEL_SIZE.
A list of keyword definitions, which are a keyword followed by any number of values (e...
void balance()
Cheap balance function.
void insertNewLeaf(const scalarField &phiq, const scalarField &Rphiq, const scalarSquareMatrix &A, const scalarField &scaleFactor, const scalar &epsTol, const label nCols, chP *&phi0)
Leaf of the binary tree. The chemPoint stores the composition 'phi', the mapping of this composition ...
bool secondaryBTSearch(const scalarField &phiq, chP *&x)
void binaryTreeSearch(const scalarField &phiq, bn *node, chP *&nearest)
Data storage of the chemistryOnLineLibrary according to a binary tree structure.
void clear()
Removes every entries of the tree and delete the associated objects.
basicChemistryModel & chemistry
binaryNode< ThermoType > bn
chemPointISAT< ThermoType > chP
label size()
Member functions.
void deleteLeaf(chP *&phi0)
Delete a leaf from the binary tree and reshape the binary tree for.
chP * treeSuccessor(chP *x)
const dimensionedScalar phi0
Magnetic flux quantum: default SI units: [Wb].
binaryTree(TDACChemistryModel< ThermoType > &chemistry, dictionary coeffsDict)
Constructors.