aboutsummaryrefslogtreecommitdiff
path: root/data/diffraction.cl
diff options
context:
space:
mode:
authorThomas White <taw@physics.org>2011-11-15 16:04:46 +0100
committerThomas White <taw@physics.org>2012-02-22 15:27:40 +0100
commit2c238039c2efda1788ea72c9fb41ff354acc8e97 (patch)
tree34c30c1a29e5bbbc50d25cb62aabe05cb196abb1 /data/diffraction.cl
parent3c896e8741763b66fa056d6c8d79557225e66ad2 (diff)
Move the "indexed reflection array" thing to where it can't do any harm
Diffstat (limited to 'data/diffraction.cl')
-rw-r--r--data/diffraction.cl6
1 files changed, 5 insertions, 1 deletions
diff --git a/data/diffraction.cl b/data/diffraction.cl
index 9f939413..0a463007 100644
--- a/data/diffraction.cl
+++ b/data/diffraction.cl
@@ -10,7 +10,11 @@
*/
-#include <defs.h>
+/* Maxmimum index to hold values up to (can be increased if necessary)
+ * WARNING: Altering this value constitutes an ABI change, and means you must
+ * update src/pattern_sim.h then recompile and reinstall everything. */
+#define INDMAX 140
+
#ifndef M_PI
#define M_PI ((float)(3.14159265))
#endif