Go to the documentation of this file.
56 template<
class CompType,
class ThermoType>
57 class TDACChemistryModel;
59 template<
class CompType,
class ThermoType>
108 inline void deleteSubTree()
110 deleteSubTree(root_);
186 const scalar& epsTol,
chemPoint * treeSuccessor(chemPoint *x)
void deleteLeaf(chemPoint *&phi0)
Delete a leaf from the binary tree and reshape the binary tree for.
static const Foam::dimensionedScalar A("", Foam::dimPressure, 611.21)
BasicChemistryModel< psiReactionThermo > & chemistry
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].
void insertNewLeaf(const scalarField &phiq, const scalarField &Rphiq, const scalarSquareMatrix &A, const scalarField &scaleFactor, const scalar &epsTol, const label nCols, chemPoint *&phi0)
void balance()
Cheap balance function.
A list of keyword definitions, which are a keyword followed by a number of values (eg,...
chemPointISAT< CompType, ThermoType > chemPoint
Data storage of the chemistryOnLineLibrary according to a binary tree structure.
bool secondaryBTSearch(const scalarField &phiq, chemPoint *&x)
binaryNode< CompType, ThermoType > node
binaryTree(TDACChemistryModel< CompType, ThermoType > &chemistry, dictionary coeffsDict)
Construct from dictionary and chemistryOnLineLibrary.
void binaryTreeSearch(const scalarField &phiq, node *node, chemPoint *&nearest)
void clear()
Removes every entries of the tree and delete the associated objects.