diff options
author | Thomas White <taw@bitwiz.org.uk> | 2010-02-19 22:43:11 +0100 |
---|---|---|
committer | Thomas White <taw@bitwiz.org.uk> | 2010-02-19 22:43:38 +0100 |
commit | dca8cc2962e2768a7cb69b5d9717b6e5c78be288 (patch) | |
tree | d89d9bf32b37a3d9c781321bcc4f523f7586b48c /data/defs.h | |
parent | c7e0450702ab668cdcda34541e6bf815d50be8a8 (diff) |
Move critical array size definitions to share between CPU and GPU versions
Diffstat (limited to 'data/defs.h')
-rw-r--r-- | data/defs.h | 23 |
1 files changed, 23 insertions, 0 deletions
diff --git a/data/defs.h b/data/defs.h new file mode 100644 index 00000000..934d138e --- /dev/null +++ b/data/defs.h @@ -0,0 +1,23 @@ +/* + * defs.h + * + * Constant definitions which must be consistent throughout + * + * (c) 2006-2010 Thomas White <taw@physics.org> + * + * 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 70 + +/* Array size */ +#define IDIM (INDMAX*2 +1) + + +#endif /* DEFS_H */ |