diff options
author | Thomas White <taw@physics.org> | 2020-08-01 15:13:49 +0200 |
---|---|---|
committer | Thomas White <taw@physics.org> | 2020-08-01 15:19:26 +0200 |
commit | 189da15810deabd739d7c11c6e95fea55739fe60 (patch) | |
tree | e86e43fcbbf8278b792a74daf684cde3bd6e2bbf /src/geometry.h |
Initial import from archive
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 */ |