diff --git a/python/dune/perftool/pdelab/localoperator.py b/python/dune/perftool/pdelab/localoperator.py index 244a1cae99c5039af24792d5a2af75c5d2e28efd..4873920b2901f812bbe06e01f233c0f9d3423630 100644 --- a/python/dune/perftool/pdelab/localoperator.py +++ b/python/dune/perftool/pdelab/localoperator.py @@ -158,6 +158,9 @@ def localoperator_basename(form_ident): def name_gridfunction_member(coeff, restriction, diffOrder=0): + # We reuse the grid function for volume integrals in skeleton integrals + if restriction == Restriction.NEGATIVE: + restriction = Restriction.NONE restr = "_n" if restriction == Restriction.POSITIVE else "" name = "local_gridfunction_coeff{}_diff{}{}".format(coeff.count(), diffOrder, restr) define_gridfunction_member(name, coeff, restriction, diffOrder)