public class SimulationSettings extends SettingsBase
Modifier and Type | Field and Description |
---|---|
static boolean |
DEFAULT_ABORT_ON_INVERTED_ELEMENTS |
static CollisionManager.ColliderType |
DEFAULT_COLLIDER_TYPE |
static boolean |
DEFAULT_HYBRID_SOLVES_ENABLED |
static SparseSolverId |
DEFAULT_MATRIX_SOLVER |
static double |
DEFAULT_MAX_STEP_SIZE |
static int |
DEFAULT_NUM_SOLVER_THREADS |
static boolean |
DEFAULT_SHOW_ILL_CONDITIONED_SOLVES |
static MechSystemSolver.PosStabilization |
DEFAULT_STABILIZATION |
static boolean |
DEFAULT_USE_IMPLICIT_FRICTION |
static PropertyList |
myProps |
Constructor and Description |
---|
SimulationSettings() |
Modifier and Type | Method and Description |
---|---|
boolean |
getAbortOnInvertedElements() |
PropertyList |
getAllPropertyInfo()
Returns a list giving static information about all properties exported by
this object.
|
CollisionManager.ColliderType |
getColliderType() |
Range |
getColliderTypeRange() |
boolean |
getHybridSolvesEnabled() |
SparseSolverId |
getMatrixSolver() |
double |
getMaxStepSize() |
int |
getNumSolverThreads() |
boolean |
getShowIllConditionedSolves() |
MechSystemSolver.PosStabilization |
getStabilization() |
boolean |
getUseImplicitFriction() |
void |
setAbortOnInvertedElements(boolean enable) |
void |
setColliderType(CollisionManager.ColliderType type) |
void |
setHybridSolvesEnabled(boolean enabled) |
void |
setMatrixSolver(SparseSolverId MatrixSolver) |
void |
setMaxStepSize(double maxStepSize) |
void |
setNumSolverThreads(int num) |
void |
setShowIllConditionedSolves(boolean enable) |
void |
setStabilization(MechSystemSolver.PosStabilization stabilization) |
void |
setUseImplicitFriction(boolean enable) |
createDialog, getDialog, getPreferences, getProperty, setPreferences
public static PropertyList myProps
public static final double DEFAULT_MAX_STEP_SIZE
public static final MechSystemSolver.PosStabilization DEFAULT_STABILIZATION
public static final CollisionManager.ColliderType DEFAULT_COLLIDER_TYPE
public static final boolean DEFAULT_USE_IMPLICIT_FRICTION
public static final boolean DEFAULT_ABORT_ON_INVERTED_ELEMENTS
public static final boolean DEFAULT_HYBRID_SOLVES_ENABLED
public static final int DEFAULT_NUM_SOLVER_THREADS
public static final boolean DEFAULT_SHOW_ILL_CONDITIONED_SOLVES
public static SparseSolverId DEFAULT_MATRIX_SOLVER
public PropertyList getAllPropertyInfo()
HasProperties
public double getMaxStepSize()
public void setMaxStepSize(double maxStepSize)
public MechSystemSolver.PosStabilization getStabilization()
public void setStabilization(MechSystemSolver.PosStabilization stabilization)
public CollisionManager.ColliderType getColliderType()
public Range getColliderTypeRange()
public void setColliderType(CollisionManager.ColliderType type)
public boolean getUseImplicitFriction()
public void setUseImplicitFriction(boolean enable)
public boolean getAbortOnInvertedElements()
public void setAbortOnInvertedElements(boolean enable)
public boolean getHybridSolvesEnabled()
public void setHybridSolvesEnabled(boolean enabled)
public int getNumSolverThreads()
public void setNumSolverThreads(int num)
public boolean getShowIllConditionedSolves()
public void setShowIllConditionedSolves(boolean enable)
public SparseSolverId getMatrixSolver()
public void setMatrixSolver(SparseSolverId MatrixSolver)