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

#include <CHbodyDEMMPI.h>

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

List of all members.

Public Member Functions

 CH_RTTI (ChBodyDEMMPI, ChBodyDEM)
 ChBodyDEMMPI ()
 ~ChBodyDEMMPI ()
virtual void InjectVariables (ChLcpSystemDescriptor &mdescriptor)
virtual void Update (double mytime)
virtual void Update ()
void UpdateForces (double mytime, bool incr)
int GetOverlapFlags ()
int ComputeOverlapFlags (ChDomainNodeMPIlattice3D &mnode)
void StreamIN (ChStreamInBinary &mstream)
void StreamOUT (ChStreamOutBinary &mstream)
int & LastShared ()

Detailed Description

Class for rigid bodies that can be used in MPI. These are able to cross boundaries of domain decomposition.


Member Function Documentation

void chrono::ChBodyDEMMPI::InjectVariables ( ChLcpSystemDescriptor mdescriptor) [virtual]

Tell to a system descriptor that there are variables of type ChLcpVariables in this object (for further passing it to a LCP solver). When the ChLcpSystemDescriptor is a ChSystemDescriptorMPIlattice3D special type, it also sets the 'shared variables' information into it.

Reimplemented from chrono::ChBody.

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

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

Reimplemented from chrono::ChBodyDEM.

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

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

Reimplemented from chrono::ChBodyDEM.

void chrono::ChBodyDEMMPI::Update ( double  mytime) [virtual]

Update all auxiliary data of the rigid body and of its children (markers, forces..), at given time

Reimplemented from chrono::ChBody.

void chrono::ChBodyDEMMPI::Update ( void  ) [virtual]

Update all auxiliary data of the rigid body and of its children (markers, forces..)

Reimplemented from chrono::ChBody.

void chrono::ChBodyDEMMPI::UpdateForces ( double  mytime,
bool  incr 
)

Update all children forces of the rigid body, at current body state. If incr=true, add the body forces (gravity, forces, accumulators, scripts) If incr=false, reset the forces to 0.


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