1 #ifndef SimTK_SIMBODY_EXPONENTIAL_SPRING_PARAMETERS_H_
2 #define SimTK_SIMBODY_EXPONENTIAL_SPRING_PARAMETERS_H_
#define SimTK_SIMBODY_EXPORT
Definition: Simbody/include/simbody/internal/common.h:68
ExponentialSpringParameters is a helper class used to customize the force-producing characteristics o...
Definition: ExponentialSpringParameters.h:118
void setInitialMuKinetic(Real mus)
Set the initial value of the kinetic coefficient of friction (μₖ).
void setSettleVelocity(Real vSettle)
Set the velocity below which the coefficient of friction transitions to the static coefficient of fri...
Real getMaxNormalForce() const
Get the maximum normal force allowed for an ExponentialSpringForce.
void setInitialMuStatic(Real mus)
Set the initial value of the static coefficient of friction (μₛ).
void getShapeParameters(Real &d0, Real &d1, Real &d2) const
Get the parameters that determine the shape of the exponential.
bool operator==(const ExponentialSpringParameters &other) const
Equality operator.
void setShapeParameters(Real d0, Real d1=0.5336, Real d2=1150.0)
Set the parameters that determine the shape of the exponential.
Real getFrictionElasticity() const
Get the elasticity of the friction spring.
Real getInitialMuStatic() const
Get the initial value of the static coefficient of friction (μₛ).
Real getSettleVelocity() const
Get the velocity magnitude below which the coefficient of friction transitions to the static coeffici...
void setElasticityAndViscosityForCriticalDamping(Real kxy, Real mass=1.0)
Set both the elasticity and viscosity of the damped linear spring used to model friction in Friction ...
Real getNormalViscosity() const
Get the viscosity of the exponential part of an ExponentialSpringForce.
ExponentialSpringParameters & operator=(const ExponentialSpringParameters &source)=default
Copy assignment operator.
Real getInitialMuKinetic() const
Get the initial value of the kinetic coefficient of friction (μₖ).
ExponentialSpringParameters(const ExponentialSpringParameters &source)=default
Copy constructor.
void setFrictionElasticity(Real kxy)
Set the elasticity of the friction spring (kxy).
void setNormalViscosity(Real cz)
Set the viscosity of the exponential part of an ExponentialSpringForce.
bool operator!=(const ExponentialSpringParameters &other) const
Inquality operator.
ExponentialSpringParameters()
Default Constructor.
Real getFrictionViscosity() const
Get the viscosity of the friction spring.
void setMaxNormalForce(Real maxFz)
Set the maximum normal force allowed for an ExponentialSpringForce.
void setFrictionViscosity(Real cxy)
Set the viscosity of the friction spring (cxy).
This is the top-level SimTK namespace into which all SimTK names are placed to avoid collision with o...
Definition: Assembler.h:37
SimTK_Real Real
This is the default compiled-in floating point type for SimTK, either float or double.
Definition: SimTKcommon/include/SimTKcommon/internal/common.h:607