ODESystem Class Referenceabstract

Abstract base class for the systems of ordinary differential equations. More...

Inheritance diagram for ODESystem:
[legend]

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...
 

Detailed Description

Abstract base class for the systems of ordinary differential equations.

Definition at line 49 of file ODESystem.H.

Constructor & Destructor Documentation

◆ ODESystem()

ODESystem ( )
inline

Construct null.

Definition at line 57 of file ODESystem.H.

◆ ~ODESystem()

virtual ~ODESystem ( )
virtualdefault

Destructor.

Member Function Documentation

◆ nEqns()

◆ derivatives()

virtual void derivatives ( const scalar  x,
const scalarField y,
scalarField dydx 
) const
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().

Here is the caller graph for this function:

◆ jacobian()


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