Class GillIntegrator
- java.lang.Object
-
- org.apache.commons.math4.legacy.ode.AbstractIntegrator
-
- org.apache.commons.math4.legacy.ode.nonstiff.RungeKuttaIntegrator
-
- org.apache.commons.math4.legacy.ode.nonstiff.GillIntegrator
-
- All Implemented Interfaces:
FirstOrderIntegrator
,ODEIntegrator
public class GillIntegrator extends RungeKuttaIntegrator
This class implements the Gill fourth order Runge-Kutta integrator for Ordinary Differential Equations .This method is an explicit Runge-Kutta method, its Butcher-array is the following one :
0 | 0 0 0 0 1/2 | 1/2 0 0 0 1/2 | (q-1)/2 (2-q)/2 0 0 1 | 0 -q/2 (2+q)/2 0 |------------------------------- | 1/6 (2-q)/6 (2+q)/6 1/6
where q = sqrt(2)- Since:
- 1.2
- See Also:
EulerIntegrator
,ClassicalRungeKuttaIntegrator
,MidpointIntegrator
,ThreeEighthesIntegrator
,LutherIntegrator
-
-
Field Summary
-
Fields inherited from class org.apache.commons.math4.legacy.ode.AbstractIntegrator
isLastStep, resetOccurred, stepHandlers, stepSize, stepStart
-
-
Constructor Summary
Constructors Constructor Description GillIntegrator(double step)
Simple constructor.
-
Method Summary
-
Methods inherited from class org.apache.commons.math4.legacy.ode.nonstiff.RungeKuttaIntegrator
integrate, singleStep
-
Methods inherited from class org.apache.commons.math4.legacy.ode.AbstractIntegrator
acceptStep, addEventHandler, addEventHandler, addStepHandler, clearEventHandlers, clearStepHandlers, computeDerivatives, getCounter, getCurrentSignedStepsize, getCurrentStepStart, getEvaluations, getEventHandlers, getExpandable, getMaxEvaluations, getName, getStepHandlers, initIntegration, integrate, sanityChecks, setEquations, setMaxEvaluations, setStateInitialized
-
-
-
-
Constructor Detail
-
GillIntegrator
public GillIntegrator(double step)
Simple constructor. Build a fourth-order Gill integrator with the given step.- Parameters:
step
- integration step
-
-