summaryrefslogtreecommitdiff
path: root/crystal.c
diff options
context:
space:
mode:
authorThomas White <taw@bitwiz.org.uk>2009-03-04 23:22:32 +0000
committerThomas White <taw@bitwiz.org.uk>2009-03-04 23:23:00 +0000
commita0a8c6218d027dd4b8b877cd9941a55fc6b4de65 (patch)
treee1c4e07803b33c1a72f26d19c9a6016c9915fb42 /crystal.c
parent219f63c4bcbf877a41a70c6fd37ac63bd90b85b6 (diff)
Add a unit test program
Diffstat (limited to 'crystal.c')
-rw-r--r--crystal.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/crystal.c b/crystal.c
index 065236a..cd6ef8a 100644
--- a/crystal.c
+++ b/crystal.c
@@ -65,7 +65,7 @@ static double volume(Cell cell)
}
-static double dspacing(Cell cell, double h, double k, double l)
+double dspacing(Cell cell, double h, double k, double l)
{
double sum_S_terms, one_over_Vsq, one_over_LHS;
@@ -80,7 +80,7 @@ static double dspacing(Cell cell, double h, double k, double l)
}
-static double plane_angle(Cell cell, double h1, double k1, double l1,
+double plane_angle(Cell cell, double h1, double k1, double l1,
double h2, double k2, double l2)
{
double sum_S_terms, d1, d2, dd_over_Vsq;