diff options
author | Thomas White <taw@physics.org> | 2011-07-27 17:50:29 +0200 |
---|---|---|
committer | Thomas White <taw@physics.org> | 2012-02-22 15:27:34 +0100 |
commit | f517f89bcb957f2e4be87e218f8cc5aa0a6249d0 (patch) | |
tree | a1ae4a253b7de68bc837d1579456973ecc08102c /src | |
parent | 78cf3f70cc9f74399358e565281068ef08b95309 (diff) |
Use unique axis "c" for monoclinic cells, to make the coset decomposition work
Diffstat (limited to 'src')
-rw-r--r-- | src/symmetry.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/symmetry.c b/src/symmetry.c index 8f88b69d..cbc442b7 100644 --- a/src/symmetry.c +++ b/src/symmetry.c @@ -369,8 +369,8 @@ static SymOpList *make_1() static SymOpList *make_2m() { SymOpList *new = new_symoplist(); - add_symop(new, v(-1,0,0,0), v(0,1,0,0), v(0,0,0,-1), 2); /* 2 // k */ - add_symop(new, v(1,0,0,0), v(0,-1,0,0), v(0,0,0,1), 2); /* m -| k */ + add_symop(new, v(-1,0,0,0), v(0,-1,0,0), v(0,0,0,1), 2); /* 2 // l */ + add_symop(new, v(1,0,0,0), v(0,1,0,0), v(0,0,0,-1), 2); /* m -| l */ new->name = strdup("2/m"); return expand_ops(new); } @@ -379,7 +379,7 @@ static SymOpList *make_2m() static SymOpList *make_2() { SymOpList *new = new_symoplist(); - add_symop(new, v(-1,0,0,0), v(0,1,0,0), v(0,0,0,-1), 2); /* 2 // k */ + add_symop(new, v(-1,0,0,0), v(0,-1,0,0), v(0,0,0,1), 2); /* 2 // l */ new->name = strdup("2"); return expand_ops(new); } @@ -388,7 +388,7 @@ static SymOpList *make_2() static SymOpList *make_m() { SymOpList *new = new_symoplist(); - add_symop(new, v(1,0,0,0), v(0,-1,0,0), v(0,0,0,1), 2); /* m -| k */ + add_symop(new, v(1,0,0,0), v(0,1,0,0), v(0,0,0,-1), 2); /* m -| l */ new->name = strdup("m"); return expand_ops(new); } |