aboutsummaryrefslogtreecommitdiff
path: root/src/diffraction.h
diff options
context:
space:
mode:
authorThomas White <taw@physics.org>2010-04-01 16:12:11 +0200
committerThomas White <taw@physics.org>2010-04-01 16:12:11 +0200
commitfced9d2b5b9154205886e12b5cde73292db3b59d (patch)
treed50ce7b6c6485e16910d3386f74a9c52129f10c0 /src/diffraction.h
parent4ef558e6c6b1bf7be1a28b945834f8c5fcb65dd0 (diff)
indexamajig: Introduce multithreading
Diffstat (limited to 'src/diffraction.h')
-rw-r--r--src/diffraction.h5
1 files changed, 3 insertions, 2 deletions
diff --git a/src/diffraction.h b/src/diffraction.h
index c317060f..f3608a4b 100644
--- a/src/diffraction.h
+++ b/src/diffraction.h
@@ -20,8 +20,9 @@
#include "cell.h"
extern void get_diffraction(struct image *image, int na, int nb, int nc,
- double *intensities, unsigned int *counts,
- UnitCell *cell, int do_water);
+ const double *intensities,
+ const unsigned int *counts, UnitCell *cell,
+ int do_water);
extern struct rvec get_q(struct image *image, unsigned int xs, unsigned int ys,
unsigned int sampling, float *ttp, float k);