org.gicentre.utils.network.traer.physics

## Class ForwardEulerIntegrator

- java.lang.Object
- - org.gicentre.utils.network.traer.physics.Integrator
  - - org.gicentre.utils.network.traer.physics.ForwardEulerIntegrator

-     public class ForwardEulerIntegrator
      extends Integrator

  Class capable of performing forward Euler integration. Compared to the Runge-Kutta integrator, this one is faster, but can be less stable.
  Version:
    3.4, 5th February, 2016.
  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

    Constructors
    Constructor and Description
    `ForwardEulerIntegrator(ParticleSystem s)` Sets up the integrator.

  - ### Method Summary

    All Methods Instance Methods Concrete Methods
    Modifier and Type | Method and Description
    --- | ---
    `ForwardEulerIntegrator` | `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

    - #### ForwardEulerIntegrator

          public ForwardEulerIntegrator(ParticleSystem s)

      Sets up the integrator.
      Parameters:
        `s` - Particle system upon which to perform the integration.

  - ### Method Detail

    - #### step

          public ForwardEulerIntegrator 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.