diff options
author | taw27 <taw27@bf6ca9ba-c028-0410-8290-897cf20841d1> | 2007-09-28 23:52:58 +0000 |
---|---|---|
committer | taw27 <taw27@bf6ca9ba-c028-0410-8290-897cf20841d1> | 2007-09-28 23:52:58 +0000 |
commit | 555bc4f60c845bf47aee94e4b7963382838c9f57 (patch) | |
tree | aa012672259995addc1d01420aee2df608bd83d8 /src/basis.h | |
parent | 12271165c0948536f9b34603432ade4953c97b4e (diff) |
Move basis stuff to separate file
git-svn-id: svn://cook.msm.cam.ac.uk:745/diff-tomo/dtr@136 bf6ca9ba-c028-0410-8290-897cf20841d1
Diffstat (limited to 'src/basis.h')
-rw-r--r-- | src/basis.h | 38 |
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 */ + |