diff options
Diffstat (limited to 'src/reax.c')
-rw-r--r-- | src/reax.c | 60 |
1 files changed, 60 insertions, 0 deletions
diff --git a/src/reax.c b/src/reax.c new file mode 100644 index 00000000..44dc52a6 --- /dev/null +++ b/src/reax.c @@ -0,0 +1,60 @@ +/* + * reax.c + * + * A new auto-indexer + * + * (c) 2011 Thomas White <taw@physics.org> + * + * Part of CrystFEL - crystallography with a FEL + * + */ + + +#ifdef HAVE_CONFIG_H +#include <config.h> +#endif + + +#include <stdlib.h> +#include <stdio.h> +#include <math.h> + +#include "image.h" +#include "utils.h" +#include "peaks.h" +#include "cell.h" +#include "index.h" +#include "index-priv.h" + + +struct dvec +{ + double x; + double y; + double z; +}; + + +struct reax_private +{ + IndexingPrivate base; +}; + + +IndexingPrivate *reax_prepare() +{ + struct reax_private *priv; + + priv = calloc(1, sizeof(*priv)); + if ( priv == NULL ) return NULL; + + priv->base.indm = INDEXING_REAX; + + return (IndexingPrivate *)priv; +} + + +void reax_index(struct image *image, UnitCell *cell) +{ + +} |