From 2887edaad6958aa47639b1e02296757c94e626ea Mon Sep 17 00:00:00 2001
From: Marcel Koch <marcel.koch@web.de>
Date: Thu, 18 Jan 2018 15:42:28 +0100
Subject: [PATCH] reverts iname order to be consistent with definition of array
 alias

---
 python/dune/perftool/blockstructured/spaces.py | 2 +-
 python/dune/perftool/blockstructured/tools.py  | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/python/dune/perftool/blockstructured/spaces.py b/python/dune/perftool/blockstructured/spaces.py
index 57bd9911..9f04f3ca 100644
--- a/python/dune/perftool/blockstructured/spaces.py
+++ b/python/dune/perftool/blockstructured/spaces.py
@@ -20,4 +20,4 @@ def lfs_inames(element, restriction, count=None, context=''):
     for i in range(world_dimension()):
         inames = inames + (name+dim_names[i],)
         domain(name+dim_names[i], element.degree() + 1)
-    return inames
+    return inames[-1::-1]
diff --git a/python/dune/perftool/blockstructured/tools.py b/python/dune/perftool/blockstructured/tools.py
index a0e4c3a3..675af348 100644
--- a/python/dune/perftool/blockstructured/tools.py
+++ b/python/dune/perftool/blockstructured/tools.py
@@ -25,7 +25,7 @@ def sub_element_inames():
     for i in range(dim):
         inames = inames + ("subel_"+dim_names[i],)
         domain("subel_"+dim_names[i], get_option("number_of_blocks"))
-    return inames
+    return inames[-1::-1]
 
 
 # define inames for boundary integration
-- 
GitLab