|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.apache.commons.math.ode.RungeKuttaIntegrator
org.apache.commons.math.ode.ClassicalRungeKuttaIntegrator
public class ClassicalRungeKuttaIntegrator
This class implements the classical fourth order Runge-Kutta integrator for Ordinary Differential Equations (it is the most often used Runge-Kutta method).
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 | 0 1/2 0 0 1 | 0 0 1 0 |-------------------- | 1/6 1/3 1/3 1/6
EulerIntegrator
,
GillIntegrator
,
MidpointIntegrator
,
ThreeEighthesIntegrator
Field Summary | |
---|---|
private static double[][] |
a
Internal weights Butcher array. |
private static double[] |
b
Propagation weights Butcher array. |
private static double[] |
c
Time steps Butcher array. |
private static java.lang.String |
methodName
Integrator method name. |
Fields inherited from class org.apache.commons.math.ode.RungeKuttaIntegrator |
---|
switchesHandler |
Constructor Summary | |
---|---|
ClassicalRungeKuttaIntegrator(double step)
Simple constructor. |
Method Summary | |
---|---|
java.lang.String |
getName()
Get the name of the method. |
Methods inherited from class org.apache.commons.math.ode.RungeKuttaIntegrator |
---|
addSwitchingFunction, getCurrentSignedStepsize, getCurrentStepStart, getStepHandler, integrate, setStepHandler |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
private static final java.lang.String methodName
private static final double[] c
private static final double[][] a
private static final double[] b
Constructor Detail |
---|
public ClassicalRungeKuttaIntegrator(double step)
step
- integration stepMethod Detail |
---|
public java.lang.String getName()
getName
in interface FirstOrderIntegrator
getName
in class RungeKuttaIntegrator
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |