discretize.CurvilinearMesh.face_normals

property CurvilinearMesh.face_normals

Gridded average face normals for all mesh faces.

This property computes and returns a numpy array of shape (n_faces, dim) containing the normal vectors for all mesh faces. For 3D meshes, there are 4 nodes in which cross-products can be used to compute the normal vector. In this case, the average normal vector is returned so there is only 1 vector per face.

Returns
(n_faces, dim) numpy.ndarray of shape

Gridded average face normals for all mesh faces.