35 #ifndef chemistryReader_H 36 #define chemistryReader_H 56 template<
class ThermoType>
144 #define makeChemistryReader(Thermo) \ 145 defineTemplateTypeNameAndDebug(chemistryReader<Thermo>, 0); \ 146 defineTemplateRunTimeSelectionTable(chemistryReader<Thermo>, dictionary) 149 #define makeChemistryReaderType(Reader, Thermo) \ 150 defineNamedTemplateTypeNameAndDebug(Reader<Thermo>, 0); \ 151 chemistryReader<Thermo>::adddictionaryConstructorToTable<Reader<Thermo>> \ 152 add##Reader##Thermo##ConstructorToTable_ 156 #define addChemistryReaderType(Reader, Thermo) \ 157 defineTypeNameAndDebug(Reader, 0); \ 158 chemistryReader<Thermo>::adddictionaryConstructorToTable<Reader> \ 159 add##Reader##Thermo##ConstructorToTable_ 163 #define addTemplateChemistryReaderType(Reader, Thermo) \ 164 defineNamedTemplateTypeNameAndDebug(Reader, 0); \ 165 chemistryReader<Thermo>::adddictionaryConstructorToTable<Reader> \ 166 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.
virtual const speciesCompositionTable & specieComposition() const =0
Table of species composition.
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))
HashTable< List< specieElement > > speciesCompositionTable
An STL-conforming hash table.
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.