Abstract class for reading chemistry. More...
Public Types | |
typedef ThermoType | thermoType |
The type of thermo package the reader was instantiated for. More... | |
Public Member Functions | |
TypeName ("chemistryReader") | |
Runtime type information. More... | |
chemistryReader () | |
Construct null. More... | |
declareRunTimeSelectionTable (autoPtr, chemistryReader, dictionary,(const dictionary &thermoDict, speciesTable &species),(thermoDict, species)) | |
virtual | ~chemistryReader () |
Destructor. More... | |
virtual const speciesTable & | species () const =0 |
Return access to the list of species. More... | |
virtual const HashPtrTable< ThermoType > & | speciesThermo () const =0 |
Return access to the thermo packages. More... | |
virtual const ReactionList< ThermoType > & | reactions () const =0 |
Return access to the list of reactions. More... | |
Static Public Member Functions | |
static autoPtr< chemistryReader > | New (const dictionary &thermoDict, speciesTable &species) |
Select constructed from dictionary. More... | |
Abstract class for reading chemistry.
Definition at line 52 of file chemistryReader.H.
typedef ThermoType thermoType |
The type of thermo package the reader was instantiated for.
Definition at line 69 of file chemistryReader.H.
|
inline |
Construct null.
Definition at line 75 of file chemistryReader.H.
|
inlinevirtual |
Destructor.
Definition at line 105 of file chemistryReader.H.
TypeName | ( | "chemistryReader< ThermoType >" | ) |
Runtime type information.
declareRunTimeSelectionTable | ( | autoPtr | , |
chemistryReader< ThermoType > | , | ||
dictionary | , | ||
(const dictionary &thermoDict, speciesTable &species) | , | ||
(thermoDict, species) | |||
) |
Referenced by chemistryReader< gasHThermoPhysics >::chemistryReader().
|
static |
Select constructed from dictionary.
Definition at line 33 of file chemistryReader.C.
References Foam::endl(), Foam::exit(), Foam::FatalError, FatalErrorInFunction, Foam::Info, Foam::nl, and dictionary::readIfPresent().
Referenced by chemistryReader< gasHThermoPhysics >::chemistryReader().
|
pure virtual |
Return access to the list of species.
Implemented in chemkinReader, and foamChemistryReader< ThermoType >.
Referenced by chemistryReader< gasHThermoPhysics >::chemistryReader(), and chemistryReader< gasHThermoPhysics >::~chemistryReader().
|
pure virtual |
Return access to the thermo packages.
Implemented in chemkinReader, and foamChemistryReader< ThermoType >.
Referenced by chemistryReader< gasHThermoPhysics >::~chemistryReader().
|
pure virtual |
Return access to the list of reactions.
Implemented in chemkinReader, and foamChemistryReader< ThermoType >.
Referenced by chemistryReader< gasHThermoPhysics >::~chemistryReader().