/* * reax.h * * A new auto-indexer * * Copyright © 2012 Deutsches Elektronen-Synchrotron DESY, * a research centre of the Helmholtz Association. * * Authors: * 2011-2012 Thomas White * * This file is part of CrystFEL. * * CrystFEL is free software: you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by * the Free Software Foundation, either version 3 of the License, or * (at your option) any later version. * * CrystFEL is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU General Public License for more details. * * You should have received a copy of the GNU General Public License * along with CrystFEL. If not, see . * */ #ifndef REAX_H #define REAX_H #ifdef HAVE_CONFIG_H #include #endif #include "index.h" #include "cell.h" #include "beam-parameters.h" #include "detector.h" #ifdef HAVE_FFTW extern IndexingPrivate *reax_prepare(IndexingMethod *indm, UnitCell *cell, const char *filename, struct detector *det, struct beam_params *beam, float *ltl); extern void reax_cleanup(IndexingPrivate *pp); extern int reax_index(struct image *image, IndexingPrivate *p); #else /* HAVE_FFTW */ static IndexingPrivate *reax_prepare(IndexingMethod *indm, UnitCell *cell, const char *filename, struct detector *det, struct beam_params *beam, float *ltl) { return NULL; } static void reax_cleanup(IndexingPrivate *pp) { } static void reax_index(struct image *image, IndexingPrivate *p) { } #endif /* HAVE_FFTW */ #endif /* REAX_H */