aboutsummaryrefslogtreecommitdiff
path: root/src/post-refinement.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/post-refinement.h')
-rw-r--r--src/post-refinement.h12
1 files changed, 10 insertions, 2 deletions
diff --git a/src/post-refinement.h b/src/post-refinement.h
index 7e13090b..b964975e 100644
--- a/src/post-refinement.h
+++ b/src/post-refinement.h
@@ -41,6 +41,7 @@
#include "utils.h"
#include "crystal.h"
#include "geometry.h"
+#include "scaling-report.h"
/* Refineable parameters.
@@ -55,13 +56,20 @@ enum {
REF_CSX,
REF_CSY,
REF_CSZ,
- REF_DIV,
NUM_PARAMS,
+ REF_DIV,
REF_R,
};
-extern void pr_refine(Crystal *cr, const RefList *full, PartialityModel pmodel);
+struct prdata
+{
+ int n_filtered;
+};
+
+
+extern struct prdata pr_refine(Crystal *cr, const RefList *full,
+ PartialityModel pmodel);
/* Exported so it can be poked by tests/pr_gradient_check */
extern double p_gradient(Crystal *cr, int k, Reflection *refl,