aboutsummaryrefslogtreecommitdiff
path: root/src/index.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/index.h')
-rw-r--r--src/index.h12
1 files changed, 11 insertions, 1 deletions
diff --git a/src/index.h b/src/index.h
index 0b740995..81549e00 100644
--- a/src/index.h
+++ b/src/index.h
@@ -22,6 +22,8 @@
#include "image.h"
#include "detector.h"
+
+/* Indexing methods */
typedef enum {
INDEXING_NONE,
INDEXING_DIRAX,
@@ -29,6 +31,14 @@ typedef enum {
} IndexingMethod;
+/* Cell reduction methods */
+enum {
+ CELLR_NONE,
+ CELLR_REDUCE,
+ CELLR_COMPARE
+};
+
+
typedef struct _indexingprivate IndexingPrivate;
extern IndexingPrivate *prepare_indexing(IndexingMethod indm, UnitCell *cell,
@@ -39,7 +49,7 @@ extern IndexingPrivate *prepare_indexing(IndexingMethod indm, UnitCell *cell,
extern void map_all_peaks(struct image *image);
extern void index_pattern(struct image *image, UnitCell *cell,
- IndexingMethod indm, int no_match, int verbose,
+ IndexingMethod indm, int cellr, int verbose,
IndexingPrivate *priv);
extern void cleanup_indexing(IndexingPrivate *priv);