mymesh.utils.TetMeshVol#
- mymesh.utils.TetMeshVol(NodeCoords, NodeConn)[source]#
Calculates the volume contained within a tetrahedral mesh
- Parameters:
NodeCoords (list of lists) – Contains coordinates for each node. Ex. [[x1,y1,z1],…].
NodeConn (List of lists) – Nodal connectivity list for a tetrahedral mesh.
- Returns:
V – Volume contained within the tetrahedral mesh.
- Return type:
float