Go to the documentation of this file.
41 #ifndef chemistryReader_H
42 #define chemistryReader_H
61 template<
class ThermoType>
139 #define makeChemistryReader(Thermo) \
140 defineTemplateTypeNameAndDebug(chemistryReader<Thermo>, 0); \
141 defineTemplateRunTimeSelectionTable(chemistryReader<Thermo>, dictionary)
144 #define makeChemistryReaderType(Reader, Thermo) \
145 defineNamedTemplateTypeNameAndDebug(Reader<Thermo>, 0); \
146 chemistryReader<Thermo>::adddictionaryConstructorToTable<Reader<Thermo>> \
147 add##Reader##Thermo##ConstructorToTable_
151 #define addChemistryReaderType(Reader, Thermo) \
152 defineTypeNameAndDebug(Reader, 0); \
153 chemistryReader<Thermo>::adddictionaryConstructorToTable<Reader> \
154 add##Reader##Thermo##ConstructorToTable_
158 #define addTemplateChemistryReaderType(Reader, Thermo) \
159 defineNamedTemplateTypeNameAndDebug(Reader, 0); \
160 chemistryReader<Thermo>::adddictionaryConstructorToTable<Reader> \
161 add##Reader##Thermo##ConstructorToTable_
Abstract class for reading chemistry.
declareRunTimeSelectionTable(autoPtr, chemistryReader, dictionary,(const dictionary &thermoDict, speciesTable &species),(thermoDict, species))
HashTable< List< specieElement > > speciesCompositionTable
List of templated reactions.
A wordList with hashed named lookup, which can be faster in some situations than using the normal lis...
virtual ~chemistryReader()=default
virtual const speciesTable & species() const =0
static autoPtr< chemistryReader > New(const dictionary &thermoDict, speciesTable &species)
virtual const ReactionList< ThermoType > & reactions() const =0
virtual const speciesCompositionTable & specieComposition() const =0
A list of keyword definitions, which are a keyword followed by a number of values (eg,...
TypeName("chemistryReader")
A HashTable similar to std::unordered_map.
Pointer management similar to std::unique_ptr, with some additional methods and type checking.
const dictionary & thermoDict
A HashTable of pointers to objects of type <T>, with deallocation management of the pointers.
Macros to ease declaration of run-time selection tables.
virtual const ReactionTable< ThermoType > & speciesThermo() const =0