aboutsummaryrefslogtreecommitdiff
path: root/src/post-refinement.h
diff options
context:
space:
mode:
authorThomas White <taw@physics.org>2015-11-11 17:31:34 +0100
committerThomas White <taw@physics.org>2015-11-18 11:17:57 +0100
commita2b11362e440d3487520a39284ae72fcb4cb37f5 (patch)
tree8e9aaf9c965468b8e160d62c8ba09ca7aa4c95b9 /src/post-refinement.h
parentaf7c721a1c75692ecf9ba9840a5847af90a48b53 (diff)
partialator: Scale (strictly) using strong reflections only
Diffstat (limited to 'src/post-refinement.h')
-rw-r--r--src/post-refinement.h8
1 files changed, 3 insertions, 5 deletions
diff --git a/src/post-refinement.h b/src/post-refinement.h
index b3509501..7f395013 100644
--- a/src/post-refinement.h
+++ b/src/post-refinement.h
@@ -57,15 +57,13 @@ enum prflag
extern const char *str_prflag(enum prflag flag);
extern void refine_all(Crystal **crystals, int n_crystals,
- RefList *full, int nthreads, PartialityModel pmodel,
- int no_scale, int no_pr, double max_B);
+ RefList *full, int nthreads, PartialityModel pmodel);
/* Exported so it can be poked by tests/pr_p_gradient_check */
extern double gradient(Crystal *cr, int k, Reflection *refl,
PartialityModel pmodel);
-extern void all_residuals(Crystal **crystals, int n_crystals, RefList *full,
- double *residual, double *free_residual,
- double *log_residual, double *free_log_residual);
+extern double residual(Crystal *cr, const RefList *full, int free,
+ int *pn_used, const char *filename);
#endif /* POST_REFINEMENT_H */