const word & name() const
Return name.
scalar m() const
Return the mass of the rigid-body.
sphere(const word &name, const scalar m, const vector &c, const scalar r)
Construct from name, mass, centre of mass and radius.
const vector & c() const
Return the centre of mass of the rigid-body.