Click or drag to resize

RADCORRun Method

Executes the translated RADAU5 core integration routine.

Namespace: Altaxo.Calc.Ode.Obsolete.Radau5
Assembly: AltaxoCore (in AltaxoCore.dll) Version: 4.8.3572.0 (4.8.3572.0)
Syntax
C#
public void Run(
	int N,
	IFVPOL FCN,
	ref double X,
	ref double[] Y,
	int offset_y,
	double XEND,
	double HMAX,
	ref double H,
	double[] RTOL,
	int offset_rtol,
	double[] ATOL,
	int offset_atol,
	int ITOL,
	IJVPOL JAC,
	int IJAC,
	int MLJAC,
	int MUJAC,
	IBBAMPL MAS,
	int MLMAS,
	int MUMAS,
	ISOLOUTR SOLOUT,
	int IOUT,
	ref int IDID,
	int NMAX,
	double UROUND,
	double SAFE,
	double THET,
	double FNEWT,
	double QUOT1,
	double QUOT2,
	int NIT,
	ref int IJOB,
	bool STARTN,
	int NIND1,
	int NIND2,
	int NIND3,
	bool PRED,
	double FACL,
	double FACR,
	int M1,
	int M2,
	int NM1,
	bool IMPLCT,
	bool BANDED,
	int LDJAC,
	int LDE1,
	int LDMAS,
	ref double[] Z1,
	int offset_z1,
	ref double[] Z2,
	int offset_z2,
	ref double[] Z3,
	int offset_z3,
	ref double[] Y0,
	int offset_y0,
	ref double[] SCAL,
	int offset_scal,
	ref double[] F1,
	int offset_f1,
	ref double[] F2,
	int offset_f2,
	ref double[] F3,
	int offset_f3,
	ref double[] FJAC,
	int offset_fjac,
	ref double[] E1,
	int offset_e1,
	ref double[] E2R,
	int offset_e2r,
	ref double[] E2I,
	int offset_e2i,
	ref double[] FMAS,
	int offset_fmas,
	ref int[] IP1,
	int offset_ip1,
	ref int[] IP2,
	int offset_ip2,
	ref int[] IPHES,
	int offset_iphes,
	ref double[] CONT,
	int offset_cont,
	ref int NFCN,
	ref int NJAC,
	ref int NSTEP,
	ref int NACCPT,
	ref int NREJCT,
	ref int NDEC,
	ref int NSOL,
	double[] RPAR,
	int offset_rpar,
	int[] IPAR,
	int offset_ipar
)

Parameters

N  Int32
The system dimension.
FCN  IFVPOL
The right-hand side function.
X  Double
The current x-value, updated during integration.
Y  Double
The state vector.
offset_y  Int32
The offset into Y.
XEND  Double
The end value of x.
HMAX  Double
The maximum step size.
H  Double
The current step size.
RTOL  Double
The relative tolerances.
offset_rtol  Int32
The offset into RTOL.
ATOL  Double
The absolute tolerances.
offset_atol  Int32
The offset into ATOL.
ITOL  Int32
The tolerance mode.
JAC  IJVPOL
The Jacobian callback.
IJAC  Int32
Indicates whether a Jacobian is supplied.
MLJAC  Int32
The lower Jacobian bandwidth.
MUJAC  Int32
The upper Jacobian bandwidth.
MAS  IBBAMPL
The mass-matrix callback.
MLMAS  Int32
The lower mass-matrix bandwidth.
MUMAS  Int32
The upper mass-matrix bandwidth.
SOLOUT  ISOLOUTR
The dense output callback.
IOUT  Int32
Controls solution output.
IDID  Int32
The solver status code.
NMAX  Int32
The maximum number of steps.
UROUND  Double
The machine unit roundoff.
SAFE  Double
The safety factor for step-size control.
THET  Double
The Jacobian recomputation threshold.
FNEWT  Double
The Newton iteration tolerance factor.
QUOT1  Double
The lower quotient bound for step-size changes.
QUOT2  Double
The upper quotient bound for step-size changes.
NIT  Int32
The maximum number of Newton iterations.
IJOB  Int32
The solver job code.
STARTN  Boolean
Indicates whether to use a special starting procedure.
NIND1  Int32
The number of index-1 variables.
NIND2  Int32
The number of index-2 variables.
NIND3  Int32
The number of index-3 variables.
PRED  Boolean
Indicates whether prediction is enabled.
FACL  Double
The lower step-size scaling factor.
FACR  Double
The upper step-size scaling factor.
M1  Int32
The first partition size.
M2  Int32
The second partition size.
NM1  Int32
The complementary partition size.
IMPLCT  Boolean
Indicates whether the system is implicit.
BANDED  Boolean
Indicates whether the Jacobian is banded.
LDJAC  Int32
The leading dimension of the Jacobian storage.
LDE1  Int32
The leading dimension of E1.
LDMAS  Int32
The leading dimension of the mass matrix storage.
Z1  Double
The first stage vector.
offset_z1  Int32
The offset into Z1.
Z2  Double
The second stage vector.
offset_z2  Int32
The offset into Z2.
Z3  Double
The third stage vector.
offset_z3  Int32
The offset into Z3.
Y0  Double
The previous state vector.
offset_y0  Int32
The offset into Y0.
SCAL  Double
The scaling vector.
offset_scal  Int32
The offset into SCAL.
F1  Double
The first residual workspace.
offset_f1  Int32
The offset into F1.
F2  Double
The second residual workspace.
offset_f2  Int32
The offset into F2.
F3  Double
The third residual workspace.
offset_f3  Int32
The offset into F3.
FJAC  Double
The Jacobian workspace.
offset_fjac  Int32
The offset into FJAC.
E1  Double
The real factorization workspace.
offset_e1  Int32
The offset into E1.
E2R  Double
The real part of the complex factorization workspace.
offset_e2r  Int32
The offset into E2R.
E2I  Double
The imaginary part of the complex factorization workspace.
offset_e2i  Int32
The offset into E2I.
FMAS  Double
The mass-matrix workspace.
offset_fmas  Int32
The offset into FMAS.
IP1  Int32
The first integer pivot workspace.
offset_ip1  Int32
The offset into IP1.
IP2  Int32
The second integer pivot workspace.
offset_ip2  Int32
The offset into IP2.
IPHES  Int32
The Hessenberg pivot workspace.
offset_iphes  Int32
The offset into IPHES.
CONT  Double
The dense output coefficient workspace.
offset_cont  Int32
The offset into CONT.
NFCN  Int32
The number of function evaluations.
NJAC  Int32
The number of Jacobian evaluations.
NSTEP  Int32
The number of performed steps.
NACCPT  Int32
The number of accepted steps.
NREJCT  Int32
The number of rejected steps.
NDEC  Int32
The number of decompositions.
NSOL  Int32
The number of linear solves.
RPAR  Double
Real user parameters.
offset_rpar  Int32
The offset into RPAR.
IPAR  Int32
Integer user parameters.
offset_ipar  Int32
The offset into IPAR.
See Also