All Packages Class Hierarchy This Package Previous Next Index
Class phaser.algorithm.Heun
java.lang.Object
|
+----phaser.algorithm.Algorithm
|
+----phaser.algorithm.Heun
- public class Heun
- extends Algorithm
A class that implements the Heun Algorithm:
y_n = y_{n - 1} + ( h / 4 ) * [
f( t_{n - 1}, y_{n - 1} )
+
3 * f(
t_{n - 1} + ( 2 / 3 ) * h,
y_{n - 1} + ( 2 / 3 ) * h * f( t_{n-1}, y_{n - 1} )
)
]
-
Heun()
-
-
apply(Equation, double[], double[], double, double)
-
-
getStatKeys()
-
-
toString()
-
Heun
public Heun()
apply
public void apply(Equation equation,
double xNew[],
double xOld[],
double stepSize,
double time)
- Overrides:
- apply in class Algorithm
getStatKeys
public int[] getStatKeys()
- Overrides:
- getStatKeys in class Algorithm
toString
public String toString()
- Overrides:
- toString in class Object
All Packages Class Hierarchy This Package Previous Next Index