54 template<
class CompType,
class ThermoType>
55 class TDACChemistryModel;
57 template<
class CompType,
class ThermoType>
104 inline void deleteSubTree()
106 deleteSubTree(root_);
110 void transplant(bn* u, bn* v);
112 chP* chemPSibling(bn*
y);
113 chP* chemPSibling(chP*
x);
115 bn* nodeSibling(bn*
y);
116 bn* nodeSibling(chP*
x);
178 const scalar& epsTol,
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...
chP * treeSuccessor(chP *x)
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 ...
const dimensionedScalar phi0
Magnetic flux quantum: default SI units: [Wb].
chemPointISAT< CompType, ThermoType > chP
bool secondaryBTSearch(const scalarField &phiq, chP *&x)
BasicChemistryModel< rhoReactionThermo > & chemistry
void binaryTreeSearch(const scalarField &phiq, bn *node, chP *&nearest)
binaryNode< CompType, ThermoType > bn
Data storage of the chemistryOnLineLibrary according to a binary tree structure.
void clear()
Removes every entries of the tree and delete the associated objects.
binaryTree(TDACChemistryModel< CompType, ThermoType > &chemistry, dictionary coeffsDict)
Constructors.
label size()
Member functions.
void deleteLeaf(chP *&phi0)
Delete a leaf from the binary tree and reshape the binary tree for.