54 namespace chemistryTabulationMethods
73 const bool reduction_;
86 label chPMaxLifeTime_;
92 label checkEntireTreeInterval_;
96 scalar maxDepthFactor_;
99 label minBalanceThreshold_;
122 scalar addNewLeafCpuTime_;
124 scalar searchISATCpuTime_;
148 bool cleaningRequired_;
185 bool cleanAndBalance();
300 virtual void reset();
Field with dimensions and associated with geometry type GeoMesh which is used to size the field and a...
Template class for non-intrusive linked lists.
A simple wrapper around bool so that it can be read as a word: true/false, on/off,...
Class to control time during OpenFOAM simulations that is also the top-level objectRegistry.
An auto-pointer similar to the STL auto_ptr but with automatic casting to a reference to the type and...
Data storage of the chemistryOnLineLibrary according to a binary tree structure.
Leaf of the binary tree. The chemPoint stores the composition 'phi', the mapping of this composition ...
An abstract class for chemistry tabulation.
Implementation of the ISAT (In-situ adaptive tabulation), for chemistry calculation.
const odeChemistryModel & chemistry()
virtual bool retrieve(const Foam::scalarField &phiq, scalarField &Rphiq)
Find the closest stored leaf of phiQ and store the result in.
virtual label add(const scalarField &phiq, const scalarField &Rphiq, const label nActive, const label li, const scalar deltaT)
Add information to the tabulation.
bool reduction() const
Return true if reduction is applied to the state variables.
const scalarField & scaleFactor() const
virtual bool tabulates()
Return true as this tabulation method tabulates.
TypeName("ISAT")
Runtime type information.
binaryTree & chemisTree()
virtual void writePerformance()
label timeSteps() const
Return the number of chemistry evaluations.
Starts timing CPU usage and return elapsed time from start.
A list of keywords followed by any number of values (e.g. words and numbers) or sub-dictionaries.
Extends base chemistry model adding an ODESystem and the reduction maps needed for tabulation.
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.