Skip to content
Snippets Groups Projects
Commit 3a157644 authored by René Heß's avatar René Heß
Browse files

Do not set constant/diagonal_transformation for unstructured grids

parent c412ba7f
No related branches found
No related tags found
No related merge requests found
...@@ -740,7 +740,7 @@ def local_operator_default_settings(operator, form): ...@@ -740,7 +740,7 @@ def local_operator_default_settings(operator, form):
# Set some options! # Set some options!
from dune.perftool.pdelab.driver import isQuadrilateral 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 from dune.perftool.options import set_form_option
# For Yasp Grids the jacobian of the transformation is diagonal and constant on each cell # For Yasp Grids the jacobian of the transformation is diagonal and constant on each cell
set_form_option('diagonal_transformation_matrix', True) set_form_option('diagonal_transformation_matrix', True)
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment