diff options
author | Thomas White <taw@physics.org> | 2018-05-03 14:35:32 +0200 |
---|---|---|
committer | Thomas White <taw@physics.org> | 2018-05-07 10:08:02 +0200 |
commit | d1a2c71235611ad878fa9bc705c6eff1a04b3600 (patch) | |
tree | 5a05d4abcc6b980ec67c0236d1a0c4be1412f539 /src/scaling.h | |
parent | 5790b06b2e0080c48e1e9a33eb0b43914f2b5824 (diff) |
Simplify scaling
Diffstat (limited to 'src/scaling.h')
-rw-r--r-- | src/scaling.h | 8 |
1 files changed, 3 insertions, 5 deletions
diff --git a/src/scaling.h b/src/scaling.h index b6958b6c..a4ec6931 100644 --- a/src/scaling.h +++ b/src/scaling.h @@ -40,13 +40,11 @@ enum ScaleFlags { - SCALE_NO_B, /* Don't use Debye-Waller part */ + SCALE_NONE = 0, + SCALE_NO_B = 1<<0, /* Don't use Debye-Waller part */ }; -extern int scale_one(const RefList *list1, const RefList *list2, int flags, - double *G, double *B); - -extern int scale_one_crystal(Crystal *cr, const RefList *list2, int flags); +extern int scale_one_crystal(Crystal *cr, const RefList *reference, int flags); extern void scale_all(Crystal **crystals, int n_crystals, int nthreads, int flags); |