From 0a8a7cd589af01e40dad93c928fb8cba2f3be96c Mon Sep 17 00:00:00 2001
From: Dominic Kempf <dominic.r.kempf@gmail.com>
Date: Tue, 1 Sep 2015 14:01:48 +0200
Subject: [PATCH] Add 2 new modules

---
 python/dune/perftool/pdelab_names.py | 4 ++++
 python/dune/perftool/restriction.py  | 4 ++++
 2 files changed, 8 insertions(+)
 create mode 100644 python/dune/perftool/pdelab_names.py
 create mode 100644 python/dune/perftool/restriction.py

diff --git a/python/dune/perftool/pdelab_names.py b/python/dune/perftool/pdelab_names.py
new file mode 100644
index 00000000..ec0c7aea
--- /dev/null
+++ b/python/dune/perftool/pdelab_names.py
@@ -0,0 +1,4 @@
+_namedict = {"quadrature_factor": "fac"}
+
+def name(key):
+    return _namedict[key]
\ No newline at end of file
diff --git a/python/dune/perftool/restriction.py b/python/dune/perftool/restriction.py
new file mode 100644
index 00000000..fa06bca3
--- /dev/null
+++ b/python/dune/perftool/restriction.py
@@ -0,0 +1,4 @@
+class Restriction:
+    NONE = 0
+    POSITIVE = 1
+    NEGATIVE = 2
\ No newline at end of file
-- 
GitLab