Estimates a suitable initial step size for the DVODE integration.
Namespace: Altaxo.Calc.Ode.Obsolete.DVodeAssembly: AltaxoCore (in AltaxoCore.dll) Version: 4.8.3572.0 (4.8.3572.0)
Syntaxpublic void Run(
int N,
double T0,
double[] Y0,
int offset_y0,
double[] YDOT,
int offset_ydot,
IFEX F,
double[] RPAR,
int offset_rpar,
int[] IPAR,
int offset_ipar,
double TOUT,
double UROUND,
double[] EWT,
int offset_ewt,
int ITOL,
double[] ATOL,
int offset_atol,
ref double[] Y,
int offset_y,
ref double[] TEMP,
int offset_temp,
ref double H0,
ref int NITER,
ref int IER
)
Parameters
- N Int32
-
= Size of ODE system, input.
- T0 Double
-
= Initial value of independent variable, input.
- Y0 Double
-
= Vector of initial conditions, input.
- offset_y0 Int32
- The starting offset in Y0.
- YDOT Double
-
= Vector of initial first derivatives, input.
- offset_ydot Int32
- The starting offset in YDOT.
- F IFEX
-
= Name of subroutine for right-hand side f(t,y), input.
- RPAR Double
- User-defined real parameter array passed to F.
- offset_rpar Int32
- The starting offset in RPAR.
- IPAR Int32
- User-defined integer parameter array passed to F.
- offset_ipar Int32
- The starting offset in IPAR.
- TOUT Double
-
= First output value of independent variable
- UROUND Double
-
= Machine unit roundoff
- EWT Double
- Error weight vector used to scale the initial derivative estimates.
- offset_ewt Int32
- The starting offset in EWT.
- ITOL Int32
- Indicator describing the scalar or vector tolerance layout.
- ATOL Double
- Absolute tolerance array or scalar storage.
- offset_atol Int32
- The starting offset in ATOL.
- Y Double
- Workspace receiving the initial scaled solution values.
- offset_y Int32
- The starting offset in Y.
- TEMP Double
- Temporary workspace used while estimating the step size.
- offset_temp Int32
- The starting offset in TEMP.
- H0 Double
-
= Step size to be attempted, output.
- NITER Int32
-
= Number of iterations (and of f evaluations) to compute H0,
output.
- IER Int32
-
= The error flag, returned with the value
IER = 0 if no trouble occurred, or
IER = -1 if TOUT and T0 are considered too close to proceed.
See Also