aboutsummaryrefslogtreecommitdiff
path: root/src/geometry.c
diff options
context:
space:
mode:
authorThomas White <taw@physics.org>2011-02-09 16:08:44 +0100
committerThomas White <taw@physics.org>2012-02-22 15:27:14 +0100
commit4e446fece27480f7607fa89be3a919b70684ead6 (patch)
treeff4f295c1ca79614718b623c07550ce623e84ef5 /src/geometry.c
parentda51525409db6ac1ac41460d2ce5a4eea26775de (diff)
Fix this later
Diffstat (limited to 'src/geometry.c')
-rw-r--r--src/geometry.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/geometry.c b/src/geometry.c
index 1cf839c2..aabb269d 100644
--- a/src/geometry.c
+++ b/src/geometry.c
@@ -239,6 +239,7 @@ RefList *find_intersections(struct image *image, UnitCell *cell,
&bsx, &bsy, &bsz,
&csx, &csy, &csz);
+ /* FIXME: Get this from image */
mres = 1.0 / 8.0e-10; /* 8 Angstroms */
hmax = mres / modulus(asx, asy, asz);
kmax = mres / modulus(bsx, bsy, bsz);