xOdeBaseSetInitialValues Method |
Sets the initial values for the differential equations.
Namespace: DotNumerics.ODEAssembly: 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
)
Public Overridable Sub SetInitialValues (
t0 As Double,
y0 As Double()
)
Request Example
View SourceParameters
- 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