discretize.CurvilinearMesh.boundary_face_outward_normals#

property CurvilinearMesh.boundary_face_outward_normals#

Outward normal vectors of boundary faces.

This property returns the outward normal vectors of faces the boundary of the mesh as a numpy array. The shape of the numpy array is the number of boundary faces by the dimension of the mesh.

Returns:
(n_boundary_faces, dim) numpy.ndarray of float

Outward normal vectors of boundary faces