sim.physics2D.integrator
Class ODEEulerSolver

java.lang.Object
  extended by sim.physics2D.integrator.ODEEulerSolver
All Implemented Interfaces:
ODESolver

public class ODEEulerSolver
extends java.lang.Object
implements ODESolver

Implements an Euler ordinary differential equation solver. The Euler integrator solves with these equations: x = x + x'; x' = x' + x''


Constructor Summary
ODEEulerSolver()
           
 
Method Summary
 void solve(double stepSize)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ODEEulerSolver

public ODEEulerSolver()
Method Detail

solve

public void solve(double stepSize)
Specified by:
solve in interface ODESolver