diff options
author | Thomas White <taw@bitwiz.org.uk> | 2009-03-28 18:04:06 +0000 |
---|---|---|
committer | Thomas White <taw@bitwiz.org.uk> | 2009-03-28 18:04:06 +0000 |
commit | 69d1342278729353799d0fee646e0f44517ebed8 (patch) | |
tree | 38ed9af70545a98947b02ad3f6f6e2e404494479 /src/basis.h | |
parent | db8113d6f55baf4e4ad9c2ecfa423418e73b37c3 (diff) |
Loading and saving of cells, and general tidy-up
Diffstat (limited to 'src/basis.h')
-rw-r--r-- | src/basis.h | 13 |
1 files changed, 6 insertions, 7 deletions
diff --git a/src/basis.h b/src/basis.h index 25eb0ae..2253506 100644 --- a/src/basis.h +++ b/src/basis.h @@ -3,12 +3,12 @@ * * Handle basis structures * - * (c) 2007 Thomas White <taw27@cam.ac.uk> + * (c) 2007-2009 Thomas White <taw27@cam.ac.uk> * * dtr - Diffraction Tomography Reconstruction * */ - + #ifndef BASIS_H #define BASIS_H @@ -19,11 +19,11 @@ #include "control.h" typedef struct { - + double x; double y; double z; - + } Vector; typedef struct basis_struct { @@ -41,9 +41,8 @@ typedef struct cell_struct { double gamma; } UnitCell; -extern double basis_efom(struct reflectionlist_struct *reflectionlist, Basis *basis); -extern Basis basis_add(Basis u, Basis v); extern UnitCell basis_get_cell(Basis *cell); +extern void basis_save(ControlContext *ctx); +extern void basis_load(ControlContext *ctx); #endif /* BASIS_H */ - |