aboutsummaryrefslogtreecommitdiff
path: root/src/symmetry.c
diff options
context:
space:
mode:
authorThomas White <taw@physics.org>2010-11-11 17:36:48 +0100
committerThomas White <taw@physics.org>2012-02-22 15:27:05 +0100
commit74cfb2b2bf47bbdf15b694b62399811ad641e2b1 (patch)
treeec1a54cbaece002d6cb141fad970ffedb6fea82e /src/symmetry.c
parent30012bfefa8c388c86b1fe0078fc3665798cfcc8 (diff)
process_hkl: Take input ("apparent") symmetry on command line
Diffstat (limited to 'src/symmetry.c')
-rw-r--r--src/symmetry.c25
1 files changed, 0 insertions, 25 deletions
diff --git a/src/symmetry.c b/src/symmetry.c
index 3e9cf5ed..48194c8c 100644
--- a/src/symmetry.c
+++ b/src/symmetry.c
@@ -328,31 +328,6 @@ void get_asymm(signed int h, signed int k, signed int l,
}
-const char *get_holohedral(const char *sym)
-{
- /* Triclinic */
- if ( strcmp(sym, "1") == 0 ) return "-1";
- if ( strcmp(sym, "-1") == 0 ) return "-1";
-
- if ( strcmp(sym, "222") == 0 ) return "mmm";
- if ( strcmp(sym, "mmm") == 0 ) return "mmm";
-
- /* Tetragonal */
- if ( strcmp(sym, "422") == 0 ) return "4/mmm";
- if ( strcmp(sym, "4/mmm") == 0 ) return "4/mmm";
-
- /* Hexagonal */
- if ( strcmp(sym, "6") == 0 ) return "6/mmm";
- if ( strcmp(sym, "6/m") == 0 ) return "6/mmm";
- if ( strcmp(sym, "6/mmm") == 0 ) return "6/mmm";
-
- /* TODO: Add more groups here */
-
- ERROR("Couldn't find holohedral point group for '%s'\n", sym);
- abort();
-}
-
-
/* This is kind of like a "numerical" left coset decomposition.
* Given a reflection index and a point group, it returns the list of twinning
* possibilities.