aboutsummaryrefslogtreecommitdiff
path: root/libcrystfel/src/index.c
diff options
context:
space:
mode:
authorThomas White <taw@physics.org>2020-08-20 11:16:15 +0200
committerThomas White <taw@physics.org>2020-08-20 11:16:15 +0200
commitd9e011c9e3f877ed95482fd54a549c065ff9b8be (patch)
tree2983933be34814995b449fe78362bf4ea180e5b1 /libcrystfel/src/index.c
parenta0e9410fae73b1c91e21f8748a39164691895c6f (diff)
Add default_method_options()
This allows the indexing method private options structures to be set up easily.
Diffstat (limited to 'libcrystfel/src/index.c')
-rw-r--r--libcrystfel/src/index.c12
1 files changed, 12 insertions, 0 deletions
diff --git a/libcrystfel/src/index.c b/libcrystfel/src/index.c
index d8c48a2e..836901ff 100644
--- a/libcrystfel/src/index.c
+++ b/libcrystfel/src/index.c
@@ -1195,3 +1195,15 @@ char *detect_indexing_methods(UnitCell *cell)
return methods;
}
+
+
+void default_method_options(TakeTwoOptions **ttopts,
+ XGandalfOptions **xgandalf_opts,
+ PinkIndexerOptions **pinkIndexer_opts,
+ FelixOptions **felix_opts)
+{
+ taketwo_default_options(ttopts);
+ xgandalf_default_options(xgandalf_opts);
+ pinkIndexer_default_options(pinkIndexer_opts);
+ felix_default_options(felix_opts);
+}