public abstract class Integrator
extends java.lang.Object
Modifier and Type | Class and Description |
---|---|
static class |
Integrator.METHOD
Lists the different integration methods that can be produced by the integrator factory.
|
Modifier and Type | Field and Description |
---|---|
protected ParticleSystem |
s |
Constructor and Description |
---|
Integrator(ParticleSystem s)
Creates a new integrator that will apply to the given particle system.
|
Modifier and Type | Method and Description |
---|---|
abstract Integrator |
step(float t)
Should increment the integrator by a single time step.
|
protected ParticleSystem s
public Integrator(ParticleSystem s)
s
- Particle system that will evolve using this integrator.public abstract Integrator step(float t)
t
- Time step.