none< ThermoType > Class Template Reference

A chemistryReductionMethod which does nothing to allow reduction to be switched-off. More...

Inheritance diagram for none< ThermoType >:
Collaboration diagram for none< ThermoType >:

Public Member Functions

 TypeName ("none")
 Runtime type information. More...
 
 none (const IOdictionary &dict, chemistryModel< ThermoType > &chemistry)
 Construct from components. More...
 
virtual ~none ()
 Destructor. More...
 
virtual bool active () const
 Return mechanism reduction inactive. More...
 
virtual void reduceMechanism (const scalar p, const scalar T, const scalarField &c, List< label > &ctos, DynamicList< label > &stoc, const label li)
 Reduce the mechanism. More...
 
virtual void update ()
 ... More...
 
- Public Member Functions inherited from chemistryReductionMethod< ThermoType >
 TypeName ("chemistryReductionMethod")
 Runtime type information. More...
 
 declareRunTimeSelectionTable (autoPtr, chemistryReductionMethod, dictionary,(const IOdictionary &dict, chemistryModel< ThermoType > &chemistry),(dict, chemistry))
 
 chemistryReductionMethod (chemistryModel< ThermoType > &chemistry)
 Construct from components. More...
 
 chemistryReductionMethod (const IOdictionary &dict, chemistryModel< ThermoType > &chemistry)
 Construct from components. More...
 
virtual ~chemistryReductionMethod ()
 Destructor. More...
 
label nSpecie ()
 Return the number of species. More...
 
label nActiveSpecies () const
 Return the number of active species. More...
 
scalar tolerance () const
 Return the tolerance. More...
 
const List< bool > & activeSpecies () const
 Return the active species. More...
 
bool reactionDisabled (const label i) const
 Return whether or not a reaction is disabled. More...
 

Additional Inherited Members

- Static Public Member Functions inherited from chemistryReductionMethod< ThermoType >
static autoPtr< chemistryReductionMethod< ThermoType > > New (const IOdictionary &dict, chemistryModel< ThermoType > &chemistry)
 
- Protected Member Functions inherited from chemistryReductionMethod< ThermoType >
void initReduceMechanism ()
 Protected Member Functions. More...
 
void endReduceMechanism (List< label > &ctos, DynamicList< label > &stoc)
 End reduction of the mechanism. More...
 
- Protected Attributes inherited from chemistryReductionMethod< ThermoType >
const dictionary coeffsDict_
 Dictionary that store the algorithm data. More...
 
chemistryModel< ThermoType > & chemistry_
 Reference to the chemistry model. More...
 
const label nSpecie_
 Total number of species. More...
 
label nActiveSpecies_
 Number of active species. More...
 
Field< boolreactionsDisabled_
 List of disabled reactions (disabled = true) More...
 
List< boolactiveSpecies_
 List of active species (active = true) More...
 

Detailed Description

template<class ThermoType>
class Foam::chemistryReductionMethods::none< ThermoType >

A chemistryReductionMethod which does nothing to allow reduction to be switched-off.

Source files

Definition at line 52 of file noChemistryReduction.H.

Constructor & Destructor Documentation

◆ none()

none ( const IOdictionary dict,
chemistryModel< ThermoType > &  chemistry 
)

Construct from components.

Definition at line 32 of file noChemistryReduction.C.

◆ ~none()

~none ( )
virtual

Destructor.

Definition at line 44 of file noChemistryReduction.C.

References none< ThermoType >::reduceMechanism().

Here is the call graph for this function:

Member Function Documentation

◆ TypeName()

TypeName ( "none< ThermoType >"  )

Runtime type information.

◆ active()

virtual bool active ( ) const
inlinevirtual

Return mechanism reduction inactive.

Reimplemented from chemistryReductionMethod< ThermoType >.

Definition at line 80 of file noChemistryReduction.H.

References Foam::constant::universal::c, p, none< ThermoType >::reduceMechanism(), and Foam::T().

Here is the call graph for this function:

◆ reduceMechanism()

void reduceMechanism ( const scalar  p,
const scalar  T,
const scalarField c,
List< label > &  ctos,
DynamicList< label > &  stoc,
const label  li 
)
virtual

Reduce the mechanism.

Implements chemistryReductionMethod< ThermoType >.

Definition at line 52 of file noChemistryReduction.C.

References NotImplemented.

Referenced by none< ThermoType >::active(), and none< ThermoType >::~none().

Here is the caller graph for this function:

◆ update()

virtual void update ( )
inlinevirtual

...

Reimplemented from chemistryReductionMethod< ThermoType >.

Definition at line 96 of file noChemistryReduction.H.


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