From a8efbaa98b4ece01c7fc5de0d1ba1f20fa985a9d Mon Sep 17 00:00:00 2001 From: Thomas White Date: Thu, 14 Jan 2010 10:30:30 +0100 Subject: s/threevec/rvec/ --- src/ewald.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'src/ewald.c') diff --git a/src/ewald.c b/src/ewald.c index 89c2e484..82b70df2 100644 --- a/src/ewald.c +++ b/src/ewald.c @@ -20,9 +20,9 @@ #include "ewald.h" -static struct threevec quat_rot(struct threevec q, struct quaternion z) +static struct rvec quat_rot(struct rvec q, struct quaternion z) { - struct threevec res; + struct rvec res; double t01, t02, t03, t11, t12, t13, t22, t23, t33; t01 = z.w*z.x; @@ -59,7 +59,7 @@ void get_ewald(struct image *image) k = 1/image->lambda; image->qvecs = malloc(image->width * image->height - * sizeof(struct threevec)); + * sizeof(struct rvec)); image->twotheta = malloc(image->width * image->height * sizeof(double)); @@ -70,7 +70,7 @@ void get_ewald(struct image *image) double rx, ry, r; double twothetax, twothetay, twotheta; double qx, qy, qz; - struct threevec q; + struct rvec q; /* Calculate q vectors for Ewald sphere */ rx = ((double)x - image->x_centre) / image->resolution; -- cgit v1.2.3