The OpenFOAM Foundation
ODESystem Class Referenceabstract

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

Inheritance diagram for ODESystem:

## Public Member Functions

ODESystem ()
Construct null. More...

virtual ~ODESystem ()
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, const label li, scalarField &dydx) const =0
Calculate the derivatives in dydx. More...

virtual void jacobian (const scalar x, const scalarField &y, const label li, 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 46 of file ODESystem.H.

## ◆ ODESystem()

 ODESystem ( )
inline

Construct null.

Definition at line 54 of file ODESystem.H.

## ◆ ~ODESystem()

 virtual ~ODESystem ( )
inlinevirtual

Destructor.

Definition at line 59 of file ODESystem.H.

References ODESystem::derivatives(), ODESystem::jacobian(), ODESystem::nEqns(), x, and y.

Here is the call graph for this function:

## ◆ nEqns()

 virtual label nEqns ( ) const
pure virtual

Return the number of equations in the system.

Referenced by ODESolver::resize(), and ODESystem::~ODESystem().

Here is the caller graph for this function:

## ◆ derivatives()

 virtual void derivatives ( const scalar x, const scalarField & y, const label li, scalarField & dydx ) const
pure virtual

Calculate the derivatives in dydx.

for the current state x and y and optional index into the list of systems to solve li

Here is the caller graph for this function:

## ◆ jacobian()

 virtual void jacobian ( const scalar x, const scalarField & y, const label li, scalarField & dfdx, scalarSquareMatrix & dfdy ) const
pure virtual

Calculate the Jacobian of the system.

for the current state x and y and optional index into the list of systems to solve li. Need by stiff-system solvers

Here is the caller graph for this function:

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