aboutsummaryrefslogtreecommitdiff
path: root/src/post-refinement.h
diff options
context:
space:
mode:
authorThomas White <taw@physics.org>2011-05-25 17:50:51 +0200
committerThomas White <taw@physics.org>2012-02-22 15:27:28 +0100
commit2c2bb0426ceff2ddc9284b506102b967d768dadf (patch)
tree0f9fc7380c0cf1555b63a535a564e0d3caba0c7b /src/post-refinement.h
parent54fee1620387697a5624d9573f541bf0c081ae11 (diff)
PR gradient check
Diffstat (limited to 'src/post-refinement.h')
-rw-r--r--src/post-refinement.h20
1 files changed, 20 insertions, 0 deletions
diff --git a/src/post-refinement.h b/src/post-refinement.h
index 3c8d8587..5b71cbd5 100644
--- a/src/post-refinement.h
+++ b/src/post-refinement.h
@@ -24,8 +24,28 @@
#include "utils.h"
+/* Refineable parameters */
+enum {
+ REF_ASX,
+ REF_BSX,
+ REF_CSX,
+ REF_ASY,
+ REF_BSY,
+ REF_CSY,
+ REF_ASZ,
+ REF_BSZ,
+ REF_CSZ,
+ NUM_PARAMS,
+ REF_DIV,
+ REF_R,
+};
+
+
extern void pr_refine(struct image *image, const RefList *full,
const char *sym);
+/* Exported so it can be poked by tests/pr_gradient_check */
+extern double gradient(struct image *image, int k, Reflection *refl, double r);
+
#endif /* POST_REFINEMENT_H */