From 72c44b5ce64d74357b03054bf11229e912b41661 Mon Sep 17 00:00:00 2001 From: Thomas White Date: Fri, 23 May 2014 16:17:53 +0200 Subject: Remove {get,set}_{scalable,refinable}() --- libcrystfel/src/reflist.c | 50 ----------------------------------------------- libcrystfel/src/reflist.h | 4 ---- 2 files changed, 54 deletions(-) (limited to 'libcrystfel') diff --git a/libcrystfel/src/reflist.c b/libcrystfel/src/reflist.c index 2dd5619e..afc76caa 100644 --- a/libcrystfel/src/reflist.c +++ b/libcrystfel/src/reflist.c @@ -445,32 +445,6 @@ void get_partial(const Reflection *refl, double *r1, double *r2, double *p, } -/** - * get_scalable: - * @refl: A %Reflection - * - * Returns: non-zero if this reflection can be scaled. - * - **/ -int get_scalable(const Reflection *refl) -{ - return refl->data.scalable; -} - - -/** - * get_refinable: - * @refl: A %Reflection - * - * Returns: non-zero if this reflection can be used for post refinement. - * - **/ -int get_refinable(const Reflection *refl) -{ - return refl->data.refinable; -} - - /** * get_redundancy: * @refl: A %Reflection @@ -678,30 +652,6 @@ void set_intensity(Reflection *refl, double intensity) } -/** - * set_scalable: - * @refl: A %Reflection - * @scalable: Non-zero if this reflection should be scaled. - * - **/ -void set_scalable(Reflection *refl, int scalable) -{ - refl->data.scalable = scalable; -} - - -/** - * set_refinable: - * @refl: A %Reflection - * @refinable: Non-zero if this reflection can be used for post refinement. - * - **/ -void set_refinable(Reflection *refl, int refinable) -{ - refl->data.refinable = refinable; -} - - /** * set_redundancy: * @refl: A %Reflection diff --git a/libcrystfel/src/reflist.h b/libcrystfel/src/reflist.h index e3e16c03..692b1d44 100644 --- a/libcrystfel/src/reflist.h +++ b/libcrystfel/src/reflist.h @@ -92,8 +92,6 @@ extern void get_symmetric_indices(const Reflection *refl, extern double get_intensity(const Reflection *refl); extern void get_partial(const Reflection *refl, double *r1, double *r2, double *p, int *clamp_low, int *clamp_high); -extern int get_scalable(const Reflection *refl); -extern int get_refinable(const Reflection *refl); extern int get_redundancy(const Reflection *refl); extern double get_temp1(const Reflection *refl); extern double get_temp2(const Reflection *refl); @@ -111,8 +109,6 @@ extern void set_partial(Reflection *refl, double r1, double r2, double p, extern void set_partiality(Reflection *refl, double p); extern void set_lorentz(Reflection *refl, double L); extern void set_intensity(Reflection *refl, double intensity); -extern void set_scalable(Reflection *refl, int scalable); -extern void set_refinable(Reflection *refl, int refinable); extern void set_redundancy(Reflection *refl, int red); extern void set_temp1(Reflection *refl, double temp); extern void set_temp2(Reflection *refl, double temp); -- cgit v1.2.3