diff options
author | Thomas White <taw@physics.org> | 2019-08-21 12:23:39 +0200 |
---|---|---|
committer | Thomas White <taw@physics.org> | 2019-08-22 17:03:28 +0200 |
commit | 0b1db945a12c0e68491412baf322b761511eb016 (patch) | |
tree | c725147e0e1a68814c2eb24754847c2181402064 /libcrystfel/src/cell-utils.h | |
parent | 5ab96056a6d1972a248abb154ea5df0ffda44d06 (diff) |
Tidy up comparison function definitions
Especially, remove the last ltl/atl tolerance values.
Diffstat (limited to 'libcrystfel/src/cell-utils.h')
-rw-r--r-- | libcrystfel/src/cell-utils.h | 20 |
1 files changed, 10 insertions, 10 deletions
diff --git a/libcrystfel/src/cell-utils.h b/libcrystfel/src/cell-utils.h index e46d860b..bb1e5cd0 100644 --- a/libcrystfel/src/cell-utils.h +++ b/libcrystfel/src/cell-utils.h @@ -88,25 +88,25 @@ extern int forbidden_reflection(UnitCell *cell, extern double cell_get_volume(UnitCell *cell); extern int compare_cell_parameters(UnitCell *cell, UnitCell *reference, - double *tolerance); + const double *tols); extern int compare_cell_parameters_and_orientation(UnitCell *cell, UnitCell *reference, - const double ltl, - const double atl); + const double *tols); extern int compare_permuted_cell_parameters_and_orientation(UnitCell *cell, UnitCell *reference, - double ltl, - double atl, + const double *tols, IntegerMatrix **pmb); -extern int compare_reindexed_cell_parameters(UnitCell *cell, UnitCell *reference, - double *tolerance, int csl, - RationalMatrix **pmb); +extern int compare_derivative_cell_parameters(UnitCell *cell, UnitCell *reference, + const double *tols, int csl, + RationalMatrix **pmb); -extern int compare_lattices(UnitCell *cell_in, UnitCell *reference_in, - double *tolerance, RationalMatrix **pmb); +extern UnitCell *compare_reindexed_cell_parameters(UnitCell *cell_in, + UnitCell *reference_in, + const double *tols, + RationalMatrix **pmb); #ifdef __cplusplus } |