From e3d41026e188d6225c16a86accab05a6897977f6 Mon Sep 17 00:00:00 2001 From: Thomas White Date: Fri, 19 Feb 2010 14:49:36 +0100 Subject: Push particle size display up to top level --- src/diffraction.c | 6 ------ 1 file changed, 6 deletions(-) (limited to 'src/diffraction.c') diff --git a/src/diffraction.c b/src/diffraction.c index b71c28ce..a66c2310 100644 --- a/src/diffraction.c +++ b/src/diffraction.c @@ -184,7 +184,6 @@ void get_diffraction(struct image *image, int na, int nb, int nc, int no_sfac) double ax, ay, az; double bx, by, bz; double cx, cy, cz; - double a, b, c, d; float kc; if ( image->molecule == NULL ) return; @@ -193,11 +192,6 @@ void get_diffraction(struct image *image, int na, int nb, int nc, int no_sfac) &bx, &by, &bz, &cx, &cy, &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); - /* Allocate (and zero) the "diffraction array" */ image->sfacs = calloc(image->width * image->height, sizeof(double complex)); -- cgit v1.2.3