diff options
author | epapoutsellis <epapoutsellis@gmail.com> | 2019-04-25 10:09:52 +0100 |
---|---|---|
committer | epapoutsellis <epapoutsellis@gmail.com> | 2019-04-25 10:09:52 +0100 |
commit | f6d46771664363b4448c53c8399c3fe1da425f59 (patch) | |
tree | 8a97a74fb899fc9d273b982319d089b2e73a6fe6 /Wrappers | |
parent | e021cf74ab461bc72ecc42543852d119bfcd4549 (diff) | |
download | framework-f6d46771664363b4448c53c8399c3fe1da425f59.tar.gz framework-f6d46771664363b4448c53c8399c3fe1da425f59.tar.bz2 framework-f6d46771664363b4448c53c8399c3fe1da425f59.tar.xz framework-f6d46771664363b4448c53c8399c3fe1da425f59.zip |
Symmetric BlockGeometry
Diffstat (limited to 'Wrappers')
-rwxr-xr-x | Wrappers/Python/ccpi/framework/BlockGeometry.py | 7 |
1 files changed, 3 insertions, 4 deletions
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\
|