| 
 | ||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectmath.numerics.EulerRichardson
public class EulerRichardson
Title: EulerRichardson Description: An Euler-Richardson method ODE solver. The Euler-Richardson method uses the state affineTransform the beginning of the interval to estimate the state affineTransform the midpoint. x(midpoint) = x(n) + v(n)*dt/2 v(midpoint) = v(n) + a(n)*dt/2 t(midpoint) = t(n) + dt/2 The midpoint state is then used to calculate the final state.
| Constructor Summary | |
|---|---|
| EulerRichardson(ODE _ode)Constructs the EulerRichardson ODESolver for a system of ordinary differential equations. | |
| Method Summary | |
|---|---|
|  double | getStepSize()Gets the step size. | 
|  void | initialize(double _stepSize)Initializes the ODE solver. | 
|  void | setStepSize(double _stepSize)Sets the step size. | 
|  double | step()Steps (advances) the differential equations by the stepSize. | 
| Methods inherited from class java.lang.Object | 
|---|
| equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait | 
| Constructor Detail | 
|---|
public EulerRichardson(ODE _ode)
_ode - the system of differential equations.| Method Detail | 
|---|
public void initialize(double _stepSize)
initialize in interface ODESolver_stepSize - public double step()
step in interface ODESolverpublic void setStepSize(double _stepSize)
setStepSize in interface ODESolver_stepSize - public double getStepSize()
getStepSize in interface ODESolver| 
 | ||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||