From 80a3e23c973d99d9905bd10d23a770f5a96d4a52 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Ren=C3=A9=20He=C3=9F?= <rene.hess@iwr.uni-heidelberg.de>
Date: Tue, 21 Aug 2018 14:25:37 +0200
Subject: [PATCH] Cleanup code

---
 python/dune/perftool/sumfact/symbolic.py | 17 -----------------
 1 file changed, 17 deletions(-)

diff --git a/python/dune/perftool/sumfact/symbolic.py b/python/dune/perftool/sumfact/symbolic.py
index f2fbcb76..fb283a05 100644
--- a/python/dune/perftool/sumfact/symbolic.py
+++ b/python/dune/perftool/sumfact/symbolic.py
@@ -417,23 +417,6 @@ class SumfactKernel(SumfactKernelBase, ImmutableRecord, prim.Variable):
         if len(self.matrix_sequence) == local_dimension():
             return tuple(prim.Variable(i) for i in quad_inames)
 
-        # # Extremly ugly. This is the special case of being on an intersection
-        # # and generating a SF kernel for the geometry evaluation of one of the
-        # # neighboring cells. This screws the usual setup since the SF sequence
-        # # is not equal to the local dimension.
-        # #
-        # # TODO: Vectorization is probably broken for this case!
-        # count_sf_sequence_length = 0
-        # for d in range(world_dimension()):
-        #     if self.matrix_sequence[d].face is not None:
-        #         count_sf_sequence_length += 1
-        # if count_sf_sequence_length != local_dimension():
-        #     from dune.perftool.sumfact.quadrature import global_quadrature_inames
-        #     quad_inames = global_quadrature_inames(element)
-
-        #     for d in range(world_dimension()):
-        #         print(self.matrix_sequence[d].face)
-
         # Traverse all the quadrature inames and map them to their correct direction
         index = []
         i = 0
-- 
GitLab