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,
ref double[] YH,
int offset_yh,
int LDYH,
ref double[] YH1,
int offset_yh1,
double[] EWT,
int offset_ewt,
ref double[] SAVF,
int offset_savf,
double[] VSAV,
int offset_vsav,
ref double[] ACOR,
int offset_acor,
ref double[] WM,
int offset_wm,
ref int[] IWM,
int offset_iwm,
IFEX F,
IJEX JAC,
IFEX PSOL,
IDVNLSD VNLS,
double[] RPAR,
int offset_rpar,
int[] IPAR,
int offset_ipar
)
Public Sub Run (
ByRef Y As Double(),
offset_y As Integer,
ByRef YH As Double(),
offset_yh As Integer,
LDYH As Integer,
ByRef YH1 As Double(),
offset_yh1 As Integer,
EWT As Double(),
offset_ewt As Integer,
ByRef SAVF As Double(),
offset_savf As Integer,
VSAV As Double(),
offset_vsav As Integer,
ByRef ACOR As Double(),
offset_acor As Integer,
ByRef WM As Double(),
offset_wm As Integer,
ByRef IWM As Integer(),
offset_iwm As Integer,
F As IFEX,
JAC As IJEX,
PSOL As IFEX,
VNLS As IDVNLSD,
RPAR As Double(),
offset_rpar As Integer,
IPAR As Integer(),
offset_ipar As Integer
)
Request Example
View SourceParameters
- Y Double
-
= An array of length N used for the dependent variable vector.
- offset_y Int32
-
- YH Double
-
= An LDYH by LMAX array containing the dependent variables
and their approximate scaled derivatives, where
LMAX = MAXORD + 1. YH(i,j+1) contains the approximate
j-th derivative of y(i), scaled by H**j/factorial(j)
(j = 0,1,...,NQ). On entry for the first step, the first
two columns of YH must be set from the initial values.
- offset_yh Int32
-
- LDYH Int32
-
= A constant integer .ge. N, the first dimension of YH.
N is the number of ODEs in the system.
- YH1 Double
-
= A one-dimensional array occupying the same space as YH.
- offset_yh1 Int32
-
- EWT Double
-
= An array of length N containing multiplicative weights
for local error measurements. Local errors in y(i) are
compared to 1.0/EWT(i) in various error tests.
- offset_ewt Int32
-
- SAVF Double
-
= An array of working storage, of length N.
also used for input of YH(*,MAXORD+2) when JSTART = -1
and MAXORD .lt. the current order NQ.
- offset_savf Int32
-
- VSAV Double
-
= A work array of length N passed to subroutine VNLS.
- offset_vsav Int32
-
- ACOR Double
-
= A work array of length N, used for the accumulated
corrections. On a successful return, ACOR(i) contains
the estimated one-step local error in y(i).
- offset_acor Int32
-
- WM Double
-
- offset_wm Int32
-
- IWM Int32
-
- offset_iwm Int32
-
- F IFEX
-
= Dummy name for the user supplied subroutine for f.
- JAC IJEX
-
= Dummy name for the user supplied Jacobian subroutine.
- PSOL IFEX
-
= Dummy name for the subroutine passed to VNLS, for
possible use there.
- VNLS IDVNLSD
-
= Dummy name for the nonlinear system solving subroutine,
whose real name is dependent on the method used.
- RPAR Double
-
- offset_rpar Int32
-
- IPAR Int32
-
- offset_ipar Int32
-
See Also