def MinFacetEdgeLength(mesh: cpp.mesh.Mesh) -> ufl.MinFacetEdgeLength: """Return symbolic minimum facet edge length of a cell for given mesh. *Example of usage* .. code-block:: python mesh = UnitSquare(4,4) vol = MinFacetEdgeLength(mesh) """ return ufl.MinFacetEdgeLength(mesh.ufl_domain())
def MinFacetEdgeLength(mesh): """ Return symbolic minimum facet 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) vol = MinFacetEdgeLength(mesh) """ return ufl.MinFacetEdgeLength(_mesh2domain(mesh))