def MinCellEdgeLength(mesh: cpp.mesh.Mesh) -> ufl.MinCellEdgeLength: """Return symbolic minimum cell edge length of a cell for given mesh. *Example of usage* .. code-block:: python mesh = UnitSquare(4,4) mince = MinCellEdgeLength(mesh) """ return ufl.MinCellEdgeLength(mesh.ufl_domain())
def MinCellEdgeLength(mesh): """Return symbolic minimum cell edge length of a cell for given mesh. *Arguments* mesh a :py:class:`Mesh <dolfin.cpp.Mesh>`. *Example of usage* .. code-block:: python mesh = UnitSquare(4,4) mince = MinCellEdgeLength(mesh) """ return ufl.MinCellEdgeLength(_mesh2domain(mesh))