org.spaceroots.mantissa.ode
Class ClassicalRungeKuttaIntegrator
- java.lang.Object
-
- org.spaceroots.mantissa.ode.RungeKuttaIntegrator
-
- org.spaceroots.mantissa.ode.ClassicalRungeKuttaIntegrator
-
- All Implemented Interfaces:
- FirstOrderIntegrator
public class ClassicalRungeKuttaIntegrator extends RungeKuttaIntegrator
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
-
-
Constructor Summary
Constructors Constructor and Description ClassicalRungeKuttaIntegrator(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
-
ClassicalRungeKuttaIntegrator
public ClassicalRungeKuttaIntegrator(double step)
Simple constructor. Build a fourth-order Runge-Kutta 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