aboutsummaryrefslogtreecommitdiff
path: root/src/sfac.h
diff options
context:
space:
mode:
authorThomas White <taw@physics.org>2010-07-14 17:58:55 +0200
committerThomas White <taw@physics.org>2012-02-22 15:26:53 +0100
commit6a5422356c15962726df2261aa53354b0ff12662 (patch)
treeb6c5ae80b837bda38957cef07816b511515ffdcb /src/sfac.h
parent6a476e010468f27e02df6bb90a1ea197bd9d039d (diff)
Reduce the scope of "count"
Lists of counts had pervaded every corner of CrystFEL, being used as markers for the presence of reflections. Now we have a better way of doing this, the ReflItemList, and few parts of the suite apart from process_hkl have any business knowing how many observations were made of a particular reflection.
Diffstat (limited to 'src/sfac.h')
-rw-r--r--src/sfac.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/sfac.h b/src/sfac.h
index ea30c83e..115dcb5f 100644
--- a/src/sfac.h
+++ b/src/sfac.h
@@ -19,6 +19,7 @@
#include <complex.h>
#include "cell.h"
+#include "utils.h"
#define MAX_ATOMS (128*1024)
@@ -61,7 +62,7 @@ extern double complex get_sfac(const char *n, double s, double en);
extern struct molecule *load_molecule(const char *filename);
extern void free_molecule(struct molecule *mol);
extern double *get_reflections(struct molecule *mol, double en, double res,
- unsigned int *counts, double *phases);
+ double *phases, ReflItemList *items);
#endif /* SFAC_H */