Click or drag to resize

xOdeBaseSetInitialValues Method

Sets the initial values for the differential equations.

Namespace: DotNumerics.ODE
Assembly: DWSIM.MathOps.DotNumerics (in DWSIM.MathOps.DotNumerics.dll) Version: 1.0.0.0 (1.0.0.0)
Syntax
public virtual void SetInitialValues(
	double t0,
	double[] y0
)
Request Example View Source

Parameters

t0  Double
The initial value for the independent variable.
y0  Double
A vector of size N containing the initial conditions. N is the number of differential equations.
Remarks
This method should be invoked before to start the integration. When this method is invoked, the ODE solver is restarted.
See Also