aboutsummaryrefslogtreecommitdiff
path: root/src/geometry.c
diff options
context:
space:
mode:
authorThomas White <taw@physics.org>2010-10-08 18:52:59 +0200
committerThomas White <taw@physics.org>2012-02-22 15:27:02 +0100
commit1235c59a99de33fd9e97538e2135bdd5c958ee9c (patch)
tree80751601f00ac6e1f477c653dd560d788e83a698 /src/geometry.c
parente06afa53f7b7ad64c2c51ecb0eeafcd4099a1292 (diff)
Move partiality()
Diffstat (limited to 'src/geometry.c')
-rw-r--r--src/geometry.c7
1 files changed, 7 insertions, 0 deletions
diff --git a/src/geometry.c b/src/geometry.c
index d91e89bc..e5cf223b 100644
--- a/src/geometry.c
+++ b/src/geometry.c
@@ -138,6 +138,13 @@ struct reflhit *find_intersections(struct image *image, UnitCell *cell,
}
+/* Return the partiality of this reflection in this image */
+double partiality(struct image *image, signed int h, signed int k, signed int l)
+{
+ return 1.0;
+}
+
+
double integrate_all(struct image *image, struct reflhit *hits, int n)
{
double itot = 0.0;