aboutsummaryrefslogtreecommitdiff
path: root/libcrystfel/src/index.c
diff options
context:
space:
mode:
authorThomas White <taw@physics.org>2019-09-02 14:56:53 +0200
committerThomas White <taw@physics.org>2019-09-12 16:35:52 +0200
commit6e713e3a78167d421acd7b511d07675ca0032d5a (patch)
tree5e68406e80a487ff120ee2f7a7de42968d258ec1 /libcrystfel/src/index.c
parenta249da0dae1ab6fa5d708f3ba4fa412c7c715ce1 (diff)
Add indexing_methods() to examine the actual list of methods
Diffstat (limited to 'libcrystfel/src/index.c')
-rw-r--r--libcrystfel/src/index.c6
1 files changed, 6 insertions, 0 deletions
diff --git a/libcrystfel/src/index.c b/libcrystfel/src/index.c
index cc9f0248..05d669a1 100644
--- a/libcrystfel/src/index.c
+++ b/libcrystfel/src/index.c
@@ -461,6 +461,12 @@ IndexingPrivate *setup_indexing(const char *method_list, UnitCell *cell,
}
+const IndexingMethod *indexing_methods(IndexingPrivate *p, int *n)
+{
+ return p->methods;
+}
+
+
void cleanup_indexing(IndexingPrivate *ipriv)
{
int n;