/* * symmetry_check.c * * Check symmetry * * (c) 2011 Thomas White * * Part of CrystFEL - crystallography with a FEL * */ #ifdef HAVE_CONFIG_H #include #endif #include #include #include #include "../src/symmetry.h" #include "../src/utils.h" static void find_all_ambiguities(const char *first, ...) { va_list vp; int i; const char *arg; SymOpList *test[32]; int n = 0; test[n++] = get_pointgroup(first); va_start(vp, first); do { arg = va_arg(vp, const char *); if ( arg != NULL ) { test[n++] = get_pointgroup(arg); } } while ( arg != NULL ); for ( i=0; i