aboutsummaryrefslogtreecommitdiff
path: root/src/reflist.c
diff options
context:
space:
mode:
authorThomas White <taw@bitwiz.org.uk>2011-02-06 22:28:46 +0100
committerThomas White <taw@physics.org>2012-02-22 15:27:13 +0100
commitf649cc8921b73d85123950c066859f7afe7451b2 (patch)
tree277579e9a9a3bc9c52857f3c8b1a424b7a2b474b /src/reflist.c
parentbbb90c2f911b071adca3e4cafec36913ae6d3599 (diff)
Banish "struct cpeak" forever
Diffstat (limited to 'src/reflist.c')
-rw-r--r--src/reflist.c49
1 files changed, 49 insertions, 0 deletions
diff --git a/src/reflist.c b/src/reflist.c
index 990bc535..7f5d011e 100644
--- a/src/reflist.c
+++ b/src/reflist.c
@@ -77,6 +77,11 @@ Reflection *find_refl(RefList *list, INDICES)
}
+Reflection *next_found_refl(Reflection *refl)
+{
+}
+
+
/********************************** Getters ***********************************/
double get_excitation_error(Reflection *refl)
@@ -94,6 +99,27 @@ void get_indices(Reflection *refl, signed int *h, signed int *k, signed int *l)
}
+double get_partiality(Reflection *refl)
+{
+}
+
+
+double get_intensity(Reflection *refl)
+{
+}
+
+
+void get_partial(Reflection *refl, double *r1, double *r2, double *p,
+ int *clamp_low, int *clamp_high)
+{
+}
+
+
+int get_scalable(Reflection *refl)
+{
+}
+
+
/********************************** Setters ***********************************/
void set_detector_pos(Reflection *refl, double exerr, double x, double y)
@@ -107,6 +133,22 @@ void set_partial(Reflection *refl, double r1, double r2, double p,
}
+void set_indices(Reflection *refl,
+ signed int h, signed int k, signed int l)
+{
+}
+
+
+void set_int(Reflection *refl, double intensity)
+{
+}
+
+
+void set_scalable(Reflection *refl, int scalable)
+{
+}
+
+
/********************************* Insertion **********************************/
Reflection *add_refl(RefList *list, INDICES)
@@ -120,6 +162,13 @@ Reflection *add_refl_with_det_pos(RefList *refl, INDICES, double exerr,
}
+/********************************** Deletion **********************************/
+
+void delete_refl(Reflection *refl)
+{
+}
+
+
/********************************* Iteration **********************************/
Reflection *first_refl(RefList *list)