aboutsummaryrefslogtreecommitdiff
path: root/src/cell.c
diff options
context:
space:
mode:
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;