IExternalODESolverSolve Method

Computes the solution of the ordinary differential equations.

Definition

Namespace: DWSIM.Interfaces
Assembly: DWSIM.Interfaces (in DWSIM.Interfaces.dll) Version: 10.0.0.0
void Solve(
	double[] y0,
	double x0,
	double deltax,
	double xf,
	Action<double, double[]> odesolution,
	double tolerance
)

Parameters

y0  Double
A vector of size N containing the initial conditions. N is the number of differential equations.
x0  Double
The initial independent variable value.
deltax  Double
The step for the interval of integration (x0, x0+deltax, x0+2*deltax,...,xf).
xf  Double
The final independent variable value.
odesolution  ActionDouble, Double
A delegate where to return the solution.
tolerance  Double
Tolerance for solution.

See Also