diff options
author | Thomas White <taw@physics.org> | 2010-07-30 18:44:04 +0200 |
---|---|---|
committer | Thomas White <taw@physics.org> | 2012-02-22 15:26:55 +0100 |
commit | e09a64256a29547943a432ac5d41819835f8483a (patch) | |
tree | 3f4dfca844b770f6959e5d443396606c902c576b /src/cell.h | |
parent | 63129a826c8156b1e7cd075e4dc5a23f3641e22a (diff) |
Add facetron program for profile fitting and post-refinement
Diffstat (limited to 'src/cell.h')
-rw-r--r-- | src/cell.h | 11 |
1 files changed, 11 insertions, 0 deletions
@@ -16,6 +16,14 @@ #include <config.h> #endif +/* A 3D vector in reciprocal space */ +struct rvec +{ + double u; + double v; + double w; +}; + typedef struct _unitcell UnitCell; extern UnitCell *cell_new(void); @@ -25,6 +33,9 @@ extern UnitCell *cell_new_from_cell(UnitCell *orig); extern UnitCell *cell_new_from_parameters(double a, double b, double c, double alpha, double beta, double gamma); +extern UnitCell *cell_new_from_axes(struct rvec as, struct rvec bs, + struct rvec cs); + extern void cell_set_cartesian(UnitCell *cell, double ax, double ay, double az, double bx, double by, double bz, |