aboutsummaryrefslogtreecommitdiff
path: root/src/diffraction.c
diff options
context:
space:
mode:
authorThomas White <taw@physics.org>2010-02-19 14:49:36 +0100
committerThomas White <taw@physics.org>2010-02-19 14:49:36 +0100
commite3d41026e188d6225c16a86accab05a6897977f6 (patch)
treeaf1bb2e733318dc4251bab03527e2db90086e2b5 /src/diffraction.c
parentfc02994d90af08bc4d0656dfb3b12566177a6ff1 (diff)
Push particle size display up to top level
Diffstat (limited to 'src/diffraction.c')
-rw-r--r--src/diffraction.c6
1 files changed, 0 insertions, 6 deletions
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));