diff options
Diffstat (limited to 'libcrystfel/src/index.h')
-rw-r--r-- | libcrystfel/src/index.h | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/libcrystfel/src/index.h b/libcrystfel/src/index.h index e8167674..db6d77d0 100644 --- a/libcrystfel/src/index.h +++ b/libcrystfel/src/index.h @@ -54,6 +54,11 @@ | INDEXING_USE_CELL_PARAMETERS \ | INDEXING_USE_LATTICE_TYPE) +#define INDEXING_DEFAULTS_SMALLCELL (INDEXING_SMALLCELL \ + | INDEXING_USE_CELL_PARAMETERS \ + | INDEXING_USE_LATTICE_TYPE) + + #define INDEXING_DEFAULTS_XDS (INDEXING_XDS | INDEXING_USE_LATTICE_TYPE \ | INDEXING_USE_CELL_PARAMETERS) @@ -78,6 +83,7 @@ typedef enum { INDEXING_TAKETWO = 9, /**< Use built-in TakeTwo algorithm */ INDEXING_XGANDALF = 10, /**< Use XGANDALF (via optional library) */ INDEXING_PINKINDEXER = 11,/**< Use PinkIndexer (via optional library) */ + INDEXING_SMALLCELL = 12,/**< Use Smallcell */ INDEXING_ERROR = 255, /**< Special value for unrecognised indexing * engine */ @@ -172,6 +178,10 @@ struct fromfile_options char *filename; }; +struct smallcell_options +{ + char *filename; +}; struct felix_options { @@ -217,6 +227,7 @@ extern struct argp pinkIndexer_argp; extern struct argp taketwo_argp; extern struct argp xgandalf_argp; extern struct argp fromfile_argp; +extern struct argp smallcell_argp; extern struct argp asdf_argp; extern void default_method_options(struct taketwo_options **ttopts, @@ -224,6 +235,7 @@ extern void default_method_options(struct taketwo_options **ttopts, struct pinkindexer_options **pinkIndexer_opts, struct felix_options **felix_opts, struct fromfile_options **fromfile_opts, + struct smallcell_options **smallcell_opts, struct asdf_options **asdf_opts); extern IndexingPrivate *setup_indexing(const char *methods, @@ -238,6 +250,7 @@ extern IndexingPrivate *setup_indexing(const char *methods, struct pinkindexer_options *pinkIndexer_opts, struct felix_options *felix_opts, struct fromfile_options *fromfile_opts, + struct smallcell_options *smallcell_opts, struct asdf_options *asdf_opts); extern const IndexingMethod *indexing_methods(IndexingPrivate *p, int *n); |