Loading...
Searching...
No Matches
DRG< CompType, ThermoType > Class Template Reference

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

#include <DRG.H>

Inheritance diagram for DRG< CompType, ThermoType >:
Collaboration diagram for DRG< CompType, ThermoType >:

Public Member Functions

 TypeName ("DRG")
 Runtime type information.
 DRG (const IOdictionary &dict, TDACChemistryModel< CompType, ThermoType > &chemistry)
 Construct from components.
virtual ~DRG ()
virtual void reduceMechanism (const scalarField &c, const scalar T, const scalar p)
 Reduce the mechanism.
Public Member Functions inherited from chemistryReductionMethod< CompType, ThermoType >
 TypeName ("chemistryReductionMethod")
 Runtime type information.
 declareRunTimeSelectionTable (autoPtr, chemistryReductionMethod, dictionary,(const IOdictionary &dict, TDACChemistryModel< CompType, ThermoType > &chemistry),(dict, chemistry))
 chemistryReductionMethod (const IOdictionary &dict, TDACChemistryModel< CompType, ThermoType > &chemistry)
 Construct from components.
virtual ~chemistryReductionMethod ()
 Destructor.
bool active () const
 Is mechanism reduction active?
bool log () const
 Is performance data logging enabled?
const List< bool > & activeSpecies () const
 Return the active species.
label NsSimp ()
 Return the number of active species.
label nSpecie ()
 Return the initial number of species.
scalar tolerance () const
 Return the tolerance.

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_
 Dictionary that store the algorithm data.
Switch active_
 Is mechanism reduction active?
Switch log_
 Switch to select performance logging.
TDACChemistryModel< CompType, ThermoType > & chemistry_
List< bool > activeSpecies_
 List of active species (active = true).
label NsSimp_
 Number of active species.
const label nSpecie_
 Number of species.
scalar tolerance_
 Tolerance for the mechanism reduction algorithm.

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()

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

Construct from components.

Definition at line 26 of file DRG.C.

References chemistry, chemistryReductionMethod< CompType, ThermoType >::chemistryReductionMethod(), chemistryReductionMethod< CompType, ThermoType >::coeffsDict_, dict, and dictionary::found().

Here is the call graph for this function:

◆ ~DRG()

template<class CompType, class ThermoType>
~DRG ( )
virtual

Definition at line 58 of file DRG.C.

Member Function Documentation

◆ TypeName()

template<class CompType, class ThermoType>
TypeName ( "DRG< CompType, ThermoType >" )

Runtime type information.

References chemistry, dict, p, and Foam::T().

Here is the call graph for this function:

◆ reduceMechanism()


The documentation for this class was generated from the following files:
  • src/thermophysicalModels/chemistryModel/chemistryModel/TDACChemistryModel/reduction/DRG/DRG.H
  • src/thermophysicalModels/chemistryModel/chemistryModel/TDACChemistryModel/reduction/DRG/DRG.C