An ODE solver for chemistry. More...
#include <chemistryModel/ode.H>
An ODE solver for chemistry.
Inheritance diagram for ode< CompType, ThermoType >:
Collaboration diagram for ode< CompType, ThermoType >:Public Member Functions | |
| TypeName ("ODE") | |
| Runtime type information. | |
| ode (ODEChemistryModel< CompType, ThermoType > &model, const word &modelName) | |
| Construct from components. | |
| virtual | ~ode () |
| Destructor. | |
| scalar | solve (scalarField &c, const scalar T, const scalar p, const scalar t0, const scalar dt) const |
| Update the concentrations and return the chemical time. | |
Public Member Functions inherited from chemistrySolver< CompType, ThermoType > | |
| TypeName ("chemistrySolver") | |
| Runtime type information. | |
| declareRunTimeSelectionTable (autoPtr, chemistrySolver, dictionary,(ODEChemistryModel< CompType, ThermoType > &model, const word &modelName),(model, modelName)) | |
| chemistrySolver (ODEChemistryModel< CompType, ThermoType > &model, const word &modelName) | |
| Construct from components. | |
| virtual | ~chemistrySolver () |
| Destructor. | |
Additional Inherited Members | |
Static Public Member Functions inherited from chemistrySolver< CompType, ThermoType > | |
| static autoPtr< chemistrySolver > | New (ODEChemistryModel< CompType, ThermoType > &model, const word &compTypeName, const word &thermoTypeName) |
| Selector. | |
Protected Attributes inherited from chemistrySolver< CompType, ThermoType > | |
| ODEChemistryModel< CompType, ThermoType > & | model_ |
| Reference to the chemistry model. | |
| const word | name_ |
| Name of the chemistry solver. | |
| ode | ( | ODEChemistryModel< CompType, ThermoType > & | model, |
| const word & | modelName | ||
| ) |
| TypeName | ( | "ODE" | ) |
Runtime type information.
|
virtual |
Update the concentrations and return the chemical time.
Implements chemistrySolver< CompType, ThermoType >.
Definition at line 58 of file ode.C.
References Foam::max(), p, List< T >::size(), and T.