|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.gicentre.utils.network.traer.physics.Integrator
org.gicentre.utils.network.traer.physics.ModifiedEulerIntegrator
public class ModifiedEulerIntegrator
Modified Euler integrator that evolves the state of a particle system. Compared to the Runge-Kutta integrator, this one is faster, but can be less stable.
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 | |
---|---|
ModifiedEulerIntegrator(ParticleSystem s)
Sets up the integrator. |
Method Summary | |
---|---|
ModifiedEulerIntegrator |
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 |
---|
public ModifiedEulerIntegrator(ParticleSystem s)
s
- Particle system upon which to perform the integration.Method Detail |
---|
public ModifiedEulerIntegrator step(float deltaT)
step
in class Integrator
deltaT
- the magnitude of the time step to advance.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |