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 --- src/list_tmp.h | 106 +++++++++++++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 106 insertions(+) create mode 100644 src/list_tmp.h (limited to 'src/list_tmp.h') diff --git a/src/list_tmp.h b/src/list_tmp.h new file mode 100644 index 00000000..a524b2f9 --- /dev/null +++ b/src/list_tmp.h @@ -0,0 +1,106 @@ +/* + * Template for creating indexed 3D lists of a given type, usually indexed + * as signed h,k,l values where -INDMAX<={h,k,l}<=+INDMAX. + * + * These are used, for example, for: + * - a list of 'double complex' values for storing structure factors, + * - a list of 'double' values for storing reflection intensities, + * - a list of 'unsigned int' values for counts of some sort. + * + * When LABEL and TYPE are #defined appropriately, including this header + * defines functions such as: + * - new_list_