aboutsummaryrefslogtreecommitdiff
path: root/src/ipr.c
diff options
context:
space:
mode:
authortaw27 <taw27@bf6ca9ba-c028-0410-8290-897cf20841d1>2007-09-28 23:58:28 +0000
committertaw27 <taw27@bf6ca9ba-c028-0410-8290-897cf20841d1>2007-09-28 23:58:28 +0000
commit9e7d459d47907accbc496f2f1c4c74f131086873 (patch)
treec5a0a7a472929f7003bc3e5ebd8ec30581424648 /src/ipr.c
parent555bc4f60c845bf47aee94e4b7963382838c9f57 (diff)
s/reflectioncontext/reflectionlist/
git-svn-id: svn://cook.msm.cam.ac.uk:745/diff-tomo/dtr@137 bf6ca9ba-c028-0410-8290-897cf20841d1
Diffstat (limited to 'src/ipr.c')
-rw-r--r--src/ipr.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/ipr.c b/src/ipr.c
index 56f871c..a5845b0 100644
--- a/src/ipr.c
+++ b/src/ipr.c
@@ -29,9 +29,9 @@
#include "basis.h"
/* Generate list of reflections to analyse */
-static ReflectionContext *ipr_generate(ControlContext *ctx, Basis *basis) {
+static ReflectionList *ipr_generate(ControlContext *ctx, Basis *basis) {
- ReflectionContext *ordered;
+ ReflectionList *ordered;
double max_res;
signed int h, k, l;
int max_order_a, max_order_b, max_order_c;
@@ -73,7 +73,7 @@ static ReflectionContext *ipr_generate(ControlContext *ctx, Basis *basis) {
ref->h = h; ref->k = k; ref->l = l;
}
if ( (h!=0) || (k!=0) || (l!=0) ) {
- // reflection_add(ctx->reflectionctx, x, y, z, 1, REFLECTION_GENERATED);
+ // reflection_add(ctx->reflectionlist, x, y, z, 1, REFLECTION_GENERATED);
reflection_add(ordered, x, y, z, 1, REFLECTION_GENERATED);
}
}
@@ -95,7 +95,7 @@ static gint ipr_clicked(GtkWidget *widget, GdkEventButton *event, ControlContext
if ( ctx->ipr_cur_image == ctx->n_images ) ctx->ipr_cur_image = 0;
imagedisplay_clear_circles(ctx->ipr_id);
- reflection_clear_markers(ctx->reflectionctx);
+ reflection_clear_markers(ctx->reflectionlist);
refl = reproject_get_reflections(ctx->images[ctx->ipr_cur_image], &n, ctx->ipr_lat, ctx);
for ( j=0; j<n; j++ ) {