org.gicentre.utils.network.traer.physics
Class BackwardEulerIntegrator

java.lang.Object
  extended by org.gicentre.utils.network.traer.physics.Integrator
      extended by org.gicentre.utils.network.traer.physics.BackwardEulerIntegrator

public class BackwardEulerIntegrator
extends Integrator

Class capable of performing backward Euler integration. Compared to the Runge-Kutta integrator, this one is faster, but can be less stable.

Author:
Carl Pearson, Jeffrey Traer Bernstein and minor modifications by Jo Wood.

Nested Class Summary
 
Nested classes/interfaces inherited from class org.gicentre.utils.network.traer.physics.Integrator
Integrator.METHOD
 
Field Summary
 
Fields inherited from class org.gicentre.utils.network.traer.physics.Integrator
s
 
Constructor Summary
BackwardEulerIntegrator(ParticleSystem s)
          Sets up the integrator.
 
Method Summary
 BackwardEulerIntegrator step(float deltaT)
          Advances the integrator by one step.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

BackwardEulerIntegrator

public BackwardEulerIntegrator(ParticleSystem s)
Sets up the integrator.

Parameters:
s - Particle system upon which to perform the integration.
Method Detail

step

public BackwardEulerIntegrator step(float deltaT)
Advances the integrator by one step.

Specified by:
step in class Integrator
Parameters:
deltaT - the magnitude of the time step to advance.
Returns:
The Integrator after stepping forward by the given time step.


giCentre Utilities V.3.3, API documentation generated 6th April, 2013