OpenFOAM logo
Open Source CFD Toolkit

ODESolver Class Reference

Inheritance diagram for ODESolver:

Inheritance graph
[legend]
Collaboration diagram for ODESolver:

Collaboration graph
[legend]
List of all members.

Public Member Functions

 TypeName ("ODESolver")
 Runtime type information.
 declareRunTimeSelectionTable (autoPtr, ODESolver, ODE,(const ODE &ode),(ode))
 ODESolver (const ODE &ode)
 Construct for given ODE.
virtual ~ODESolver ()
virtual void solve (const ODE &ode, scalar &x, scalarField &y, scalarField &dydx, const scalar eps, const scalarField &yScale, const scalar hTry, scalar &hDid, scalar &hNext) const =0
virtual void solve (const ODE &ode, const scalar xStart, const scalar xEnd, scalarField &y, const scalar eps, scalar &hEst) const

Static Public Member Functions

autoPtr< ODESolver > New (const word &ODESolverTypeName, const ODE &ode)
 Select null constructed.

Protected Member Functions

 ODESolver (const ODESolver &)
 Disallow default bitwise copy construct.
void operator= (const ODESolver &)
 Disallow default bitwise assignment.

Protected Attributes

label n_
scalarField yScale_
scalarField dydx_

Constructor & Destructor Documentation

ODESolver (  const ODESolver &   )  [protected]
 

Disallow default bitwise copy construct.

ODESolver (  const ODE &  ode  ) 
 

Construct for given ODE.

virtual ~ODESolver (   )  [inline, virtual]
 

Definition at line 115 of file ODESolver.H.

References Foam::scalarField, and Foam::solve.


Member Function Documentation

declareRunTimeSelectionTable (  autoPtr  ,
ODESolver  ,
ODE  ,
(const ODE &ode)  ,
(ode) 
) 
 

autoPtr<ODESolver> New (  const word &  ODESolverTypeName,
const ODE &  ode
)  [static]
 

Select null constructed.

void operator= (  const ODESolver &   )  [protected]
 

Disallow default bitwise assignment.

virtual void solve (  const ODE &  ode,
const scalar  xStart,
const scalar  xEnd,
scalarField &  y,
const scalar  eps,
scalar &  hEst
)  const [virtual]
 

virtual void solve (  const ODE &  ode,
scalar &  x,
scalarField &  y,
scalarField &  dydx,
const scalar  eps,
const scalarField &  yScale,
const scalar  hTry,
scalar &  hDid,
scalar &  hNext
)  const [pure virtual]
 

Implemented in KRR4, RK, and SIBS.

TypeName (  "ODESolver"   ) 
 

Runtime type information.


Member Data Documentation

scalarField dydx_ [mutable, protected]
 

Definition at line 67 of file ODESolver.H.

label n_ [protected]
 

Definition at line 65 of file ODESolver.H.

scalarField yScale_ [mutable, protected]
 

Definition at line 66 of file ODESolver.H.


The documentation for this class was generated from the following file:
For further information go to www.openfoam.org