public class ForwardEulerIntegrator extends Integrator
Integrator.METHOD
s
Constructor and Description |
---|
ForwardEulerIntegrator(ParticleSystem s)
Sets up the integrator.
|
Modifier and Type | Method and Description |
---|---|
ForwardEulerIntegrator |
step(float deltaT)
Advances the integrator by one step.
|
public ForwardEulerIntegrator(ParticleSystem s)
s
- Particle system upon which to perform the integration.public ForwardEulerIntegrator step(float deltaT)
step
in class Integrator
deltaT
- the magnitude of the time step to advance.