cuboid(const word &name, const scalar m, const vector &c, const vector &L)
Construct from name, mass, centre of mass and lengths of the sides.
scalar m() const
Return the mass of the rigid-body.
const word & name() const
Return name.
const vector & c() const
Return the centre of mass of the rigid-body.