pysdic.Mesh.compute_elements_normals#

Mesh.compute_elements_normals()[source]#

Compute the unit normal of each element of a 3D surface mesh (\(K = 2\), \(E = 3\)), at the center of the element.

Shortcut for pysdic.fem.compute_elements_normals() with the coordinates, connectivity and element type of the mesh.

Returns:

An array of shape \((N_e, 3)\) with the unit normal of each element (NaN for the degenerated elements).

Return type:

numpy.ndarray