pyFM.spectral.projection_utils.compute_lmax

pyFM.spectral.projection_utils.compute_lmax(vert_emb, faces)

Compute the maximum edge length of each face.

Parameters:
  • vert_emb ((n1, p) np.ndarray) – Coordinates of the mesh vertices.

  • faces ((m1, 3) np.ndarray) – Faces of the mesh defined as indices of vertices.

Returns:

lmax – Maximum edge length for each face.

Return type:

(m1,) np.ndarray