chrono::fea::ChContactSurface Class Referenceabstract

Description

Base class for contact surfaces in FEA meshes.

Use children classes like ChContactSurfaceNodeCloud or ChContactSurfaceMesh that implement practical functionalities. The contact surface has a material of ChMaterialSurfaceBase type (DVI material by default, but it can be also switched to a DEM material, etc, using Set).

#include <ChContactSurface.h>

Inheritance diagram for chrono::fea::ChContactSurface:
Collaboration diagram for chrono::fea::ChContactSurface:

Public Member Functions

 ChContactSurface (ChMesh *parentmesh=0)
 
ChMeshGetMesh ()
 Get owner mesh.
 
void SetMesh (ChMesh *mm)
 Set owner mesh.
 
void SetMaterialSurface (const std::shared_ptr< ChMaterialSurfaceBase > &mnewsurf)
 Set the material surface for 'boundary contact'.
 
virtual std::shared_ptr
< ChMaterialSurfaceBase > & 
GetMaterialSurfaceBase ()
 Set the material surface for 'boundary contact'.
 
virtual void SurfaceSyncCollisionModels ()=0
 Functions to interface this with ChPhysicsItem container.
 
virtual void SurfaceAddCollisionModelsToSystem (ChSystem *msys)=0
 
virtual void SurfaceRemoveCollisionModelsFromSystem (ChSystem *msys)=0
 

Protected Attributes

std::shared_ptr
< ChMaterialSurfaceBase
matsurface
 material for contacts
 
ChMeshmmesh