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