From 1ac35ea6f23464d55fffd36cca4a4b2c745252ec Mon Sep 17 00:00:00 2001 From: Thomas White Date: Tue, 8 Apr 2014 15:17:39 +0200 Subject: Remove old code --- src/check_hkl.c | 10 ---------- src/compare_hkl.c | 4 ---- 2 files changed, 14 deletions(-) (limited to 'src') diff --git a/src/check_hkl.c b/src/check_hkl.c index 1e6bdb84..1ba55313 100644 --- a/src/check_hkl.c +++ b/src/check_hkl.c @@ -480,18 +480,8 @@ static void plot_shells(RefList *list, UnitCell *cell, const SymOpList *sym, /* Shells of constant volume */ rmaxs[i-1] = r; rmins[i] = r; - - /* Shells of constant thickness */ - //rmins[i] = rmins[i-1] + (rmax-rmin)/nshells; - //rmaxs[i-1] = rmins[i-1] + (rmax-rmin)/nshells; - - STATUS("Shell %i: %f to %f\n", i-1, - rmins[i-1]/1e9, rmaxs[i-1]/1e9); - } rmaxs[nshells-1] = rmax; - STATUS("Shell %i: %f to %f\n", nshells-1, - rmins[nshells-1]/1e9, rmaxs[nshells-1]/1e9); /* Count the number of reflections possible in each shell */ counted = reflist_new(); diff --git a/src/compare_hkl.c b/src/compare_hkl.c index 88e162b5..ab7b821c 100644 --- a/src/compare_hkl.c +++ b/src/compare_hkl.c @@ -538,10 +538,6 @@ static struct shells *set_resolution_shells(double rmin, double rmax, s->rmaxs[i-1] = r; s->rmins[i] = r; - /* Shells of constant thickness */ - //rmins[i] = rmins[i-1] + (rmax-rmin)/NBINS; - //rmaxs[i-1] = rmins[i-1] + (rmax-rmin)/NBINS; - } s->rmaxs[nshells-1] = rmax; -- cgit v1.2.3