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} ) )
]


Constructor Index

 o Heun()

Method Index

 o apply(Equation, double[], double[], double, double)
 o getStatKeys()
 o toString()

Constructors

 o Heun
 public Heun()

Methods

 o apply
 public void apply(Equation equation,
                   double xNew[],
                   double xOld[],
                   double stepSize,
                   double time)
Overrides:
apply in class Algorithm
 o getStatKeys
 public int[] getStatKeys()
Overrides:
getStatKeys in class Algorithm
 o toString
 public String toString()
Overrides:
toString in class Object

All Packages  Class Hierarchy  This Package  Previous  Next  Index