34 template<
class CompType,
class ThermoType>
42 coeffsDict_(
dict.subDict(
"reduction")),
43 active_(coeffsDict_.getOrDefault<
Switch>(
"active",
false)),
44 log_(coeffsDict_.getOrDefault<
Switch>(
"log",
false)),
49 tolerance_(coeffsDict_.getOrDefault<scalar>(
"tolerance", 1
e-4))
55 template<
class CompType,
class ThermoType>
chemistryReductionMethod(const IOdictionary &dict, TDACChemistryModel< CompType, ThermoType > &chemistry)
Construct from components.
A simple wrapper around bool so that it can be read as a word: true/false, on/off, yes/no, any/none. Also accepts 0/1 as a string and shortcuts t/f, y/n.
virtual ~chemistryReductionMethod()
Destructor.
BasicChemistryModel< psiReactionThermo > & chemistry
IOdictionary is derived from dictionary and IOobject to give the dictionary automatic IO functionalit...
const dimensionedScalar e
Elementary charge.
decomposeUsingBbs false
Use bounding boxes (default) or unique decomposition of triangles (i.e. do not duplicate triangles) ...