diff --git a/python/dune/perftool/blockstructured/geometry.py b/python/dune/perftool/blockstructured/geometry.py index 29fc849aa0a30a662dbd9878a58da4e100d07e1d..3211d051badb600050f264b1ec4553ff6497e3db 100644 --- a/python/dune/perftool/blockstructured/geometry.py +++ b/python/dune/perftool/blockstructured/geometry.py @@ -282,7 +282,10 @@ def pymbolic_facet_jacobian_determinant(): # translate a point in the micro element into macro coordinates def define_point_in_macro(name, point_in_micro): dim = local_dimension() - temporary_variable(name, shape=(dim,), managed=True) + if get_form_option('vectorization_blockstructured'): + temporary_variable(name, shape=(dim,), managed=True) + else: + temporary_variable(name, shape=(dim,), shape_impl=('fv',)) # point_macro = (point_micro + index_micro) / number_of_blocks # where index_micro = tensor index of the micro element