fem.corner_tet_volumes

fem.corner_tet_volumes(points, cells)

Signed corner-tetrahedron volumes (determinants) of each hex.

Parameters

Name Type Description Default
points np.ndarray Vertex positions, (N, 3). required
cells np.ndarray HEX8 connectivity, (C, 8). required

Returns

Name Type Description
np.ndarray Determinants shaped (C, 8); all positive for well-oriented,
np.ndarray non-inverted hexes.