37 #ifndef momentOfInertia_H
38 #define momentOfInertia_H
A 1D array of objects of type <T>, where the size of the vector is known and used for subscript bound...
Calculates the inertia tensor and principal axes and moments of a polyhedra/cells/triSurfaces....
static tensor applyParallelAxisTheorem(scalar mass, const vector &cM, const tensor &J, const vector &refPt)
static tmp< tensorField > meshInertia(const polyMesh &mesh)
static void massPropertiesShell(const pointField &pts, const triFaceList &triFaces, scalar density, scalar &mass, vector &cM, tensor &J)
static void massPropertiesSolid(const pointField &pts, const triFaceList &triFaces, scalar density, scalar &mass, vector &cM, tensor &J)
Mesh consisting of general polyhedral cells.
A class for managing temporary objects.
Triangulated surface description with patch information.
intWM_LABEL_SIZE_t label
A label is an int32_t or int64_t as specified by the pre-processor macro WM_LABEL_SIZE.