Click or drag to resize

DVSOLRun Method


Namespace: DotNumerics.ODE.DVode
Assembly: 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
)
Request Example View Source

Parameters

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