| MULTIBODY SIMULATION SOFTWARE - API documentation |
#include <CHbodyDEM.h>


Public Member Functions | |
| ChBodyDEM () | |
| ~ChBodyDEM () | |
| void | Copy (ChBodyDEM *source) |
| virtual ChCollisionModel * | InstanceCollisionModel () |
| 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) |
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.
| chrono::ChBodyDEM::ChBodyDEM | ( | ) |
Build a rigid body.
CLASS FOR SOLID BODIES.
| 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