mymesh.utils.CalcFaceNormal#

mymesh.utils.CalcFaceNormal(NodeCoords, SurfConn)[source]#

Calculates normal vectors on the faces of a triangular surface mesh. Assumes triangles are in counter-clockwise when viewed from the outside

Parameters:
  • NodeCoords (list) – List of nodal coordinates.

  • SurfConn (list) – Nodal connectivity list of a triangular surface mesh.

Returns:

List of element surface normals .

Return type:

ElemNormals list