99 inline void deleteSubTree(
binaryNode* subTreeRoot);
101 inline void deleteSubTree();
164 const scalar& epsTol,
static const Foam::dimensionedScalar A("A", Foam::dimPressure, 611.21)
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)
binaryTree(chemistryTabulationMethods::ISAT &table, dictionary coeffsDict)
Constructors.
void clear()
Removes every entries of the tree and delete the associated objects.
void balance()
Cheap balance function.
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 keyword definitions, which are a keyword followed by any number of values (e....
const dimensionedScalar phi0
Magnetic flux quantum: default SI units: [Wb].
intWM_LABEL_SIZE_t label
A label is an int32_t or int64_t as specified by the pre-processor macro WM_LABEL_SIZE.