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 49 of file ODESystem.H.
|
inline |
Construct null.
Definition at line 57 of file ODESystem.H.
|
virtualdefault |
Destructor.
|
pure virtual |
Return the number of equations in the system.
Implemented in thermoCoupleProbes, StandardChemistryModel< ReactionThermo, ThermoType >, StandardChemistryModel< CompType, ThermoType >, pyrolysisChemistryModel< CompType, SolidThermo, GasThermo >, and solidChemistryModel< CompType, SolidThermo >.
|
pure virtual |
Calculate the derivatives in dydx.
Implemented in StandardChemistryModel< ReactionThermo, ThermoType >, StandardChemistryModel< CompType, ThermoType >, TDACChemistryModel< ReactionThermo, ThermoType >, TDACChemistryModel< CompType, ThermoType >, pyrolysisChemistryModel< CompType, SolidThermo, GasThermo >, solidChemistryModel< CompType, SolidThermo >, 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 >, TDACChemistryModel< ReactionThermo, ThermoType >, TDACChemistryModel< CompType, ThermoType >, pyrolysisChemistryModel< CompType, SolidThermo, GasThermo >, solidChemistryModel< CompType, SolidThermo >, and thermoCoupleProbes.