aboutsummaryrefslogtreecommitdiff
path: root/src/symmetry.c
diff options
context:
space:
mode:
authorThomas White <taw@physics.org>2010-06-30 15:39:55 +0200
committerThomas White <taw@physics.org>2012-02-22 15:26:51 +0100
commit69b720921f2c43f86ac305c1aa8be90c195d3d4c (patch)
treecc1c779a73e7586a6b703bf6a8570ab61ec8410b /src/symmetry.c
parentb4664d394beac2fe7f2810f0687625a4bbc3af50 (diff)
Add point group "1"
Diffstat (limited to 'src/symmetry.c')
-rw-r--r--src/symmetry.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/symmetry.c b/src/symmetry.c
index a3c3ac48..58e38503 100644
--- a/src/symmetry.c
+++ b/src/symmetry.c
@@ -58,9 +58,10 @@ static int check_cond(signed int h, signed int k, signed int l, const char *sym)
* e.g. l==0 has fewer equivalent reflections */
int num_equivs(signed int h, signed int k, signed int l, const char *sym)
{
- if ( strcmp(sym, "6/mmm") == 0 ) return 24;
+ if ( strcmp(sym, "1") == 0 ) return 1;
if ( strcmp(sym, "6") == 0 ) return 6;
if ( strcmp(sym, "6/m") == 0 ) return 12;
+ if ( strcmp(sym, "6/mmm") == 0 ) return 24;
/* TODO: Add more groups here */
return 1;