diff options
author | Thomas White <taw@physics.org> | 2012-09-07 15:45:08 +0200 |
---|---|---|
committer | Thomas White <taw@physics.org> | 2012-10-02 15:02:12 +0200 |
commit | 1363184f920a18fc560ad028a29ffcaa3148d93e (patch) | |
tree | d0bde09ee4d7641d41859215a9d39800812279c4 /libcrystfel/src/cell.c | |
parent | 42e1753bcfd692d5aaf6d7551c6e4635f65c683f (diff) |
WIP
Diffstat (limited to 'libcrystfel/src/cell.c')
-rw-r--r-- | libcrystfel/src/cell.c | 15 |
1 files changed, 10 insertions, 5 deletions
diff --git a/libcrystfel/src/cell.c b/libcrystfel/src/cell.c index 53b0436d..ca0fb9cd 100644 --- a/libcrystfel/src/cell.c +++ b/libcrystfel/src/cell.c @@ -601,6 +601,12 @@ const char *cell_rep(UnitCell *cell) } +struct _unitcelltransformation +{ + +}; + + static UnitCellTransformation *inverse_transformation(UnitCellTransformation *t) { /* FIXME: Implementation */ @@ -655,7 +661,7 @@ UnitCell *cell_transform_inverse(UnitCell *cell, UnitCellTransformation *t) * Returns: A %UnitCellTransformation corresponding to an identity operation. * */ -static UnitCellTransformation *tfn_identity() +UnitCellTransformation *tfn_identity() { } @@ -672,13 +678,12 @@ static UnitCellTransformation *tfn_identity() * Likewise, a = nba*a + nbb*b + nbc*c and c = nca*a + ncb*b + ncc*c. * */ -static void tfn_combine(UnitCellTransformation *t, - double *na, double *nb, double *nc) +void tfn_combine(UnitCellTransformation *t, double *na, double *nb, double *nc) { } -static double *v(double a, double b, double c) +double *tfn_vector(double a, double b, double c) { double *vec = malloc(3*sizeof(double)); if ( vec == NULL ) return NULL; @@ -687,7 +692,7 @@ static double *v(double a, double b, double c) } -void cell_transformation_print(UnitCellTransformation *t) +void tfn_print(UnitCellTransformation *t) { } |