aboutsummaryrefslogtreecommitdiff
path: root/src/cell.h
diff options
context:
space:
mode:
authorThomas White <taw@physics.org>2010-11-15 16:17:02 +0100
committerThomas White <taw@physics.org>2012-02-22 15:27:05 +0100
commit1b4fa114decd9c36324feed00296cb40088a9062 (patch)
tree2d313458c29c6f4ac5de5513639020558eaaa556 /src/cell.h
parentfcde5d4f2fd95845402b86c3838f15b6632a8071 (diff)
Zap quats
The "orientation" quaternion should not rotate the Ewald sphere, but the crystal. This cleans things up a little, removing "orientation" from "struct image".
Diffstat (limited to 'src/cell.h')
-rw-r--r--src/cell.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/cell.h b/src/cell.h
index c5b5d888..5a6bfda9 100644
--- a/src/cell.h
+++ b/src/cell.h
@@ -16,6 +16,8 @@
#include <config.h>
#endif
+#include "utils.h"
+
/* A 3D vector in reciprocal space */
struct rvec
{
@@ -73,6 +75,8 @@ extern const char *cell_get_pointgroup(UnitCell *cell);
extern double resolution(UnitCell *cell,
signed int h, signed int k, signed int l);
+extern UnitCell *cell_rotate(UnitCell *in, struct quaternion quat);
+
extern void cell_print(UnitCell *cell);
extern UnitCell *match_cell(UnitCell *cell, UnitCell *template, int verbose,