aboutsummaryrefslogtreecommitdiff
path: root/src/diffraction-gpu.c
diff options
context:
space:
mode:
authorThomas White <taw@physics.org>2010-11-15 16:17:02 +0100
committerThomas White <taw@physics.org>2012-02-22 15:27:05 +0100
commit1b4fa114decd9c36324feed00296cb40088a9062 (patch)
tree2d313458c29c6f4ac5de5513639020558eaaa556 /src/diffraction-gpu.c
parentfcde5d4f2fd95845402b86c3838f15b6632a8071 (diff)
Zap quats
The "orientation" quaternion should not rotate the Ewald sphere, but the crystal. This cleans things up a little, removing "orientation" from "struct image".
Diffstat (limited to 'src/diffraction-gpu.c')
-rw-r--r--src/diffraction-gpu.c6
1 files changed, 0 insertions, 6 deletions
diff --git a/src/diffraction-gpu.c b/src/diffraction-gpu.c
index bbed9a9b..6e73a52c 100644
--- a/src/diffraction-gpu.c
+++ b/src/diffraction-gpu.c
@@ -140,12 +140,6 @@ void get_diffraction_gpu(struct gpu_context *gctx, struct image *image,
khigh = 1.0/(image->lambda*(1.0 - image->beam->bandwidth/2.0));
bwstep = (khigh-klow) / BWSAMPLING;
- /* Orientation */
- orientation.s[0] = image->orientation.w;
- orientation.s[1] = image->orientation.x;
- orientation.s[2] = image->orientation.y;
- orientation.s[3] = image->orientation.z;
-
ncells.s[0] = na;
ncells.s[1] = nb;
ncells.s[2] = nc;