26 #ifndef SLIDINGFRICTIONSPECIES_H
27 #define SLIDINGFRICTIONSPECIES_H
52 void read(std::istream& is);
55 void write(std::ostream& os)
const;
Mdouble slidingStiffness_
tangential stiffness.
void read(std::istream &is)
Reads the species properties from an input stream.
void setCollisionTimeAndNormalAndTangentialRestitutionCoefficientNoDispt(Mdouble tc, Mdouble eps, Mdouble beta, Mdouble mass)
Sets k, disp, kt (with dispt=0) such that it matches a given tc and eps for a collision of two partic...
Mdouble getSlidingFrictionCoefficientStatic() const
Allows the static Coulomb friction coefficient to be accessed.
BaseSpecies is the class from which all other species are derived.
void mix(SlidingFrictionSpecies *const S, SlidingFrictionSpecies *const T)
creates default values for mixed species
Mdouble slidingFrictionCoefficientStatic_
static Coulomb friction coefficient (by default set equal to mu)
Computes the forces corresponding to sliding friction.
SlidingFrictionInteraction InteractionType
The correct Interaction type for this FrictionForceSpecies.
virtual std::string getBaseName() const
Used in Species::getName to obtain a unique name for each Species.
bool getUseAngularDOFs() const
Returns true if torques have to be calculated.
void setSlidingFrictionCoefficientStatic(Mdouble new_mu)
Allows the static Coulomb friction coefficient to be changed.
virtual ~SlidingFrictionSpecies()
The default destructor.
void setSlidingStiffness(Mdouble new_kt)
Allows the spring constant to be changed.
void setSlidingFrictionCoefficient(Mdouble new_mu)
Allows the (dynamic) Coulomb friction coefficient to be changed; also sets mu_s by default...
void setCollisionTimeAndNormalAndTangentialRestitutionCoefficient(Mdouble tc, Mdouble eps, Mdouble beta, Mdouble mass)
Sets k, disp, kt, dispt such that it matches a given tc and eps for a collision of two particles of m...
Mdouble slidingDissipation_
tangential dissipation coefficient.
SlidingFrictionSpecies contains the parameters used to describe sliding friction. ...
void write(std::ostream &os) const
Writes the species properties to an output stream.
Mdouble getSlidingStiffness() const
Allows the spring constant to be accessed.
Mdouble getSlidingDissipation() const
Allows the tangential viscosity to be accessed.
void setSlidingDissipation(Mdouble new_dispt)
Allows the tangential viscosity to be changed.
SlidingFrictionSpecies()
The default constructor.
Mdouble slidingFrictionCoefficient_
(dynamic) Coulomb friction coefficient
Mdouble getSlidingFrictionCoefficient() const
Allows the (dynamic) Coulomb friction coefficient to be accessed.