VolMesh.halfface_normal

VolMesh.halfface_normal(face, unitized=True)

Compute the oriented normal of a face.

Parameters
  • face (int) – The identifier of the face.

  • unitized (bool, optional) – Unitize the normal vector. Default is True.

Returns

list – The components of the normal vector.