26 #ifndef FrictionSpecies_H
27 #define FrictionSpecies_H
53 void read(std::istream& is);
56 void write(std::ostream& os)
const;
Mdouble getRollingFrictionCoefficient() const
Allows the (dynamic) Coulomb friction coefficient to be accessed.
void setRollingFrictionCoefficientStatic(Mdouble new_mu)
Allows the static Coulomb rolling friction coefficient to be changed.
void setTorsionFrictionCoefficient(Mdouble new_mu)
Allows the (dynamic) Coulomb torsion friction coefficient to be changed; also sets mu_s by default...
Mdouble getTorsionFrictionCoefficient() const
Allows the (dynamic) Coulomb torsion friction coefficient to be accessed.
void setTorsionStiffness(Mdouble new_kt)
Allows the torsion stiffness to be changed.
FrictionSpecies contains the parameters used to describe sliding, rolling and torsional friction...
Mdouble rollingStiffness_
rolling stiffness.
Mdouble rollingDissipation_
rolling dissipation coefficient.
void setRollingStiffness(Mdouble new_kt)
Allows the spring constant to be changed.
Mdouble rollingFrictionCoefficientStatic_
static Coulomb rolling friction coefficient (by default set equal to the dynamic one).
void write(std::ostream &os) const
Writes the species properties to an output stream.
This class allows one to take all three types of frictional interactions into account. The sliding, rolling and torsional frictional interaction. See.
FrictionSpecies()
The default constructor.
Mdouble getTorsionStiffness() const
Allows the torsion stiffness to be accessed.
Mdouble getRollingDissipation() const
Allows the tangential viscosity to be accessed.
Mdouble getRollingFrictionCoefficientStatic() const
Allows the static Coulomb rolling friction coefficient to be accessed.
Mdouble getRollingStiffness() const
Allows the spring constant to be accessed.
Mdouble torsionDissipation_
rolling dissipation coefficient.
void setTorsionFrictionCoefficientStatic(Mdouble new_mu)
Allows the static Coulomb torsion friction coefficient to be accessed.
void setTorsionDissipation(Mdouble new_dispt)
Allows the torsion viscosity to be changed.
void read(std::istream &is)
Reads the species properties from an input stream.
void setRollingFrictionCoefficient(Mdouble new_mu)
Allows the (dynamic) Coulomb friction coefficient to be changed; also sets mu_s by default...
std::string getBaseName() const
Used in Species::getName to obtain a unique name for each Species.
Mdouble torsionFrictionCoefficient_
(dynamic) Coulomb torsion friction coefficient.
void mix(FrictionSpecies *const S, FrictionSpecies *const T)
creates default values for mixed species
Mdouble rollingFrictionCoefficient_
(dynamic) Coulomb rolling friction coefficient.
SlidingFrictionSpecies contains the parameters used to describe sliding friction. ...
virtual ~FrictionSpecies()
The default destructor.
void setRollingDissipation(Mdouble new_dispt)
Allows the tangential viscosity to be changed.
Mdouble torsionFrictionCoefficientStatic_
static Coulomb torsion friction coefficient (by default set equal to the dynamic one).
Mdouble torsionStiffness_
rolling stiffness.
bool getUseAngularDOFs() const
Returns true if torques have to be calculated.
Mdouble getTorsionDissipation() const
Allows the torsion viscosity to be accessed.
Mdouble getTorsionFrictionCoefficientStatic() const
Allows the static Coulomb torsion friction coefficient to be accessed.
FrictionInteraction InteractionType
The correct Interaction type for this FrictionForceSpecies.