aboutsummaryrefslogtreecommitdiff
path: root/src/cell.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/cell.h')
-rw-r--r--src/cell.h13
1 files changed, 9 insertions, 4 deletions
diff --git a/src/cell.h b/src/cell.h
index cd31aa66..196b9521 100644
--- a/src/cell.h
+++ b/src/cell.h
@@ -19,9 +19,9 @@
typedef struct {
/* Crystallographic representation */
- double a; /* nm */
- double b; /* nm */
- double c; /* nm */
+ double a; /* m */
+ double b; /* m */
+ double c; /* m */
double alpha; /* Radians */
double beta; /* Radians */
double gamma; /* Radians */
@@ -40,7 +40,7 @@ typedef struct {
extern UnitCell *cell_new(void);
-/* Lengths in nm, angles in radians */
+/* Lengths in m, angles in radians */
extern UnitCell *cell_new_from_parameters(double a, double b, double c,
double alpha, double beta, double gamma);
@@ -57,4 +57,9 @@ extern void cell_get_cartesian(UnitCell *cell,
double *bx, double *by, double *bz,
double *cx, double *cy, double *cz);
+extern void cell_get_reciprocal(UnitCell *cell,
+ double *asx, double *asy, double *asz,
+ double *bsx, double *bsy, double *bsz,
+ double *csx, double *csy, double *csz);
+
#endif /* CELL_H */