aboutsummaryrefslogtreecommitdiff
path: root/src/post-refinement.h
diff options
context:
space:
mode:
authorThomas White <taw@physics.org>2013-08-01 17:33:23 +0200
committerThomas White <taw@physics.org>2013-08-01 17:33:23 +0200
commit4c0971b30a4982c8b4a3be4b6599639ecb1b6695 (patch)
tree48b419284a4273b87f96c97c1cdee70f8dee4cab /src/post-refinement.h
parentd001bcca749215e41a79a0de32e4cc049ace8b86 (diff)
Count filtered eigenvalues
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,