diff options
Diffstat (limited to 'src/get_hkl.c')
-rw-r--r-- | src/get_hkl.c | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/src/get_hkl.c b/src/get_hkl.c index e69beb51..5fb3cfb6 100644 --- a/src/get_hkl.c +++ b/src/get_hkl.c @@ -313,6 +313,8 @@ static RefList *trim_centrics(RefList *in, const SymOpList *sym) Reflection *refl; RefListIterator *iter; RefList *out; + long long int nref = 0; + long long int ntrim = 0; out = reflist_new(); @@ -328,10 +330,11 @@ static RefList *trim_centrics(RefList *in, const SymOpList *sym) /* Put it into the asymmetric unit */ get_asymm(sym, h, k, l, &ha, &ka, &la); + nref++; new = find_refl(out, ha, ka, la); if ( new != NULL ) { - STATUS("Trimmed %i %i %i\n", h, k, l); + ntrim++; continue; } @@ -340,6 +343,8 @@ static RefList *trim_centrics(RefList *in, const SymOpList *sym) copy_data(new, refl); } + STATUS("Trimmed %lli out of %lli reflections.\n", ntrim, nref); + return out; } |