Enum Class SolverType

java.lang.Object
java.lang.Enum<SolverType>
com.jme3.bullet.SolverType
All Implemented Interfaces:
Serializable, Comparable<SolverType>, Constable

public enum SolverType extends Enum<SolverType>
Enumerate the available contact-and-constraint solvers.
  • Nested Class Summary

    Nested classes/interfaces inherited from class java.lang.Enum

    Enum.EnumDesc<E extends Enum<E>>
  • Enum Constant Summary

    Enum Constants
    Enum Constant
    Description
    btDantzigSolver: Mixed Linear Complementarity Problem (MLCP) direct solver using the Dantzig Algorithm
    btLemkeSolver: accurate-but-slow MLCP direct solver using Lemke’s Algorithm (see "Fast Implementation of Lemke’s Algorithm for Rigid Body Contact Simulation" by John E.
    btNNCGConstraintSolver: using the Non-smooth Nonlinear Conjugate Gradient (NNCG) method
    btSolveProjectedGaussSeidel: slow MLCP direct solver using projected Gauss-Seidel (PGS) for debug/learning purposes
    btSequentialImpulseConstraintSolver/btMultiBodyConstraintSolver: Bullet's original sequential-impulse solver
  • Method Summary

    Modifier and Type
    Method
    Description
    static SolverType
    Returns the enum constant of this class with the specified name.
    static SolverType[]
    Returns an array containing the constants of this enum class, in the order they are declared.

    Methods inherited from class java.lang.Object

    getClass, notify, notifyAll, wait, wait, wait
  • Enum Constant Details

    • SI

      public static final SolverType SI
      btSequentialImpulseConstraintSolver/btMultiBodyConstraintSolver: Bullet's original sequential-impulse solver
    • Dantzig

      public static final SolverType Dantzig
      btDantzigSolver: Mixed Linear Complementarity Problem (MLCP) direct solver using the Dantzig Algorithm
    • Lemke

      public static final SolverType Lemke
      btLemkeSolver: accurate-but-slow MLCP direct solver using Lemke’s Algorithm (see "Fast Implementation of Lemke’s Algorithm for Rigid Body Contact Simulation" by John E. Lloyd)

      Seems to require a global CFM > 0.

    • PGS

      public static final SolverType PGS
      btSolveProjectedGaussSeidel: slow MLCP direct solver using projected Gauss-Seidel (PGS) for debug/learning purposes
    • NNCG

      public static final SolverType NNCG
      btNNCGConstraintSolver: using the Non-smooth Nonlinear Conjugate Gradient (NNCG) method
  • Method Details

    • values

      public static SolverType[] values()
      Returns an array containing the constants of this enum class, in the order they are declared.
      Returns:
      an array containing the constants of this enum class, in the order they are declared
    • valueOf

      public static SolverType valueOf(String name)
      Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (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:
      IllegalArgumentException - if this enum class has no constant with the specified name
      NullPointerException - if the argument is null