aboutsummaryrefslogtreecommitdiff
path: root/data/diffraction.cl
diff options
context:
space:
mode:
Diffstat (limited to 'data/diffraction.cl')
-rw-r--r--data/diffraction.cl18
1 files changed, 18 insertions, 0 deletions
diff --git a/data/diffraction.cl b/data/diffraction.cl
index 78cf1cf4..76c6b9d9 100644
--- a/data/diffraction.cl
+++ b/data/diffraction.cl
@@ -171,6 +171,24 @@ float molecule_factor(global float *intensities, global float *flags,
val += lookup_flagged_intensity(intensities, flags, h, k, -l);
#endif /* PGMMM */
+ #ifdef PG4
+ val += lookup_flagged_intensity(intensities, flags, -k, h, 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, k, -h, l);
+ #endif /* PG4 */
+
+ #ifdef PG422
+ val += lookup_flagged_intensity(intensities, flags, -k, h, 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, -k, -h, -l);
+ val += lookup_flagged_intensity(intensities, flags, k, h, -l);
+ val += lookup_flagged_intensity(intensities, flags, k, -h, -l);
+ val += lookup_flagged_intensity(intensities, flags, h, -k, -l);
+ #endif /* PG422 */
+
#ifdef PG321H
val += lookup_flagged_intensity(intensities, flags, h, k, l);
val += lookup_flagged_intensity(intensities, flags, i, h, l);