aboutsummaryrefslogtreecommitdiff
path: root/libcrystfel/src/cell.h
diff options
context:
space:
mode:
authorThomas White <taw@physics.org>2019-08-15 16:35:50 +0200
committerThomas White <taw@physics.org>2019-08-22 17:03:27 +0200
commitda13e5c05e0762860df003812991c43225d7d379 (patch)
tree46185d007ac219c13ecf324aec400147450d67ae /libcrystfel/src/cell.h
parente3f4046056cf92ce5e40e5e715cbcd53df7b0621 (diff)
Add cell_get_G6() and corresponding structure
Diffstat (limited to 'libcrystfel/src/cell.h')
-rw-r--r--libcrystfel/src/cell.h12
1 files changed, 12 insertions, 0 deletions
diff --git a/libcrystfel/src/cell.h b/libcrystfel/src/cell.h
index 4bbc1be2..e12fc209 100644
--- a/libcrystfel/src/cell.h
+++ b/libcrystfel/src/cell.h
@@ -132,6 +132,18 @@ extern void cell_set_reciprocal(UnitCell *cell,
extern LatticeType cell_get_lattice_type(UnitCell *cell);
extern void cell_set_lattice_type(UnitCell *cell, LatticeType lattice_type);
+struct g6
+{
+ double A;
+ double B;
+ double C;
+ double D;
+ double E;
+ double F;
+};
+
+extern struct g6 cell_get_G6(UnitCell *cell);
+
extern char cell_get_centering(UnitCell *cell);
extern void cell_set_centering(UnitCell *cell, char centering);