Go to the documentation of this file.
35 #ifndef chemistryReader_H
36 #define chemistryReader_H
52 template<
class ThermoType>
137 #define makeChemistryReader(Thermo) \
138 defineTemplateTypeNameAndDebug(chemistryReader<Thermo>, 0); \
139 defineTemplateRunTimeSelectionTable(chemistryReader<Thermo>, dictionary)
142 #define makeChemistryReaderType(Reader, Thermo) \
143 defineNamedTemplateTypeNameAndDebug(Reader<Thermo>, 0); \
144 chemistryReader<Thermo>::adddictionaryConstructorToTable<Reader<Thermo> > \
145 add##Reader##Thermo##ConstructorToTable_
149 #define addChemistryReaderType(Reader, Thermo) \
150 defineTypeNameAndDebug(Reader, 0); \
151 chemistryReader<Thermo>::adddictionaryConstructorToTable<Reader> \
152 add##Reader##Thermo##ConstructorToTable_
156 #define addTemplateChemistryReaderType(Reader, Thermo) \
157 defineNamedTemplateTypeNameAndDebug(Reader, 0); \
158 chemistryReader<Thermo>::adddictionaryConstructorToTable<Reader> \
159 add##Reader##Thermo##ConstructorToTable_
Abstract class for reading chemistry.
virtual const HashPtrTable< ThermoType > & speciesThermo() const =0
Return access to the thermo packages.
declareRunTimeSelectionTable(autoPtr, chemistryReader, dictionary,(const dictionary &thermoDict, speciesTable &species),(thermoDict, species))
virtual ~chemistryReader()
Destructor.
ThermoType thermoType
The type of thermo package the reader was instantiated for.
List of templated reactions.
A wordList with hashed indices for faster lookup by name.
virtual const speciesTable & species() const =0
Return access to the list of species.
static autoPtr< chemistryReader > New(const dictionary &thermoDict, speciesTable &species)
Select constructed from dictionary.
virtual const ReactionList< ThermoType > & reactions() const =0
Return access to the list of reactions.
A list of keyword definitions, which are a keyword followed by any number of values (e....
TypeName("chemistryReader")
Runtime type information.
An auto-pointer similar to the STL auto_ptr but with automatic casting to a reference to the type and...
chemistryReader()
Construct null.
Macros to ease declaration of run-time selection tables.
void operator=(const chemistryReader &)
Disallow default bitwise assignment.