From 2c238039c2efda1788ea72c9fb41ff354acc8e97 Mon Sep 17 00:00:00 2001 From: Thomas White Date: Tue, 15 Nov 2011 16:04:46 +0100 Subject: Move the "indexed reflection array" thing to where it can't do any harm --- data/defs.h | 23 ----------------------- data/diffraction.cl | 6 +++++- 2 files changed, 5 insertions(+), 24 deletions(-) delete mode 100644 data/defs.h (limited to 'data') diff --git a/data/defs.h b/data/defs.h deleted file mode 100644 index 088c533a..00000000 --- a/data/defs.h +++ /dev/null @@ -1,23 +0,0 @@ -/* - * defs.h - * - * Constant definitions which must be consistent throughout - * - * (c) 2006-2010 Thomas White - * - * Part of CrystFEL - crystallography with a FEL - * - */ - -#ifndef DEFS_H -#define DEFS_H - - -/* Maxmimum index to hold values up to (can be increased if necessary) */ -#define INDMAX 140 - -/* Array size */ -#define IDIM (INDMAX*2 +1) - - -#endif /* DEFS_H */ 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 +/* 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 -- cgit v1.2.3