gustaf.utils.connec.volumes_to_faces#

gustaf.utils.connec.volumes_to_faces(volumes)[source]#

Guidance function for tet_to_tri and hexa_to_quad.

Parameters:

volumes ((n, 4) or (m, 8) np.ndarray)

Returns:

faces

Return type:

(n*4, 3) or (m*6, 4) np.ndarray