org.spaceroots.mantissa.ode
Class GillIntegrator
- java.lang.Object
-
- org.spaceroots.mantissa.ode.RungeKuttaIntegrator
-
- org.spaceroots.mantissa.ode.GillIntegrator
-
- All Implemented Interfaces:
- FirstOrderIntegrator
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/6where q = sqrt(2)
-
-
Constructor Summary
Constructors Constructor and Description GillIntegrator(double step)Simple constructor.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method and Description java.lang.StringgetName()Get the name of the method.-
Methods inherited from class org.spaceroots.mantissa.ode.RungeKuttaIntegrator
addSwitchingFunction, getCurrentStepsize, getCurrentStepStart, getStepHandler, integrate, setStepHandler
-
-
-
-
Constructor Detail
-
GillIntegrator
public GillIntegrator(double step)
Simple constructor. Build a fourth-order Gill integrator with the given step.- Parameters:
step- integration step
-
-
Method Detail
-
getName
public java.lang.String getName()
Get the name of the method.- Specified by:
getNamein interfaceFirstOrderIntegrator- Specified by:
getNamein classRungeKuttaIntegrator- Returns:
- name of the method
-
-
DataMelt 3.0 © DataMelt by jWork.ORG