Description
Base class for specifying material properties for contact force generation.
#include <ChContactMaterial.h>

Public Member Functions | |
virtual ChContactMaterial * | Clone () const =0 |
"Virtual" copy constructor. | |
virtual ChContactMethod | GetContactMethod () const =0 |
void | SetStaticFriction (float val) |
Set the static friction coefficient. | |
float | GetStaticFriction () const |
Get the static friction coefficient. | |
void | SetSlidingFriction (float val) |
Set the sliding (kinetic) friction coefficient. | |
float | GetSlidingFriction () const |
Get the sliding friction coefficient. | |
void | SetFriction (float val) |
Set both static friction and sliding friction at once, with same value. | |
void | SetRollingFriction (float val) |
Set the rolling friction coefficient (default: 0). | |
float | GetRollingFriction () const |
Get the rolling friction coefficient. | |
void | SetSpinningFriction (float val) |
Set the spinning friction coefficient (default: 0). | |
float | GetSpinningFriction () const |
Get the roliung friction coefficient. | |
void | SetRestitution (float val) |
Set the ormal coefficient of restitution (default: 0). | |
float | GetRestitution () const |
Get the coefficient of restitution. | |
virtual void | ArchiveOut (ChArchiveOut &archive_out) |
Method to allow serialization of transient data to archives. | |
virtual void | ArchiveIn (ChArchiveIn &archive_in) |
Method to allow deserialization of transient data from archives. | |
Static Public Member Functions | |
static std::shared_ptr< ChContactMaterial > | DefaultMaterial (ChContactMethod contact_method) |
Construct and return a contact material of the specified type with default properties. | |
Protected Member Functions | |
ChContactMaterial (const ChContactMaterial &other) | |
Member Function Documentation
◆ ArchiveIn()
|
virtual |
Method to allow deserialization of transient data from archives.
Reimplemented in chrono::ChContactMaterialNSC, and chrono::ChContactMaterialSMC.
◆ ArchiveOut()
|
virtual |
Method to allow serialization of transient data to archives.
Reimplemented in chrono::ChContactMaterialNSC, and chrono::ChContactMaterialSMC.
◆ Clone()
|
pure virtual |
"Virtual" copy constructor.
Implemented in chrono::ChContactMaterialNSC, and chrono::ChContactMaterialSMC.
◆ SetRestitution()
|
inline |
Set the ormal coefficient of restitution (default: 0).
In the range [0,1].
◆ SetRollingFriction()
|
inline |
Set the rolling friction coefficient (default: 0).
Usually around 1E-3.
◆ SetSpinningFriction()
|
inline |
Set the spinning friction coefficient (default: 0).
Usually around 1E-3.
◆ SetStaticFriction()
|
inline |
Set the static friction coefficient.
Usually in 0..1 range, rarely above. Default 0.6.
The documentation for this class was generated from the following files:
- C:/M/B/src/chrono-9.0.1/src/chrono/physics/ChContactMaterial.h
- C:/M/B/src/chrono-9.0.1/src/chrono/physics/ChContactMaterial.cpp