diff options
author | Thomas White <taw@physics.org> | 2010-11-15 16:17:02 +0100 |
---|---|---|
committer | Thomas White <taw@physics.org> | 2012-02-22 15:27:05 +0100 |
commit | 1b4fa114decd9c36324feed00296cb40088a9062 (patch) | |
tree | 2d313458c29c6f4ac5de5513639020558eaaa556 /src/cell.h | |
parent | fcde5d4f2fd95845402b86c3838f15b6632a8071 (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.h | 4 |
1 files changed, 4 insertions, 0 deletions
@@ -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, |