From 189da15810deabd739d7c11c6e95fea55739fe60 Mon Sep 17 00:00:00 2001 From: Thomas White Date: Sat, 1 Aug 2020 15:13:49 +0200 Subject: Initial import from archive --- src/geometry.h | 29 +++++++++++++++++++++++++++++ 1 file changed, 29 insertions(+) create mode 100644 src/geometry.h (limited to 'src/geometry.h') 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 + * Synth2D - two-dimensional Fourier synthesis + * + */ + +#ifdef HAVE_CONFIG_H +#include +#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 */ -- cgit v1.2.3