MULTIBODY SIMULATION SOFTWARE - API documentation
Public Member Functions
chrono::ChBodyDEM Class Reference

#include <CHbodyDEM.h>

Inheritance diagram for chrono::ChBodyDEM:
Inheritance graph
[legend]
Collaboration diagram for chrono::ChBodyDEM:
Collaboration graph
[legend]

List of all members.

Public Member Functions

 ChBodyDEM ()
 ~ChBodyDEM ()
void Copy (ChBodyDEM *source)
virtual ChCollisionModelInstanceCollisionModel ()
float GetSpringCoefficient ()
void SetSpringCoefficient (float mval)
float GetDampingCoefficient ()
void SetDampingCoefficient (float mval)
float GetSpringCoefficientTangential ()
void SetSpringCoefficientTangential (float mval)
void StreamIN (ChStreamInBinary &mstream)
void StreamOUT (ChStreamOutBinary &mstream)
int StreamOUTall (ChStreamOutBinary &m_file)
int StreamINall (ChStreamInBinary &m_file)

Detailed Description

Class for rigid bodies. A rigid body is an entity which can move in 3D space, and can be constrained to other rigid bodies using ChLink objects. These objects have mass and inertia properties. A shape can also be associated to the body, for collision detection.


Constructor & Destructor Documentation

chrono::ChBodyDEM::ChBodyDEM ( )

Build a rigid body.

CLASS FOR SOLID BODIES.


Member Function Documentation

void chrono::ChBodyDEM::Copy ( ChBodyDEM source)

Copy from another ChBodyDEM. NOTE: all settings of the body are copied, but the child hierarchy of ChForces and ChMarkers (if any) are NOT copied.

float chrono::ChBodyDEM::GetDampingCoefficient ( )

The damping coefficient for DEM contacts. Default 420.0

float chrono::ChBodyDEM::GetSpringCoefficient ( )

The spring coefficient for DEM contacts. Default 392400.0

float chrono::ChBodyDEM::GetSpringCoefficientTangential ( )

The spring coefficient for DEM friction. Default 392400.0

void chrono::ChBodyDEM::StreamIN ( ChStreamInBinary mstream) [virtual]

accumulate force on this body, or reset the force to zero

Method to allow deserializing a persistent binary archive (ex: a file) into transient data.

Reimplemented from chrono::ChBody.

Reimplemented in chrono::ChBodyDEMMPI.

void chrono::ChBodyDEM::StreamOUT ( ChStreamOutBinary mstream) [virtual]

Method to allow serializing transient data into a persistent binary archive (ex: a file).

Reimplemented from chrono::ChBody.

Reimplemented in chrono::ChBodyDEMMPI.


CHRONO::ENGINE
C++ library for multibody simulation, (C) Alessandro Tasora
This API documentation has been generated on Tue Jul 10 2012 by Doxygen