aboutsummaryrefslogtreecommitdiff
path: root/libcrystfel/src/asdf.c
diff options
context:
space:
mode:
authorAlexandra Tolstikova <alexandra.tolstikova@desy.de>2016-02-29 13:56:03 +0100
committerThomas White <taw@physics.org>2017-02-01 16:04:31 +0100
commitdae4cf373c3cea2a3ccc4ea64aa9abca14e4feda (patch)
treee4e445bdf9fd1f5dc58e0cbb5940ebb3ec436780 /libcrystfel/src/asdf.c
parentc1cc621eae93e96184693d94f07c9a389aa14192 (diff)
asdf.c: Divide volume constraints by number of lattice points per unit cell. Add F centering
Diffstat (limited to 'libcrystfel/src/asdf.c')
-rw-r--r--libcrystfel/src/asdf.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/libcrystfel/src/asdf.c b/libcrystfel/src/asdf.c
index 9c917523..49917ad9 100644
--- a/libcrystfel/src/asdf.c
+++ b/libcrystfel/src/asdf.c
@@ -1136,7 +1136,8 @@ int run_asdf(struct image *image, IndexingPrivate *ipriv)
if ( centering == 'A' ||
centering == 'B' ||
centering == 'C' ||
- centering == 'I') latt_points_per_uc = 2;
+ centering == 'I' ) latt_points_per_uc = 2;
+ else if ( centering == 'F' ) latt_points_per_uc = 4;
volume_min = volume * (1 - vtol)/latt_points_per_uc;
volume_max = volume * (1 + vtol)/latt_points_per_uc;