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[] WM,
int offset_wm,
int[] IWM,
int offset_iwm,
ref double[] X,
int offset_x,
ref int IERSL
)
Public Sub Run (
ByRef WM As Double(),
offset_wm As Integer,
IWM As Integer(),
offset_iwm As Integer,
ByRef X As Double(),
offset_x As Integer,
ByRef IERSL As Integer
)
Request Example
View SourceParameters
- WM Double
-
= Real work space containing the inverse diagonal matrix if
MITER = 3 and the LU decomposition of the matrix otherwise.
Storage of matrix elements starts at WM(3).
WM also contains the following matrix-related data:
WM(1) = SQRT(UROUND) (not used here),
WM(2) = HRL1, the previous value of H*RL1, used if MITER = 3.
- offset_wm Int32
-
- IWM Int32
-
= Integer work space containing pivot information, starting at
IWM(31), if MITER is 1, 2, 4, or 5. IWM also contains band
parameters ML = IWM(1) and MU = IWM(2) if MITER is 4 or 5.
- offset_iwm Int32
-
- X Double
-
= The right-hand side vector on input, and the solution vector
on output, of length N.
- offset_x Int32
-
- IERSL Int32
-
= Output flag. IERSL = 0 if no trouble occurred.
IERSL = 1 if a singular matrix arose with MITER = 3.
See Also