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();
static const Foam::dimensionedScalar A("A", Foam::dimPressure, 611.21)
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()
ISAT(const dictionary &chemistryProperties, const odeChemistryModel &chemistry)
Construct from dictionary.
label timeSteps() const
Return the number of chemistry evaluations.
Starts timing CPU usage and return elapsed time from start.
A list of keyword definitions, which are a keyword followed by any number of values (e....
Extends base chemistry model adding an ODESystem and the reduction maps needed for tabulation.
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.