aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorThomas White <taw@physics.org>2014-04-08 15:17:39 +0200
committerThomas White <taw@physics.org>2014-04-08 15:17:39 +0200
commit1ac35ea6f23464d55fffd36cca4a4b2c745252ec (patch)
tree340b566f2dec2a26fcbcfe5f75a3e29a613e1a54
parentcc9fba732caad42a0ad9230ba22e65e4d3e6f571 (diff)
Remove old code
-rw-r--r--src/check_hkl.c10
-rw-r--r--src/compare_hkl.c4
2 files changed, 0 insertions, 14 deletions
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;