diff options
Diffstat (limited to 'src/geometry.h')
-rw-r--r-- | src/geometry.h | 29 |
1 files changed, 29 insertions, 0 deletions
diff --git a/src/geometry.h b/src/geometry.h new file mode 100644 index 0000000..80f9c6d --- /dev/null +++ b/src/geometry.h @@ -0,0 +1,29 @@ +/* + * geometry.h + * + * Geometrical (Lorentz) Corrections + * + * (c) 2006 Thomas White <taw27@cam.ac.uk> + * Synth2D - two-dimensional Fourier synthesis + * + */ + +#ifdef HAVE_CONFIG_H +#include <config.h> +#endif + +#ifndef GEOMETRY_H +#define GEOMETRY_H + +#include "reflist.h" + +typedef enum { + GEOMETRY_CORRECTION_TYPE_VINCENT_MIDGLEY, + GEOMETRY_CORRECTION_TYPE_GJONNES, + GEOMETRY_CORRECTION_TYPE_GJONNES_DIVERGENCE +} GeometryCorrectionType; + +extern void geometry_correct(ReflectionList *reflections, GeometryCorrectionType correction_type, double wavenumber, double R); +extern void geometry_dialog_open(void); + +#endif /* GEOMETRY_H */ |