Abstract base class for the systems of ordinary differential equations. More...
Public Member Functions | |
ODESystem () | |
Construct null. More... | |
virtual | ~ODESystem ()=default |
Destructor. More... | |
virtual label | nEqns () const =0 |
Return the number of equations in the system. More... | |
virtual void | derivatives (const scalar x, const scalarField &y, scalarField &dydx) const =0 |
Calculate the derivatives in dydx. More... | |
virtual void | jacobian (const scalar x, const scalarField &y, scalarField &dfdx, scalarSquareMatrix &dfdy) const =0 |
Calculate the Jacobian of the system. More... | |
Abstract base class for the systems of ordinary differential equations.
Definition at line 43 of file ODESystem.H.
|
inline |
Construct null.
Definition at line 53 of file ODESystem.H.
|
virtualdefault |
Destructor.
|
pure virtual |
Return the number of equations in the system.
Implemented in StandardChemistryModel< ReactionThermo, ThermoType >, StandardChemistryModel< CompType, ThermoType >, solidChemistryModel< CompType, SolidThermo >, pyrolysisChemistryModel< CompType, SolidThermo, GasThermo >, and thermoCoupleProbes.
|
pure virtual |
Calculate the derivatives in dydx.
Implemented in StandardChemistryModel< ReactionThermo, ThermoType >, StandardChemistryModel< CompType, ThermoType >, solidChemistryModel< CompType, SolidThermo >, pyrolysisChemistryModel< CompType, SolidThermo, GasThermo >, TDACChemistryModel< ReactionThermo, ThermoType >, TDACChemistryModel< CompType, ThermoType >, and thermoCoupleProbes.
Referenced by adaptiveSolver::solve().
|
pure virtual |
Calculate the Jacobian of the system.
Need by the stiff-system solvers
Implemented in StandardChemistryModel< ReactionThermo, ThermoType >, StandardChemistryModel< CompType, ThermoType >, solidChemistryModel< CompType, SolidThermo >, TDACChemistryModel< ReactionThermo, ThermoType >, TDACChemistryModel< CompType, ThermoType >, pyrolysisChemistryModel< CompType, SolidThermo, GasThermo >, and thermoCoupleProbes.
Copyright © 2011-2018 OpenFOAM | OPENFOAM® is a registered trademark of OpenCFD Ltd.