Click or drag to resize

xBaseOdeRungeKutta Class

Represents a base class for the Runge-Kutta classes.
Inheritance Hierarchy
SystemObject
  Altaxo.Calc.Ode.ObsoletexOdeBase
    Altaxo.Calc.Ode.ObsoletexBaseOdeRungeKutta
      Altaxo.Calc.Ode.ObsoleteOdeImplicitRungeKutta5

Namespace: Altaxo.Calc.Ode.Obsolete
Assembly: AltaxoCore (in AltaxoCore.dll) Version: 4.8.3179.0 (4.8.3179.0)
Syntax
C#
public abstract class xBaseOdeRungeKutta : xOdeBase

The xBaseOdeRungeKutta type exposes the following members.

Constructors
 NameDescription
Protected methodxBaseOdeRungeKuttaInitializes a new instance of the xBaseOdeRungeKutta class
Top
Properties
 NameDescription
Public propertyAbsTol An absolute error tolerance parameter
(Inherited from xOdeBase)
Public propertyAbsTolArray An absolute error tolerance array (length numEquations).
(Inherited from xOdeBase)
Public propertyErrorToleranceType Specifies the type of the relative error and absolute error tolerances.
(Inherited from xOdeBase)
Public propertyRelTol A relative error tolerance parameter.
(Inherited from xOdeBase)
Public propertyRelTolArray A relative error tolerance array ( length numEquations).
(Inherited from xOdeBase)
Top
Methods
 NameDescription
Protected methodCheckArguments
(Inherited from xOdeBase)
Protected methodCheckInitialization
(Inherited from xOdeBase)
Protected methodCheckTArray
(Inherited from xOdeBase)
Public methodEqualsDetermines whether the specified object is equal to the current object.
(Inherited from Object)
Protected methodFinalizeAllows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection.
(Inherited from Object)
Public methodGetHashCodeServes as the default hash function.
(Inherited from Object)
Public methodGetTypeGets the Type of the current instance.
(Inherited from Object)
Public methodInitializeODEs(OdeFunction, Int32) Method that initialize the ODE to solve.
(Inherited from xOdeBase)
Public methodInitializeODEs(OdeFunction, Int32, Double, Double) Method that initialize the ODE to solve.
(Inherited from xOdeBase)
Protected methodMemberwiseCloneCreates a shallow copy of the current Object.
(Inherited from Object)
Public methodSetInitialValues Sets the initial values for the differential equations.
(Inherited from xOdeBase)
Public methodSolve(Double, Double) Computes the solution of the differntial equations.
Public methodSolve(Double, Double, OdeSolution) Computes the solution of the differntial equations.
Public methodSolve(Double, Double, Double, Double) Computes the solution of the differntial equations.
Public methodSolve(Double, Double, Double, Double, OdeSolution) Computes the solution of the differntial equations.
Public methodToStringReturns a string that represents the current object.
(Inherited from Object)
Top
Fields
 NameDescription
Protected field_AbsTol An absolute error tolerance parameter
(Inherited from xOdeBase)
Protected field_AbsTolArray An absolute error tolerance parameter(array of length NEQ)
(Inherited from xOdeBase)
Protected field_Errors Array containing the exception messages.
(Inherited from xOdeBase)
Protected field_IDID REPORTS ON SUCCESSFULNESS UPON RETURN: IDID= 1 COMPUTATION SUCCESSFUL, IDID= 2 COMPUT. SUCCESSFUL (INTERRUPTED BY SOLOUTR) IDID=-1 INPUT IS NOT CONSISTENT, IDID=-2 LARGER NMAX IS NEEDED, IDID=-3 STEP SIZE BECOMES TOO SMALL. IDID=-4 PROBLEM IS PROBABLY STIFF (INTERRUPTED).
Protected field_InvokeInitializeODEs Indicated if the InitializeODEs method need to be invoked.
(Inherited from xOdeBase)
Protected field_InvokeSetInitialValues Indicated if the SetInitialValues method need to be invoked.
(Inherited from xOdeBase)
Protected field_IOut SWITCH FOR CALLING THE SUBROUTINE SOLOUTR: IOUT=0: SUBROUTINE IS NEVER CALLED IOUT=1: SUBROUTINE IS USED FOR OUTPUT. IOUT=2: DENSE OUTPUT IS PERFORMED IN SOLOUTR (IN THIS CASE WORK(5) MUST BE SPECIFIED)
Protected field_IPar User-specified array used to communicate integer parameter
(Inherited from xOdeBase)
Protected field_ITolAdamsGears For AdamsMoulton and OdeGearsBDF: MeITol = An indicator for the type of error control. ITOL RTOL ATOL EWT(i) MeITol =1 scalar scalar RTOL*ABS(Y(i)) + ATOL MeITol =2 scalar array RTOL*ABS(Y(i)) + ATOL(i) MeITol =3 array scalar RTOL(i)*ABS(Y(i)) + ATOL MeITol =4 array array RTOL(i)*ABS(Y(i)) + ATOL(i)
(Inherited from xOdeBase)
Protected field_ITolRK For Runge-Kutta ITol = An indicator for the type of error control. ITOL=0: BOTH RTOL AND ATOL ARE SCALARS. ITOL=1: BOTH RTOL AND ATOL ARE VECTORS.
(Inherited from xOdeBase)
Protected field_IWork MeIWork= An integer work array.
(Inherited from xOdeBase)
Protected field_Liw MeLiw= the length of the array IWORK
(Inherited from xOdeBase)
Protected field_Lrw MeLrw= The length of the array RWORK
(Inherited from xOdeBase)
Protected field_NEquations The number of equations
(Inherited from xOdeBase)
Protected field_RelTol A relative error tolerance parameter. The input parameters ITOL, RTOL, and ATOL determine the error control performed by the solver. The solver will control the vector e = (e(i)) of estimated local errors in Y, according to an inequality of the form rms-norm of ( e(i)/EWT(i) ) .le. 1, where EWT(i) = RTOL(i)*abs(Y(i)) + ATOL(i),
(Inherited from xOdeBase)
Protected field_RelTolArray A relative error tolerance parameter, either a scalar or an array of length NEQ.
(Inherited from xOdeBase)
Protected field_RPar User-specified array used to communicate real parameters
(Inherited from xOdeBase)
Protected field_RWork MeRWork= A real working array (double precision)
(Inherited from xOdeBase)
Protected field_Solution The array containing the solution of the ODEs [T, Y1,Y2,...]
Protected field_T0 The initial independent variable value.
(Inherited from xOdeBase)
Protected field_Y Array used to set the initial values and to return the solution in some ODE solvers. This array must be initialized equal to the initial values in the first call.
(Inherited from xOdeBase)
Protected field_Y0 The initial conditions.
(Inherited from xOdeBase)
Protected fieldMeTf 
Top
See Also