From 8d59a62b9f52f742bd02309276c2beaecca98250 Mon Sep 17 00:00:00 2001
From: Dominic Kempf <dominic.kempf@iwr.uni-heidelberg.de>
Date: Tue, 30 Jan 2018 13:58:50 +0100
Subject: [PATCH] Remove obsolete usage of driver data

---
 python/dune/perftool/pdelab/driver/__init__.py | 3 +--
 1 file changed, 1 insertion(+), 2 deletions(-)

diff --git a/python/dune/perftool/pdelab/driver/__init__.py b/python/dune/perftool/pdelab/driver/__init__.py
index b26af235..ab34d8d8 100644
--- a/python/dune/perftool/pdelab/driver/__init__.py
+++ b/python/dune/perftool/pdelab/driver/__init__.py
@@ -240,8 +240,7 @@ def generate_driver():
     if get_option("opcounter") or get_option("performance_measuring"):
         if get_option("performance_measuring"):
             assert(not get_option("opcounter"))
-        assert(any(_driver_data['form'].ufl_cell().cellname() in x for x in
-                   ["vertex", "interval", "quadrilateral", "hexahedron"]))
+        assert(isQuadrilateral(get_cell()))
         # In case of operator counting we only assemble the matrix and evaluate the residual
         # assemble_matrix_timer()
         from dune.perftool.pdelab.driver.timings import apply_jacobian_timer, evaluate_residual_timer
-- 
GitLab