44 #ifdef DEBUG_CONSTRUCTOR
45 std::cout<<
"MindlinRollingTorsionSpecies::MindlinRollingTorsionSpecies() finished"<<std::endl;
63 #ifdef DEBUG_CONSTRUCTOR
64 std::cout<<
"MindlinRollingTorsionSpecies::MindlinRollingTorsionSpecies(const MindlinRollingTorsionSpecies &p) finished"<<std::endl;
70 #ifdef DEBUG_DESTRUCTOR
71 std::cout<<
"MindlinRollingTorsionSpecies::~MindlinRollingTorsionSpecies() finished"<<std::endl;
171 std::cerr <<
"Error in setRollingDissipation" << std::endl;
192 std::cerr <<
"Error in setSlidingFrictionCoefficient" << std::endl;
212 std::cerr <<
"Error in setSlidingFrictionCoefficientStatic" << std::endl;
251 std::cerr <<
"Error in setTorsionDissipation" << std::endl;
272 std::cerr <<
"Error in setSlidingFrictionCoefficient" << std::endl;
292 std::cerr <<
"Error in setSlidingFrictionCoefficientStatic" << std::endl;
void setTorsionFrictionCoefficient(Mdouble new_mu)
Allows the (dynamic) Coulomb torsion friction coefficient to be changed; also sets mu_s by default...
void write(std::ostream &os) const override
Writes the species properties to an output stream.
void setRollingDissipation(Mdouble new_dispt)
Allows the spring constant to be changed.
void read(std::istream &is) override
Reads the species properties from an input stream.
Mdouble rollingDissipation_
rolling dissipation coefficient.
Mdouble getTorsionFrictionCoefficient() const
Allows the (dynamic) Coulomb torsion friction coefficient to be accessed.
MindlinRollingTorsionSpecies()
The default constructor.
Mdouble getRollingFrictionCoefficient() const
Allows the (dynamic) Coulomb friction coefficient to be accessed.
Mdouble getRollingDissipation() const
Allows the tangential viscosity to be accessed.
MindlinSpecies contains the parameters used to describe sliding friction.
Mdouble torsionFrictionCoefficientStatic_
static Coulomb torsion friction coefficient (by default set equal to the dynamic one).
void setRollingFrictionCoefficient(Mdouble new_mu)
Allows the (dynamic) Coulomb friction coefficient to be changed; also sets mu_s by default...
virtual ~MindlinRollingTorsionSpecies()
The default destructor.
Mdouble torsionFrictionCoefficient_
(dynamic) Coulomb torsion friction coefficient.
void setTorsionFrictionCoefficientStatic(Mdouble new_mu)
Allows the static Coulomb torsion friction coefficient to be accessed.
void mix(MindlinRollingTorsionSpecies *const S, MindlinRollingTorsionSpecies *const T)
creates default values for mixed species
Mdouble average(Mdouble a, Mdouble b)
defines the average of two variables by the harmonic mean.
Mdouble getTorsionFrictionCoefficientStatic() const
Allows the static Coulomb torsion friction coefficient to be accessed.
Mdouble torsionDissipation_
rolling dissipation coefficient.
void read(std::istream &is) override
Reads the species properties from an input stream.
Mdouble torsionStiffness_
rolling stiffness.
bool getUseAngularDOFs() const override
Returns true if torques have to be calculated.
Mdouble getTorsionDissipation() const
Allows the torsion viscosity to be accessed.
Mdouble getRollingFrictionCoefficientStatic() const
Allows the static Coulomb rolling friction coefficient to be accessed.
Mdouble rollingFrictionCoefficient_
(dynamic) Coulomb rolling friction coefficient.
void setTorsionDissipation(Mdouble new_dispt)
Allows the torsion viscosity to be changed.
Defines the basic properties that a interactable object can have.
std::string getBaseName() const override
Used in Species::getName to obtain a unique name for each Species.
void write(std::ostream &os) const override
Writes the species properties to an output stream.
void setRollingFrictionCoefficientStatic(Mdouble new_mu)
Allows the static Coulomb rolling friction coefficient to be changed.
MindlinRollingTorsionSpecies contains the parameters used to describe sliding, rolling and torsional ...
Mdouble rollingFrictionCoefficientStatic_
static Coulomb rolling friction coefficient (by default set equal to the dynamic one).
Mdouble rollingStiffness_
rolling stiffness.