This specialised rigidBody holds the original body after it has been merged into a master.
void write(Ostream &) const
Write.
autoPtr< subBody > clone() const
Return clone of this subBody.
subBody(const autoPtr< rigidBody > &bodyPtr, const word &masterName, const label masterID, const spatialTransform &masterXT)
Construct a merged version of the given rigidBody.
const spatialTransform & masterXT() const
Return the transform with respect to the master body.
const word & masterName() const
Return the master body name.
const rigidBody & body() const
Return the original body from which this sub-body was constructed.
const word & name() const
Return the body name.
label masterIndex() const
Return the master body Id.