aboutsummaryrefslogtreecommitdiff
path: root/src/basis.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/basis.h')
-rw-r--r--src/basis.h38
1 files changed, 38 insertions, 0 deletions
diff --git a/src/basis.h b/src/basis.h
new file mode 100644
index 0000000..1d12be1
--- /dev/null
+++ b/src/basis.h
@@ -0,0 +1,38 @@
+/*
+ * basis.h
+ *
+ * Find approximate lattices to feed various procedures
+ *
+ * (c) 2007 Thomas White <taw27@cam.ac.uk>
+ *
+ * dtr - Diffraction Tomography Reconstruction
+ *
+ */
+
+#ifndef BASIS_H
+#define BASIS_H
+
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
+
+#include "control.h"
+
+typedef struct {
+
+ double x;
+ double y;
+ double z;
+
+} Vector;
+
+typedef struct basis_struct {
+ Vector a;
+ Vector b;
+ Vector c;
+} Basis;
+
+extern Basis *basis_find(ControlContext *ctx);
+
+#endif /* BASIS_H */
+