Public Member Functions | List of all members
DRG< CompType, ThermoType > Class Template Reference

Implementation of the Directed Relation Graph (DRG) method. More...

Inheritance diagram for DRG< CompType, ThermoType >:
Inheritance graph
[legend]
Collaboration diagram for DRG< CompType, ThermoType >:
Collaboration graph
[legend]

Public Member Functions

 TypeName ("DRG")
 
 DRG (const IOdictionary &dict, TDACChemistryModel< CompType, ThermoType > &chemistry)
 
virtual ~DRG ()
 
virtual void reduceMechanism (const scalarField &c, const scalar T, const scalar p)
 
- Public Member Functions inherited from chemistryReductionMethod< CompType, ThermoType >
 TypeName ("chemistryReductionMethod")
 
 declareRunTimeSelectionTable (autoPtr, chemistryReductionMethod, dictionary,(const IOdictionary &dict, TDACChemistryModel< CompType, ThermoType > &chemistry),(dict, chemistry))
 
 chemistryReductionMethod (const IOdictionary &dict, TDACChemistryModel< CompType, ThermoType > &chemistry)
 
virtual ~chemistryReductionMethod ()
 
bool active () const
 
bool log () const
 
const List< bool > & activeSpecies () const
 
label NsSimp ()
 
label nSpecie ()
 
scalar tolerance () const
 

Additional Inherited Members

- Static Public Member Functions inherited from chemistryReductionMethod< CompType, ThermoType >
static autoPtr< chemistryReductionMethod< CompType, ThermoType > > New (const IOdictionary &dict, TDACChemistryModel< CompType, ThermoType > &chemistry)
 
- Protected Attributes inherited from chemistryReductionMethod< CompType, ThermoType >
const IOdictionarydict_
 
const dictionary coeffsDict_
 
Switch active_
 
Switch log_
 
TDACChemistryModel< CompType, ThermoType > & chemistry_
 
List< boolactiveSpecies_
 
label NsSimp_
 
const label nSpecie_
 
scalar tolerance_
 

Detailed Description

template<class CompType, class ThermoType>
class Foam::chemistryReductionMethods::DRG< CompType, ThermoType >

Implementation of the Directed Relation Graph (DRG) method.

Source files

Definition at line 49 of file DRG.H.

Constructor & Destructor Documentation

◆ DRG()

DRG ( const IOdictionary dict,
TDACChemistryModel< CompType, ThermoType > &  chemistry 
)

Definition at line 27 of file DRG.C.

References chemistry, Foam::exit(), Foam::FatalError, FatalErrorInFunction, dictionary::found(), and dictionary::subDict().

Here is the call graph for this function:

◆ ~DRG()

~DRG
virtual

Definition at line 58 of file DRG.C.

Member Function Documentation

◆ TypeName()

TypeName ( "DRG< CompType, ThermoType >"  )

◆ reduceMechanism()

void reduceMechanism ( const scalarField c,
const scalar  T,
const scalar  p 
)
virtual

The documentation for this class was generated from the following files: