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 solidChemistryModel< CompType, SolidThermo >, StandardChemistryModel< ReactionThermo, ThermoType >, pyrolysisChemistryModel< CompType, SolidThermo, GasThermo >, and thermoCoupleProbes.
|
pure virtual |
Calculate the derivatives in dydx.
Implemented in thermoCoupleProbes, solidChemistryModel< CompType, SolidThermo >, StandardChemistryModel< ReactionThermo, ThermoType >, and pyrolysisChemistryModel< CompType, SolidThermo, GasThermo >.
Referenced by adaptiveSolver::solve().
|
pure virtual |
Calculate the Jacobian of the system.
Need by the stiff-system solvers
Implemented in thermoCoupleProbes, solidChemistryModel< CompType, SolidThermo >, StandardChemistryModel< ReactionThermo, ThermoType >, and pyrolysisChemistryModel< CompType, SolidThermo, GasThermo >.