cashocs.geometry.quality.ConditionNumberCalculator#
- class cashocs.geometry.quality.ConditionNumberCalculator[source]#
Bases:
MeshQualityCalculator
Implements the condition number quality measure.
Methods Summary
compute
(mesh)Computes the condition number quality for each cell.
Methods Documentation
- compute(mesh: fenics.Mesh) ndarray [source]#
Computes the condition number quality for each cell.
This quality criterion uses the condition number (in the Frobenius norm) of the (linear) mapping from the elements of the mesh to the reference element.
- Parameters:
mesh (fenics.Mesh) – The mesh, whose quality shall be computed.
- Returns:
The condition numbers of the elements on process 0.
- Return type:
ndarray