aboutsummaryrefslogtreecommitdiff
path: root/src/index.c
diff options
context:
space:
mode:
authorRichard Kirian <rkirian@asu.edu>2010-12-08 15:00:44 -0700
committerThomas White <taw@physics.org>2012-02-22 15:27:08 +0100
commit38e84c0bd440b03148fd6919d9e4c7852efee923 (patch)
treee2885c7a7045982574c83694cc6672501c83699d /src/index.c
parent4a2a0d658d251371c136efe5160ba5081498f970 (diff)
added fake mosflm support (runs dirax)
Diffstat (limited to 'src/index.c')
-rw-r--r--src/index.c9
1 files changed, 9 insertions, 0 deletions
diff --git a/src/index.c b/src/index.c
index bb725fcb..3e0a09b1 100644
--- a/src/index.c
+++ b/src/index.c
@@ -24,6 +24,7 @@
#include "utils.h"
#include "peaks.h"
#include "dirax.h"
+#include "mosflm.h"
#include "sfac.h"
#include "detector.h"
#include "index.h"
@@ -50,6 +51,8 @@ IndexingPrivate *prepare_indexing(IndexingMethod indm, UnitCell *cell,
return indexing_private(indm);
case INDEXING_DIRAX :
return indexing_private(indm);
+ case INDEXING_MOSFLM :
+ return indexing_private(indm);
case INDEXING_TEMPLATE :
return generate_templates(cell, filename, det,
nominal_photon_energy);
@@ -67,6 +70,9 @@ void cleanup_indexing(IndexingPrivate *priv)
case INDEXING_DIRAX :
free(priv);
break;
+ case INDEXING_MOSFLM :
+ free(priv);
+ break;
case INDEXING_TEMPLATE :
free_templates(priv);
}
@@ -140,6 +146,9 @@ void index_pattern(struct image *image, UnitCell *cell, IndexingMethod indm,
case INDEXING_DIRAX :
run_dirax(image);
break;
+ case INDEXING_MOSFLM :
+ run_mosflm(image);
+ break;
case INDEXING_TEMPLATE :
match_templates(image, ipriv);
break;