Public Member Functions | List of all members

A semi-implicit mid-point solver for stiff systems of ordinary differential equations. More...

Inheritance diagram for SIBS:
Inheritance graph
[legend]
Collaboration diagram for SIBS:
Collaboration graph
[legend]

Public Member Functions

 TypeName ("SIBS")
 
 SIBS (const ODESystem &ode, const dictionary &dict)
 
virtual ~SIBS ()=default
 
virtual bool resize ()
 
virtual void solve (scalar &x, scalarField &y, scalar &dxTry) const
 
- Public Member Functions inherited from ODESolver
 TypeName ("ODESolver")
 
 declareRunTimeSelectionTable (autoPtr, ODESolver, dictionary,(const ODESystem &ode, const dictionary &dict),(ode, dict))
 
 ODESolver (const ODESystem &ode, const dictionary &dict)
 
 ODESolver (const ODESystem &ode, const scalarField &absTol, const scalarField &relTol)
 
virtual ~ODESolver ()=default
 
label nEqns () const
 
scalarFieldabsTol ()
 
scalarFieldrelTol ()
 
template<class Type >
void resizeField (UList< Type > &f) const
 
void resizeMatrix (scalarSquareMatrix &m) const
 
virtual void solve (scalar &x, scalarField &y, stepState &step) const
 
virtual void solve (const scalar xStart, const scalar xEnd, scalarField &y, scalar &dxEst) const
 

Additional Inherited Members

- Static Public Member Functions inherited from ODESolver
static autoPtr< ODESolverNew (const ODESystem &ode, const dictionary &dict)
 
template<class Type >
static void resizeField (UList< Type > &f, const label n)
 
- Protected Member Functions inherited from ODESolver
scalar normalizeError (const scalarField &y0, const scalarField &y, const scalarField &err) const
 
 ODESolver (const ODESolver &)=delete
 
void operator= (const ODESolver &)=delete
 
- Protected Attributes inherited from ODESolver
const ODESystemodes_
 
const label maxN_
 
label n_
 
scalarField absTol_
 
scalarField relTol_
 
label maxSteps_
 

Detailed Description

A semi-implicit mid-point solver for stiff systems of ordinary differential equations.

Reference:

    Bader, G., & Deuflhard, P. (1983).
    A semi-implicit mid-point rule for stiff systems
    of ordinary differential equations.
    Numerische Mathematik, 41(3), 373-398.
Source files

Definition at line 60 of file SIBS.H.

Constructor & Destructor Documentation

◆ SIBS()

SIBS ( const ODESystem ode,
const dictionary dict 
)

Definition at line 45 of file SIBS.C.

◆ ~SIBS()

virtual ~SIBS ( )
virtualdefault

Member Function Documentation

◆ TypeName()

TypeName ( "SIBS"  )

◆ resize()

bool resize ( )
virtual

Implements ODESolver.

Definition at line 67 of file SIBS.C.

References ODESolver::resize().

Here is the call graph for this function:

◆ solve()

void solve ( scalar &  x,
scalarField y,
scalar &  dxTry 
) const
virtual

Reimplemented from ODESolver.

Definition at line 86 of file SIBS.C.

References Foam::exit(), Foam::FatalError, FatalErrorInFunction, Foam::constant::universal::h, k, Foam::mag(), Foam::max(), Foam::min(), Foam::pow(), Foam::sqr(), x, and y.

Here is the call graph for this function:

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