aboutsummaryrefslogtreecommitdiff
path: root/src/cell.c
diff options
context:
space:
mode:
authorThomas White <taw@physics.org>2010-02-22 10:24:35 +0100
committerThomas White <taw@physics.org>2010-02-22 10:25:02 +0100
commit3132451eb2a3c88202078177f84c9c8fc96372fe (patch)
tree08104e9c2df2c3a8fe98a1f97dd358fd5fc22535 /src/cell.c
parentcc0db0054d76474e55393c05806f715a0e2f6d08 (diff)
Tidy some things up:
s convention detector geometry comments, help messages
Diffstat (limited to 'src/cell.c')
-rw-r--r--src/cell.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/cell.c b/src/cell.c
index acbab635..c6d64af0 100644
--- a/src/cell.c
+++ b/src/cell.c
@@ -554,6 +554,7 @@ done:
}
+/* Return sin(theta)/lambda = 1/2d. Multiply by two if you want 1/d */
double resolution(UnitCell *cell, signed int h, signed int k, signed int l)
{
const double a = cell->a;