RungeKuttaCashKarp45Integrator Methods |
The RungeKuttaCashKarp45Integrator type exposes the following members.
Name | Description | |
---|---|---|
AdaptStep |
This method updates the CurrentStepSize to account for error in the state and its derivatives.
It returns true if the integrator should reintegrate with the updated step size or false if the integrator
should continue to the next integration step (potentially with a different step size).
(Overrides AdaptiveNumericalIntegratorAdaptStep.) | |
AdjustStep |
Adjusts a given step by increasing it or decreasing it based on the given error.
If the error is greater than one, the step will increase. Otherwise, it will decrease.
After adjusting the step, BoundAndTruncateStepSize(Double) is called.
(Inherited from AdaptiveNumericalIntegrator.) | |
BoundAndTruncateStepSize |
A method which should be called before updating the CurrentStepSize which
will bound the size based on the MinimumStepSize and MaximumStepSize,
and will truncate it based on the StepTruncationOrder.
(Inherited from AdaptiveNumericalIntegrator.) | |
Clone |
Create a copy of this integrator.
(Overrides NumericalIntegratorClone(CopyContext).) | |
Equals | Determines whether the specified object is equal to the current object. (Inherited from Object.) | |
Finalize | Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection. (Inherited from Object.) | |
GetHashCode | Serves as the default hash function. (Inherited from Object.) | |
GetType | Gets the Type of the current instance. (Inherited from Object.) | |
Initialize |
Initialize the integrator's initial independent and dependent variables and reset the integration parameters.
This should be called by the user prior to performing the first integration step.
(Overrides RungeKuttaAdaptiveStepIntegratorInitialize(Double, Double).) | |
Integrate | Perform an integration step moving the independent and dependent variables from their initial (the final values of the previous step) to their new final values, using the CurrentStepSize. When overriding this method, StartNextStep should be called prior to integration. | |
Integrate(Double) |
Integrate the current integration step with the given step size.
(Inherited from AdaptiveNumericalIntegrator.) | |
MemberwiseClone | Creates a shallow copy of the current Object. (Inherited from Object.) | |
Reintegrate | Repeats the last integration of the differential equations. When overriding this method, note that the CurrentStepSize property should be unaffected by the stepSize parameter. | |
SetCurrentStepSize |
Sets the value of the CurrentStepSize which the
integrator will use for the next integration step.
(Inherited from AdaptiveNumericalIntegrator.) | |
StartNextStep |
This performs the task of setting the Initial values to the previous Final values prior to taking the next step.
This method is called prior to integrating the step but not called during reintegration.
(Inherited from NumericalIntegrator.) | |
ToString | Returns a string that represents the current object. (Inherited from Object.) |