dolfin.functions.specialfunctions.
CellDiameter
Return function cell diameter for given mesh.
Note that diameter of cell \(K\) is defined as \(\sup_{\mathbf{x,y}\in K} |\mathbf{x-y}|\).
Mesh
Example of usage
mesh = UnitSquare(4,4) h = CellDiameter(mesh)