aboutsummaryrefslogtreecommitdiff
path: root/src/cell.h
diff options
context:
space:
mode:
authorThomas White <taw@physics.org>2010-06-21 17:15:33 +0200
committerThomas White <taw@physics.org>2012-02-22 15:26:50 +0100
commit3a2152e5ea7980575d5a66b4c29e2e779d2c30cb (patch)
tree6508ecfd1b78ff60dcceeaf219b3d76416fbab4f /src/cell.h
parentd82e45831a94cae99730ad8f7ff48b4cf8e1cfb9 (diff)
Make UnitCell opaque
Diffstat (limited to 'src/cell.h')
-rw-r--r--src/cell.h22
1 files changed, 1 insertions, 21 deletions
diff --git a/src/cell.h b/src/cell.h
index ec8a063f..0310c04e 100644
--- a/src/cell.h
+++ b/src/cell.h
@@ -16,27 +16,7 @@
#include <config.h>
#endif
-typedef struct {
-
- /* Crystallographic representation */
- double a; /* m */
- double b; /* m */
- double c; /* m */
- double alpha; /* Radians */
- double beta; /* Radians */
- double gamma; /* Radians */
-
- /* Cartesian representation */
- double ax; double bx; double cx;
- double ay; double by; double cy;
- double az; double bz; double cz;
-
- /* Cartesian representation of reciprocal axes */
- double axs; double bxs; double cxs;
- double ays; double bys; double cys;
- double azs; double bzs; double czs;
-
-} UnitCell;
+typedef struct _unitcell UnitCell;
extern UnitCell *cell_new(void);
extern UnitCell *cell_new_from_cell(UnitCell *orig);