aboutsummaryrefslogtreecommitdiff
path: root/src/post-refinement.h
diff options
context:
space:
mode:
authorThomas White <taw@physics.org>2015-07-20 16:33:35 +0200
committerThomas White <taw@physics.org>2015-07-21 10:18:33 +0200
commit33aa23c9d287ee0a34c445f7625a71d72657c061 (patch)
treed8e4affbbd832f2e40ae5dcf0c58cfb2925b28c8 /src/post-refinement.h
parent466402c6a1b2804c168aa0da40a54842243ca60a (diff)
partialator: Tidy up handling of bad crystals
Diffstat (limited to 'src/post-refinement.h')
-rw-r--r--src/post-refinement.h10
1 files changed, 10 insertions, 0 deletions
diff --git a/src/post-refinement.h b/src/post-refinement.h
index b59ae24f..536dea2d 100644
--- a/src/post-refinement.h
+++ b/src/post-refinement.h
@@ -53,6 +53,16 @@ struct prdata
double final_free_residual;
};
+enum prflag
+{
+ PRFLAG_OK = 0,
+ PRFLAG_FEWREFL = 16,
+ PRFLAG_SOLVEFAIL = 17,
+ PRFLAG_EARLY = 18,
+ PRFLAG_CC = 19,
+ PRFLAG_BIGB = 20,
+};
+
extern void refine_all(Crystal **crystals, int n_crystals,