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_ ThermoType thermoType
The type of thermo package the reader was instantiated for.
A list of keyword definitions, which are a keyword followed by any number of values (e...
virtual const speciesTable & species() const =0
Return access to the list of species.
virtual const HashPtrTable< ThermoType > & speciesThermo() const =0
Return access to the thermo packages.
chemistryReader()
Construct null.
TypeName("chemistryReader")
Runtime type information.
virtual const ReactionList< ThermoType > & reactions() const =0
Return access to the list of reactions.
declareRunTimeSelectionTable(autoPtr, chemistryReader, dictionary,(const dictionary &thermoDict, speciesTable &species),(thermoDict, species))
static autoPtr< chemistryReader > New(const dictionary &thermoDict, speciesTable &species)
Select constructed from dictionary.
List of templated reactions.
A wordList with hashed indices for faster lookup by name.
An auto-pointer similar to the STL auto_ptr but with automatic casting to a reference to the type and...
Macros to ease declaration of run-time selection tables.
Abstract class for reading chemistry.
virtual ~chemistryReader()
Destructor.