sim.physics2D.integrator
Class ODERungeKuttaSolver

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

public class ODERungeKuttaSolver
extends java.lang.Object
implements ODESolver

Implements a Runge-Kutta ordinary differential equation solver. The runge-kutta solver reduces errors over the euler integrator by adding terms in the taylor series expansion.


Constructor Summary
ODERungeKuttaSolver()
           
 
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

ODERungeKuttaSolver

public ODERungeKuttaSolver()
Method Detail

solve

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