56 template<
class CompType,
class ThermoType>
59 template<
class CompType,
class ThermoType>
108 inline void deleteSubTree()
110 deleteSubTree(root_);
186 const scalar& epsTol,
void insertNewLeaf(const scalarField &phiq, const scalarField &Rphiq, const scalarSquareMatrix &A, const scalarField &scaleFactor, const scalar &epsTol, const label nCols, chemPoint *&phi0)
Extends StandardChemistryModel by adding the TDAC method.
void binaryTreeSearch(const scalarField &phiq, node *node, chemPoint *&nearest)
A list of keyword definitions, which are a keyword followed by a number of values (eg...
void balance()
Cheap balance function.
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].
bool secondaryBTSearch(const scalarField &phiq, chemPoint *&x)
BasicChemistryModel< psiReactionThermo > & chemistry
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)
Construct from dictionary and chemistryOnLineLibrary.
void deleteLeaf(chemPoint *&phi0)
Delete a leaf from the binary tree and reshape the binary tree for.
chemPoint * treeSuccessor(chemPoint *x)
chemPointISAT< CompType, ThermoType > chemPoint
static const Foam::dimensionedScalar A("", Foam::dimPressure, 611.21)
binaryNode< CompType, ThermoType > node