Solves the DVODE nonlinear corrector system for a single integration step.
Namespace: Altaxo.Calc.Ode.Obsolete.DVodeAssembly: AltaxoCore (in AltaxoCore.dll) Version: 4.8.3572.0 (4.8.3572.0)
Syntaxpublic 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
)
Parameters
- Y Double
-
= The dependent variable, a vector of length N, input.
- offset_y Int32
- The starting offset in Y.
- YH Double
-
= The Nordsieck (Taylor) array, LDYH by LMAX, input
and output. On input, it contains predicted values.
- offset_yh Int32
- The starting offset in YH.
- LDYH Int32
-
= A constant .ge. N, the first dimension of YH, input.
- VSAV Double
-
= Unused work array.
- offset_vsav Int32
- The starting offset in VSAV.
- SAVF Double
-
= A work array of length N.
- offset_savf Int32
- The starting offset in SAVF.
- EWT Double
-
= An error weight vector of length N, input.
- offset_ewt Int32
- The starting offset in EWT.
- ACOR Double
-
= A work array of length N, used for the accumulated
corrections to the predicted y vector.
- offset_acor Int32
- The starting offset in ACOR.
- IWM Int32
- Integer work space for the linear solver.
- offset_iwm Int32
- The starting offset in IWM.
- WM Double
- Real work space for the linear solver.
- offset_wm Int32
- The starting offset in WM.
- 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
- User-defined real parameter array passed to callback routines.
- offset_rpar Int32
- The starting offset in RPAR.
- IPAR Int32
- User-defined integer parameter array passed to callback routines.
- offset_ipar Int32
- The starting offset in IPAR.
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