54 namespace chemistryTabulationMethods
75 const bool reduction_;
88 label chPMaxLifeTime_;
94 label checkEntireTreeInterval_;
98 scalar maxDepthFactor_;
101 label minBalanceThreshold_;
124 scalar addNewLeafCpuTime_;
126 scalar searchISATCpuTime_;
150 bool cleaningRequired_;
187 bool cleanAndBalance();
291 virtual void reset();
A list of keyword definitions, which are a keyword followed by any number of values (e...
Template class for non-intrusive linked lists.
Leaf of the binary tree. The chemPoint stores the composition 'phi', the mapping of this composition ...
A simple wrapper around bool so that it can be read as a word: true/false, on/off, yes/no, y/n, t/f, or none/any.
virtual label add(const scalarField &phiq, const scalarField &Rphiq, const label nActive, const label li, const scalar deltaT)
Add information to the tabulation.
Class to control time during OpenFOAM simulations that is also the top-level objectRegistry.
const odeChemistryModel & chemistry()
virtual bool tabulates()
Return true as this tabulation method tabulates.
virtual bool retrieve(const Foam::scalarField &phiq, scalarField &Rphiq)
Find the closest stored leaf of phiQ and store the result in.
Data storage of the chemistryOnLineLibrary according to a binary tree structure.
label timeSteps() const
Return the number of chemistry evaluations.
TypeName("ISAT")
Runtime type information.
An abstract class for chemistry tabulation.
Field with dimensions and associated with geometry type GeoMesh which is used to size the field and a...
ISAT(const dictionary &chemistryProperties, const odeChemistryModel &chemistry)
Construct from dictionary.
Implementation of the ISAT (In-situ adaptive tabulation), for chemistry calculation.
binaryTree & chemisTree()
An auto-pointer similar to the STL auto_ptr but with automatic casting to a reference to the type and...
const dimensionedScalar phi0
Magnetic flux quantum: default SI units: [Wb].
Starts timing CPU usage and return elapsed time from start.
Extends base chemistry model adding an ODESystem and the reduction maps needed for tabulation...
bool reduction() const
Return true if reduction is applied to the state variables.
const scalarField & scaleFactor() const
virtual void writePerformance()