aboutsummaryrefslogtreecommitdiff
path: root/data
diff options
context:
space:
mode:
authorThomas White <taw@bitwiz.org.uk>2012-01-31 16:47:49 -0800
committerThomas White <taw@physics.org>2012-02-22 15:27:45 +0100
commit5ab26bafd351cc8ac412ce5993c9ddedf34c6683 (patch)
tree85ad79dc15b9ea109b6ea14cef0e4aebae9ada47 /data
parentf2b970be0091796f1c86b78ef706bd35e30e9679 (diff)
Add point group mmm to GPU simulation
Diffstat (limited to 'data')
-rw-r--r--data/diffraction.cl11
1 files changed, 11 insertions, 0 deletions
diff --git a/data/diffraction.cl b/data/diffraction.cl
index 3442e63a..f8be5179 100644
--- a/data/diffraction.cl
+++ b/data/diffraction.cl
@@ -157,6 +157,17 @@ float molecule_factor(global float *intensities, global float *flags,
val += lookup_flagged_intensity(intensities, flags, -h, -k, -l);
#endif /* PG1BAR */
+ #ifdef PGMMM
+ val += lookup_flagged_intensity(intensities, flags, h, k, l);
+ val += lookup_flagged_intensity(intensities, flags, -h, -k, l);
+ val += lookup_flagged_intensity(intensities, flags, -h, k, -l);
+ val += lookup_flagged_intensity(intensities, flags, h, -k, -l);
+ val += lookup_flagged_intensity(intensities, flags, h, -k, l);
+ val += lookup_flagged_intensity(intensities, flags, -h, k, l);
+ val += lookup_flagged_intensity(intensities, flags, -h, -k, -l);
+ val += lookup_flagged_intensity(intensities, flags, h, k, -l);
+ #endif /* PGMMM */
+
#ifdef PG6
val += lookup_flagged_intensity(intensities, flags, h, k, l);
val += lookup_flagged_intensity(intensities, flags, i, h, l);