IExternalODESolverInitializeODEs Method

Method that initializes the ODE to solve.

Definition

Namespace: DWSIM.Interfaces
Assembly: DWSIM.Interfaces (in DWSIM.Interfaces.dll) Version: 10.0.0.0
void InitializeODEs(
	Func<double, double[], double[]> odefunc,
	int n,
	double x0,
	double[] y0
)

Parameters

odefunc  FuncDouble, Double, Double
A function that evaluates the right side of the differential equations.
n  Int32
The number of differential equations.
x0  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.

See Also