net.jinx.physics
Class RK4Integrator

java.lang.Object
  extended by net.jinx.physics.RK4Integrator
All Implemented Interfaces:
Integrator

public class RK4Integrator
extends java.lang.Object
implements Integrator


Constructor Summary
RK4Integrator()
           
 
Method Summary
 void integrate(Universe u, PhysicalObject obj, float deltaTime)
          Performs an integration for the given Universe and PhysicalObject.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

RK4Integrator

public RK4Integrator()
Method Detail

integrate

public void integrate(Universe u,
                      PhysicalObject obj,
                      float deltaTime)
Description copied from interface: Integrator
Performs an integration for the given Universe and PhysicalObject.

Specified by:
integrate in interface Integrator
Parameters:
u - the Universe.
obj - the PhysicalObject.