mymesh.converter.pyr132linear#
- mymesh.converter.pyr132linear(NodeCoords, NodeConn)[source]#
Converts a 13-node pyramid mesh to a 5-node pyramid mesh. Assumes a 13-node pyramid numbering scheme where the first 5 nodes define the pyramid vertices, the remaining nodes are thus neglected.
- Parameters:
NodeCoords (array_like) – List of nodal coordinates.
NodeConn (array_like) – Nodal connectivities for a 13-Node pyramid mesh
- Returns:
NodeCoords (array_like) – List of nodal coordinates (unchanged from input).
NodeConn (np.ndarray) – Nodal connectivities for the equivalent 5-Node pyramid mesh