From 7960caae1c00d66078748ae9a2c74af484b0243e Mon Sep 17 00:00:00 2001
From: Dominic Kempf <dominic.kempf@iwr.uni-heidelberg.de>
Date: Mon, 2 Oct 2017 17:14:11 +0200
Subject: [PATCH] Generate skeleton kernels for the upper boundary of the
 domain

Which play well with the latest change to not assemble on the overlap.
---
 python/dune/perftool/sumfact/switch.py | 7 +++++--
 1 file changed, 5 insertions(+), 2 deletions(-)

diff --git a/python/dune/perftool/sumfact/switch.py b/python/dune/perftool/sumfact/switch.py
index 6b81cfaa..592cfee2 100644
--- a/python/dune/perftool/sumfact/switch.py
+++ b/python/dune/perftool/sumfact/switch.py
@@ -58,8 +58,11 @@ def decide_if_kernel_is_necessary(facedir_s, facemod_s, facedir_n, facemod_n):
 
     # The PDELab machineries visit-once policy combined with Yasp avoids any visits
     # with facemod_s being True
-    if facemod_s:
-        return False
+    # NB: This is not true anymore for parallel computations, as we would like to
+    #     skip computations on the overlap and that requires us to visit intersections
+    #     on the right/upper part of the domain from within the domain.
+    #if facemod_s:
+    #    return False
 
     # A codim1 entity can never be on the upper resp. lower side of the ref element
     # in both inside and outside cell in a YaspGrid
-- 
GitLab