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(
ref double[] Y,
int offset_y,
double[] YH,
int offset_yh,
int LDYH,
double[] VSAV,
int offset_vsav,
ref double[] SAVF,
int offset_savf,
double[] EWT,
int offset_ewt,
ref double[] ACOR,
int offset_acor,
ref int[] IWM,
int offset_iwm,
ref double[] WM,
int offset_wm,
IFEX F,
IJEX JAC,
IFEX PDUM,
ref int NFLAG,
double[] RPAR,
int offset_rpar,
int[] IPAR,
int offset_ipar
)
Public Sub Run (
ByRef Y As Double(),
offset_y As Integer,
YH As Double(),
offset_yh As Integer,
LDYH As Integer,
VSAV As Double(),
offset_vsav As Integer,
ByRef SAVF As Double(),
offset_savf As Integer,
EWT As Double(),
offset_ewt As Integer,
ByRef ACOR As Double(),
offset_acor As Integer,
ByRef IWM As Integer(),
offset_iwm As Integer,
ByRef WM As Double(),
offset_wm As Integer,
F As IFEX,
JAC As IJEX,
PDUM As IFEX,
ByRef NFLAG As Integer,
RPAR As Double(),
offset_rpar As Integer,
IPAR As Integer(),
offset_ipar As Integer
)
Request Example
View SourceParameters
- Y Double
-
= The dependent variable, a vector of length N, input.
- offset_y Int32
-
- YH Double
-
= The Nordsieck (Taylor) array, LDYH by LMAX, input
and output. On input, it contains predicted values.
- offset_yh Int32
-
- LDYH Int32
-
= A constant .ge. N, the first dimension of YH, input.
- VSAV Double
-
= Unused work array.
- offset_vsav Int32
-
- SAVF Double
-
= A work array of length N.
- offset_savf Int32
-
- EWT Double
-
= An error weight vector of length N, input.
- offset_ewt Int32
-
- ACOR Double
-
= A work array of length N, used for the accumulated
corrections to the predicted y vector.
- offset_acor Int32
-
- IWM Int32
-
- offset_iwm Int32
-
- WM Double
-
- offset_wm Int32
-
- F IFEX
-
= Dummy name for user supplied routine for f.
- JAC IJEX
-
= Dummy name for user supplied Jacobian routine.
- PDUM IFEX
-
= Unused dummy subroutine name. Included for uniformity
over collection of integrators.
- NFLAG Int32
-
= Input/output flag, with values and meanings as follows:
INPUT
0 first call for this time step.
-1 convergence failure in previous call to DVNLSD.
-2 error test failure in DVSTEP.
OUTPUT
0 successful completion of nonlinear solver.
-1 convergence failure or singular matrix.
-2 unrecoverable error in matrix preprocessing
(cannot occur here).
-3 unrecoverable error in solution (cannot occur
here).
- RPAR Double
-
- offset_rpar Int32
-
- IPAR Int32
-
- offset_ipar Int32
-
Implements
IDVNLSDRun(Double, Int32, Double, Int32, Int32, Double, Int32, Double, Int32, Double, Int32, Double, Int32, Int32, Int32, Double, Int32, IFEX, IJEX, IFEX, Int32, Double, Int32, Int32, Int32)See Also