From f6d46771664363b4448c53c8399c3fe1da425f59 Mon Sep 17 00:00:00 2001 From: epapoutsellis Date: Thu, 25 Apr 2019 10:09:52 +0100 Subject: Symmetric BlockGeometry --- Wrappers/Python/ccpi/framework/BlockGeometry.py | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) (limited to 'Wrappers') diff --git a/Wrappers/Python/ccpi/framework/BlockGeometry.py b/Wrappers/Python/ccpi/framework/BlockGeometry.py index 7fc5cb8..ed44d99 100755 --- a/Wrappers/Python/ccpi/framework/BlockGeometry.py +++ b/Wrappers/Python/ccpi/framework/BlockGeometry.py @@ -37,16 +37,15 @@ class BlockGeometry(object): containers = [geom.allocate(value) for geom in self.geometries] if symmetry == True: - - # TODO works but needs better coding - + # for 2x2 # [ ig11, ig12\ # ig21, ig22] + # Row-wise Order if len(containers)==4: - containers[1] = containers[2] + containers[1]=containers[2] # for 3x3 # [ ig11, ig12, ig13\ -- cgit v1.2.3