artisynth.core.mechmodels
Enum MechSystemSolver.Integrator

java.lang.Object
  extended by java.lang.Enum<MechSystemSolver.Integrator>
      extended by artisynth.core.mechmodels.MechSystemSolver.Integrator
All Implemented Interfaces:
java.io.Serializable, java.lang.Comparable<MechSystemSolver.Integrator>
Enclosing class:
MechSystemSolver

public static enum MechSystemSolver.Integrator
extends java.lang.Enum<MechSystemSolver.Integrator>


Enum Constant Summary
BackwardEuler
           
ConstrainedBackwardEuler
           
ForwardEuler
           
FullBackwardEuler
           
RungeKutta4
           
SymplecticEuler
           
Trapezoidal
           
 
Method Summary
static MechSystemSolver.Integrator valueOf(java.lang.String name)
          Returns the enum constant of this type with the specified name.
static MechSystemSolver.Integrator[] values()
          Returns an array containing the constants of this enum type, in the order they are declared.
 
Methods inherited from class java.lang.Enum
compareTo, equals, getDeclaringClass, hashCode, name, ordinal, toString, valueOf
 
Methods inherited from class java.lang.Object
getClass, notify, notifyAll, wait, wait, wait
 

Enum Constant Detail

ForwardEuler

public static final MechSystemSolver.Integrator ForwardEuler

SymplecticEuler

public static final MechSystemSolver.Integrator SymplecticEuler

RungeKutta4

public static final MechSystemSolver.Integrator RungeKutta4

BackwardEuler

public static final MechSystemSolver.Integrator BackwardEuler

ConstrainedBackwardEuler

public static final MechSystemSolver.Integrator ConstrainedBackwardEuler

FullBackwardEuler

public static final MechSystemSolver.Integrator FullBackwardEuler

Trapezoidal

public static final MechSystemSolver.Integrator Trapezoidal
Method Detail

values

public static MechSystemSolver.Integrator[] values()
Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:
for (MechSystemSolver.Integrator c : MechSystemSolver.Integrator.values())
    System.out.println(c);

Returns:
an array containing the constants of this enum type, in the order they are declared

valueOf

public static MechSystemSolver.Integrator valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)

Parameters:
name - the name of the enum constant to be returned.
Returns:
the enum constant with the specified name
Throws:
java.lang.IllegalArgumentException - if this enum type has no constant with the specified name
java.lang.NullPointerException - if the argument is null