From dae4cf373c3cea2a3ccc4ea64aa9abca14e4feda Mon Sep 17 00:00:00 2001 From: Alexandra Tolstikova Date: Mon, 29 Feb 2016 13:56:03 +0100 Subject: asdf.c: Divide volume constraints by number of lattice points per unit cell. Add F centering --- libcrystfel/src/asdf.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'libcrystfel') 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; -- cgit v1.2.3