aboutsummaryrefslogtreecommitdiff
path: root/libcrystfel
diff options
context:
space:
mode:
Diffstat (limited to 'libcrystfel')
-rw-r--r--libcrystfel/src/symmetry.c12
1 files changed, 12 insertions, 0 deletions
diff --git a/libcrystfel/src/symmetry.c b/libcrystfel/src/symmetry.c
index 68278b96..ba0f9f81 100644
--- a/libcrystfel/src/symmetry.c
+++ b/libcrystfel/src/symmetry.c
@@ -517,6 +517,17 @@ static SymOpList *make_4mmm()
}
+static SymOpList *make_4mmm_uaa()
+{
+ SymOpList *new = new_symoplist();
+ add_symop(new, v(1,0,0,0), v(0,0,0,1), v(0,-1,0,0), 4); /* 4 // h */
+ 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 -| h */
+ new->name = strdup("4/mmm_uaa");
+ return expand_ops(new);
+}
+
+
/************************** Trigonal (Rhombohedral) ***************************/
static SymOpList *make_3_R()
@@ -828,6 +839,7 @@ SymOpList *get_pointgroup(const char *sym)
if ( strcmp(sym, "4") == 0 ) return make_4();
if ( strcmp(sym, "-4") == 0 ) return make_4bar();
if ( strcmp(sym, "4/mmm") == 0 ) return make_4mmm();
+ if ( strcmp(sym, "4/mmm_uaa") == 0 ) return make_4mmm_uaa();
if ( strcmp(sym, "422") == 0 ) return make_422();
if ( strcmp(sym, "-42m") == 0 ) return make_4bar2m();
if ( strcmp(sym, "-4m2") == 0 ) return make_4barm2();