compositeBody(const autoPtr< rigidBody > &bodyPtr)
Construct a merged version of the given rigidBody.
virtual autoPtr< rigidBody > clone() const
Return clone of this compositeBody.
const rigidBody & body() const
Return the original body from which this composite-body.
virtual const word & type() const
Return the type name of the original body.
rigidBody(const word &name, const scalar &m, const vector &c, const symmTensor &Ic)
Construct from mass, centre of mass and moment of inertia tensor.