mymesh.quality.InverseOrthogonality#
- mymesh.quality.InverseOrthogonality(NodeCoords, NodeConn, verbose=False)[source]#
Calculates element inverse orthogonality for each element in the mesh. For all element types, inverse orthogonality is calculated as 1-orthogonality.
Inverse orthogonality ranges from 0 to 1, with 0 being the best element quality and 1 being the worst.
This definition of Inverse Orthogonality comes from Ansys.
- Parameters:
NodeCoords (list) – List of nodal coordinates.
NodeConn (list) – List of nodal connectivities.
verbose (bool, optional) – If true, will print min, max, and mean element quality, by default False.
- Returns:
iortho – Array of inverse orthogonalities for each element.
- Return type:
np.ndarray