aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorThomas White <taw@physics.org>2014-05-23 16:17:53 +0200
committerThomas White <taw@physics.org>2014-05-23 16:18:13 +0200
commit72c44b5ce64d74357b03054bf11229e912b41661 (patch)
tree1627e021045ae2ec3727382c0fe0edb79c359255
parent229cbd2c0377ed5595178d3c299fada519507233 (diff)
Remove {get,set}_{scalable,refinable}()
-rw-r--r--libcrystfel/src/reflist.c50
-rw-r--r--libcrystfel/src/reflist.h4
2 files changed, 0 insertions, 54 deletions
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
@@ -446,32 +446,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
*
@@ -679,30 +653,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
* @red: New redundancy for the 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);