Click or drag to resize

Core Fields

The RungeKuttaExplicitBaseCore type exposes the following members.

Fields
 NameDescription
Protected field_aCentral coefficients of the Runge-Kutta scheme. See [1], page 135.
Protected field_a_interpolationAdditional central coefficients of the Runge-Kutta scheme optionally needed for interpolation.
Public field_absoluteTolerances The absolute tolerance. This is either an array of length 1 (in this case the absolute tolerances of all y values are equal), or an array of the same size than y.
Protected field_bHigh order bottom side coefficients of the Runge-Kutta scheme.
Protected field_bhmlDifferences between high order and low order bottom side coefficients of the Runge-Kutta scheme (for error estimation).
Protected field_cLeft side coefficients of the Runge-Kutta scheme (partitions of the step).
Protected field_c_interpolation Additional left side coefficients of the Runge-Kutta scheme optionally needed for dense output (partitions of the step).
Protected field_f The ODE function. First argument is the independent variable (usually named x or t), 2nd argument are the current y values, and the 3rd argument adopts the derivatives dy/dx calculated by this function.
Protected field_interpolationCoefficients The interpolation coefficients. Note that zero to third order is calculated from the y and slopes at the start and end of the step. Thus, this coefficients only have to cover the orders 4.. n of the interpolation.
Protected field_isDenseOutputPreparedTrue if dense output was prepared, i.e. the array _rcont contains valid values.
Protected field_isFirstSameAsLastMethodTrue if the last point is the same as first point (FSAL property). This is for instance true for the Dormand-Prince (RK547M) method.
Protected field_isKnextEvaluated Designates whether the slope at y_current was evaluated (for non-FSAL methods). For FSAL methods, this value is meaningless, because the last stage always contains k_next after a step.
Protected field_kArray of derivatives at the different stages.
Protected field_numberOfAdditionalStagesForDenseOutputThe number of additional stages for dense output of high order.
Protected field_numberOfNonstiffEvaluationResultsThe number of evaluation results in ThrowIfStiffnessDetected, for which the result was false (non-stiff). This counter is re-set to zero if a stiff condition is detected.
Protected field_numberOfRejectedStiffnessDetectionCalls The number of rejected stiffness detection calls after the last stiffness evaluation.
Protected field_numberOfStagesThe number of stages of this method.
Protected field_numberOfStiffEvaluationResultsThe number of evaluation results in ThrowIfStiffnessDetected, for which the result was true (stiff). This counter is re-set to zero if a non-stiff condition is detected.
Protected field_orderOrder of the Runge-Kutta method (the highest order of the embedded pair).
Protected field_rcontContains the precalcuated polynomial coefficients for dense output.
Public field_relativeTolerances The relativ tolerances. This is either an array of length 1 (in this case the relative tolerances of all y values are equal), or an array of the same size than y.
Protected field_stepSize_currentStep size of the current step.
Protected field_stepSize_previousStep size of the previous step.
Protected field_stepSizeFilter The step size filter.
Protected field_stiffnessDetectionEveryNumberOfSteps Number of (successfull) steps between calls to stiffness detection. If this is null, then stiffness detection is disabled.
Protected field_stiffnessDetectionThresholdValueSquared Squared value of the stiffness detection threshold.
Protected field_wasSolutionPointEvaluatedTrue if at least one solution point was evaluated.
Protected field_x_currentX value at the end of the current step.
Protected field_x_previousX value at the begin of the current step.
Protected field_y_currentY values at the end of the current step.
Protected field_y_current_LocalError Contains the array of local errors.
Protected field_y_previousY values at the beginning of the current step.
Protected field_y_stagesArray to accomodate y for calculation of the stages. At the end of EvaluateNextSolutionPoint(Double), this array usually contains the y of the last stage (for non-FSAL methods), or the y of the stage before the last stage (FSAL methods).
Protected fieldStatic memberStepSize_MaxFactorMaximum factor by which the step size can be increased.
Protected fieldStatic memberStepSize_MinFactorMinimum factor by which the step size can be decreased.
Protected fieldStatic memberStepSize_SafetyFactorSafety factor for the step size. Without this factor, the control loop for step size would try to set the stepsize so that the relative error would be around 1. But then, if the relative error is slighly above 1, this step would be rejected. By having a safety factor of less than 1 we get the relative error safely below 1.
Top
See Also