Click or drag to resize

RungeKutta45OdeSolverOptions Class

User settable options for RungeKutta45OdeSolver.
Inheritance Hierarchy
SystemObject
  CenterSpace.NMath.CoreRungeKutta45OdeSolverOptions

Namespace:  CenterSpace.NMath.Core
Assembly:  NMath (in NMath.dll) Version: 7.3
Syntax
public class Options

The RungeKutta45OdeSolverOptions type exposes the following members.

Constructors
  NameDescription
Public methodRungeKutta45OdeSolverOptions
Constructs an Options instance using default values for all properties.
Top
Properties
  NameDescription
Public propertyAbsoluteTolerance
Bound on the estimated error at each integration step. At the ith integration step the error, e[i] for the estimated solution y[i] satisfies e[i] <= max(RelativeTolerance*Math.Abs(y[i]), AbsoluteTolerance[i])
Public propertyInitialStepSize
Suggested initial step size. The solver will try this first. By default the solver determines an initial step size automatically.
Public propertyMassMatrix
Gets and sets the Mass matrix M for problems of the form M*y' = F(t,y) where M is a matrix of constant values.
Public propertyMassMatrixFunction
Gets and sets the time-state dependent Mass matrix M(t,y) for problems of the form M(t,y)*y' = F(t,y)
Public propertyMaxStepSize
Upper bound on step size. Defaults to one-tenth of the times span interval.
Public propertyNormControl
Control error relative to norm of solution. If true the solver controls the error, e, in the solution, y, at each integration step by norm(e) <= max(RelativeTolerance*norm(y), AbsoluteTolerance) Default value is false.
Public propertyOutputFunction
Delegate for the output function.
Public propertyRefine
Increases the number of output points by the specified factor producing smoother output. If Refine is n which is greater than 1, the solver subdivides each time step into n smaller intervals and returns solutions at each time point. The extra values produced for Refine are computed by means of continuous extension formulas The default for RungeKutta45OdeSolver solver is 4.
Public propertyRelativeTolerance
Bound on the estimated error at each integration step. At the ith integration step the error, e[i] for the estimated solution y[i] satisfies e[i] <= max(RelativeTolerance*Math.Abs(y[i]), AbsoluteTolerance[i])
Top
Fields
  NameDescription
Public fieldStatic memberDefaultAbsTolerance
Default value for the absolute error tolerance.
Top
See Also