public static enum Integrator.METHOD extends java.lang.Enum<Integrator.METHOD>
| Enum Constant and Description |
|---|
EULER
Indicates an Euler integration.
|
MODEULER
Indicates a modifed Euler integration.
|
RUNGEKUTTA
Indicates a Runge-Kutta integration.
|
SRUNGEKUTTA
Indicates a Settling Runge-Kutta integration.
|
| Modifier and Type | Method and Description |
|---|---|
abstract Integrator |
factory(ParticleSystem physics)
Factory capable of generating integrators.
|
static Integrator.METHOD |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static Integrator.METHOD[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final Integrator.METHOD RUNGEKUTTA
public static final Integrator.METHOD EULER
public static final Integrator.METHOD MODEULER
public static final Integrator.METHOD SRUNGEKUTTA
public static Integrator.METHOD[] values()
for (Integrator.METHOD c : Integrator.METHOD.values()) System.out.println(c);
public static Integrator.METHOD valueOf(java.lang.String name)
name - the name of the enum constant to be returned.java.lang.IllegalArgumentException - if this enum type has no constant with the specified namejava.lang.NullPointerException - if the argument is nullpublic abstract Integrator factory(ParticleSystem physics)
physics - Particle system within which to apply the integrators.