Namespace: DotNumerics.ODE.DVodeAssembly: DWSIM.MathOps.DotNumerics (in DWSIM.MathOps.DotNumerics.dll) Version: 1.0.0.0 (1.0.0.0)
Syntax public void Run(
int N,
double T0,
double[] Y0,
int offset_y0,
double[] YDOT,
int offset_ydot,
IFEX F,
double[] RPAR,
int offset_rpar,
int[] IPAR,
int offset_ipar,
double TOUT,
double UROUND,
double[] EWT,
int offset_ewt,
int ITOL,
double[] ATOL,
int offset_atol,
ref double[] Y,
int offset_y,
ref double[] TEMP,
int offset_temp,
ref double H0,
ref int NITER,
ref int IER
)
Public Sub Run (
N As Integer,
T0 As Double,
Y0 As Double(),
offset_y0 As Integer,
YDOT As Double(),
offset_ydot As Integer,
F As IFEX,
RPAR As Double(),
offset_rpar As Integer,
IPAR As Integer(),
offset_ipar As Integer,
TOUT As Double,
UROUND As Double,
EWT As Double(),
offset_ewt As Integer,
ITOL As Integer,
ATOL As Double(),
offset_atol As Integer,
ByRef Y As Double(),
offset_y As Integer,
ByRef TEMP As Double(),
offset_temp As Integer,
ByRef H0 As Double,
ByRef NITER As Integer,
ByRef IER As Integer
)
Request Example
View SourceParameters
- N Int32
-
= Size of ODE system, input.
- T0 Double
-
= Initial value of independent variable, input.
- Y0 Double
-
= Vector of initial conditions, input.
- offset_y0 Int32
-
- YDOT Double
-
= Vector of initial first derivatives, input.
- offset_ydot Int32
-
- F IFEX
-
= Name of subroutine for right-hand side f(t,y), input.
- RPAR Double
-
- offset_rpar Int32
-
- IPAR Int32
-
- offset_ipar Int32
-
- TOUT Double
-
= First output value of independent variable
- UROUND Double
-
= Machine unit roundoff
- EWT Double
-
- offset_ewt Int32
-
- ITOL Int32
-
- ATOL Double
-
- offset_atol Int32
-
- Y Double
-
- offset_y Int32
-
- TEMP Double
-
- offset_temp Int32
-
- H0 Double
-
= Step size to be attempted, output.
- NITER Int32
-
= Number of iterations (and of f evaluations) to compute H0,
output.
- IER Int32
-
= The error flag, returned with the value
IER = 0 if no trouble occurred, or
IER = -1 if TOUT and T0 are considered too close to proceed.
See Also