cashocs.geometry.mesh_handler.check_mesh_quality_tolerance#

cashocs.geometry.mesh_handler.check_mesh_quality_tolerance(mesh_quality: float, tolerance: float) None[source]#

Compares the current mesh quality with the (upper) tolerance.

This function raises an appropriate exception, when the mesh quality is not sufficiently high.

Parameters:
  • mesh_quality (float) – The current mesh quality.

  • tolerance (float) – The upper mesh quality tolerance.

Return type:

None