Click or drag to resize

VariableOrderOdeSolverOptions Class

Class containing available options for the VariableOrderOdeSolver.
Inheritance Hierarchy
SystemObject
  CenterSpace.NMath.CoreVariableOrderOdeSolverOptions

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

The VariableOrderOdeSolverOptions type exposes the following members.

Constructors
  NameDescription
Public methodVariableOrderOdeSolverOptions
Constructs a VariableOrderOdeSolver.Options instance, setting all options to their default.
Top
Properties
  NameDescription
Public propertyAbsoluteTolerance
Gets and sets the bound on the estimated error at each integration step.
Public propertyConstantJacobian
Gets and sets a matrix which is the constant Jacobian of the function f in the differential equation y' = f(t,y). If no matrix is specified the algorithm will check to see if a jacobian function is specified and if so use it. Otherwise jacobian is numerically computed.
Public propertyInitialStepSize
Suggested initial step size. The solver will try this first. By default the solver determines an initial step size automatically.
Public propertyJacobianFunction
Gets and sets a function for computing the Jacobian of the function f in the differential equation y' = f(t,y). If no function is specified the algorithm will check to see if a constant jacobian is specified and if so use it. Otherwise jacobian is numerically computed.
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 propertyMaxOrder
Maximum order formula used to compute the solution. Default value is 5;
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
Gets and sets the 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])
Public propertyUseBackwardDifferention
Rosenbrock32stiff is a variable-order solver for stiff problems. It is based on the numerical differentiation formulas (NDFs). The NDFs are generally more efficient than the closely related family of backward differentiation formulas (BDFs), also known as Gear's methods. The ode15s properties let you choose among these formulas, as well as specifying the maximum order for the formula used.
Top
Fields
  NameDescription
Public fieldStatic memberDefaultAbsTolerance
Default value for the absolute error tolerance.
Top
See Also