diff --git a/python/dune/perftool/pdelab/localoperator.py b/python/dune/perftool/pdelab/localoperator.py index 727b7ae35fae4ef86fe1a6884204d4cbf3acfb2f..5e9032060236d9fd0501701d7d1f5840381bfac2 100644 --- a/python/dune/perftool/pdelab/localoperator.py +++ b/python/dune/perftool/pdelab/localoperator.py @@ -740,7 +740,7 @@ def local_operator_default_settings(operator, form): # Set some options! from dune.perftool.pdelab.driver import isQuadrilateral - if isQuadrilateral(form.arguments()[0].ufl_element().cell()): + if isQuadrilateral(form.arguments()[0].ufl_element().cell()) and not get_option("grid_unstructured"): from dune.perftool.options import set_form_option # For Yasp Grids the jacobian of the transformation is diagonal and constant on each cell set_form_option('diagonal_transformation_matrix', True)