chrono::ChContactMaterialData Class Reference

Description

Material information for a collision shape.

Provides mechanism for creating a contact material of appropriate type for a particular contact formulation (SMC or NSC).

#include <ChContactMaterial.h>

Public Member Functions

 ChContactMaterialData ()
 Define default properties for contact material information.
 
 ChContactMaterialData (float mu, float cr, float Y, float nu, float kn, float gn, float kt, float gt)
 Define contact material data with provided properties.
 
std::shared_ptr< ChContactMaterialCreateMaterial (ChContactMethod contact_method) const
 Construct a contact material, consistent with the specified method, using the current data.
 
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.
 

Public Attributes

float mu
 coefficient of friction
 
float cr
 coefficient of restitution
 
float Y
 Young's modulus.
 
float nu
 Poisson ratio.
 
float kn
 normal stiffness
 
float gn
 normal viscous damping
 
float kt
 tangential stiffness
 
float gt
 tangential viscous damping
 

The documentation for this class was generated from the following files:
  • /builds/uwsbel/chrono/src/chrono/physics/ChContactMaterial.h
  • /builds/uwsbel/chrono/src/chrono/physics/ChContactMaterial.cpp