Click or drag to resize

OdeExplicitRungeKutta45 Class

Solves an initial-value problem for nonstiff ordinary differential equations using the explicit Runge-Kutta method of order (4)5. dy(i)/dt = f(i,t,y(1),y(2),...,y(N)).
Inheritance Hierarchy
SystemObject
  DotNumerics.ODExOdeBase
    DotNumerics.ODExBaseOdeRungeKutta
      DotNumerics.ODEOdeExplicitRungeKutta45

Namespace: DotNumerics.ODE
Assembly: DWSIM.MathOps.DotNumerics (in DWSIM.MathOps.DotNumerics.dll) Version: 1.0.0.0 (1.0.0.0)
Syntax
public sealed class OdeExplicitRungeKutta45 : xBaseOdeRungeKutta
Request Example View Source

The OdeExplicitRungeKutta45 type exposes the following members.

Constructors
 NameDescription
Public methodOdeExplicitRungeKutta45 Initializes a new instance of the OdeExplicitRungeKutta45 class.
Public methodOdeExplicitRungeKutta45(OdeFunction, Int32) Initializes a new instance of the OdeExplicitRungeKutta45 class.
Top
Properties
 NameDescription
Public propertyAbsTol An absolute error tolerance parameter
(Inherited from xOdeBase)
Public propertyAbsTolArray An absolute error tolerance array (length numEquations).
(Inherited from xOdeBase)
Public propertyErrorToleranceType Specifies the type of the relative error and absolute error tolerances.
(Inherited from xOdeBase)
Public propertyRelTol A relative error tolerance parameter.
(Inherited from xOdeBase)
Public propertyRelTolArray A relative error tolerance array ( length numEquations).
(Inherited from xOdeBase)
Top
Methods
 NameDescription
Public methodInitializeODEs(OdeFunction, Int32) Method that initialize the ODE to solve.
(Overrides xOdeBaseInitializeODEs(OdeFunction, Int32))
Public methodInitializeODEs(OdeFunction, Int32, Double, Double) Method that initialize the ODE to solve.
(Overrides xOdeBaseInitializeODEs(OdeFunction, Int32, Double, Double))
Public methodSetInitialValues Sets the initial values for the differential equations.
(Inherited from xOdeBase)
Public methodSolve(Double, Double) Computes the solution of the differntial equations.
(Inherited from xBaseOdeRungeKutta)
Public methodSolve(Double, Double, OdeSolution) Computes the solution of the differntial equations.
(Inherited from xBaseOdeRungeKutta)
Public methodSolve(Double, Double, Double, Double) Computes the solution of the differntial equations.
(Inherited from xBaseOdeRungeKutta)
Public methodSolve(Double, Double, Double, Double, OdeSolution) Computes the solution of the differntial equations.
(Inherited from xBaseOdeRungeKutta)
Top
Fields
Extension Methods
 NameDescription
Public Extension MethodGetEnumNames
(Defined by General)
Public Extension MethodIsValidDouble
(Defined by General)
Top
See Also