diff options
author | Thomas White <taw@physics.org> | 2010-02-19 14:49:36 +0100 |
---|---|---|
committer | Thomas White <taw@physics.org> | 2010-02-19 14:49:36 +0100 |
commit | e3d41026e188d6225c16a86accab05a6897977f6 (patch) | |
tree | af1bb2e733318dc4251bab03527e2db90086e2b5 /src/diffraction-gpu.c | |
parent | fc02994d90af08bc4d0656dfb3b12566177a6ff1 (diff) |
Push particle size display up to top level
Diffstat (limited to 'src/diffraction-gpu.c')
-rw-r--r-- | src/diffraction-gpu.c | 6 |
1 files changed, 0 insertions, 6 deletions
diff --git a/src/diffraction-gpu.c b/src/diffraction-gpu.c index 5ea7a646..26aa7e34 100644 --- a/src/diffraction-gpu.c +++ b/src/diffraction-gpu.c @@ -140,7 +140,6 @@ void get_diffraction_gpu(struct image *image, int na, int nb, int nc, double ax, ay, az; double bx, by, bz; double cx, cy, cz; - double a, b, c, d; float kc; const size_t dims[2] = {1024, 1024}; cl_event event_d; @@ -176,11 +175,6 @@ void get_diffraction_gpu(struct image *image, int na, int nb, int nc, cell[3] = bx; cell[4] = by; cell[5] = bz; cell[6] = cx; cell[7] = cy; cell[8] = cz; - cell_get_parameters(image->molecule->cell, - &a, &b, &c, &d, &d, &d); - STATUS("Particle size = %i x %i x %i (=%5.2f x %5.2f x %5.2f nm)\n", - na, nb, nc, na*a/1.0e-9, nb*b/1.0e-9, nc*c/1.0e-9); - err = clGetPlatformIDs(8, platforms, &nplat); if ( err != CL_SUCCESS ) { ERROR("Couldn't get platform IDs: %i\n", err); |