Click or drag to resize

DVNLSDRun 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[] 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
)
Request Example View Source

Parameters

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