54 template<
class CompType,
class ThermoType>
55 class TDACChemistryModel;
57 template<
class CompType,
class ThermoType>
106 inline void deleteSubTree()
108 deleteSubTree(root_);
112 void transplant(bn* u, bn* v);
114 chP* chemPSibling(bn*
y);
115 chP* chemPSibling(chP*
x);
117 bn* nodeSibling(bn*
y);
118 bn* nodeSibling(chP*
x);
180 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 ...
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.
const dimensionedScalar & phi0
Magnetic flux quantum: default SI units: [Wb].
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.