101 inline void deleteSubTree(
binaryNode* subTreeRoot);
103 inline void deleteSubTree();
166 const scalar& epsTol,
A simple wrapper around bool so that it can be read as a word: true/false, on/off,...
Data storage of the chemistryOnLineLibrary according to a binary tree structure.
void deleteLeaf(chemPointISAT *&phi0)
Delete a leaf from the binary tree and reshape the binary tree for.
chemPointISAT * treeMin()
label size() const
Member functions.
void binaryTreeSearch(const scalarField &phiq, binaryNode *node, chemPointISAT *&nearest)
bool secondaryBTSearch(const scalarField &phiq, chemPointISAT *&x)
chemPointISAT * treeSuccessor(chemPointISAT *x)
void insertNewLeaf(const scalarField &phiq, const scalarField &Rphiq, const scalarSquareMatrix &A, const scalarField &scaleFactor, const scalar &epsTol, const label nCols, const label nActive, chemPointISAT *&phi0)
void clear()
Removes every entries of the tree and delete the associated objects.
void balance()
Cheap balance function.
binaryTree(chemistryTabulationMethods::ISAT &table, const dictionary &coeffDict)
Constructors.
Leaf of the binary tree. The chemPoint stores the composition 'phi', the mapping of this composition ...
Implementation of the ISAT (In-situ adaptive tabulation), for chemistry calculation.
A list of keywords followed by any number of values (e.g. words and numbers) or sub-dictionaries.
const dimensionedScalar phi0
Magnetic flux quantum: default SI units: [Wb].
static const coefficient A("A", dimPressure, 611.21)
intWM_LABEL_SIZE_t label
A label is an int32_t or int64_t as specified by the pre-processor macro WM_LABEL_SIZE.