aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/cell.c2
-rw-r--r--src/cell.h2
-rw-r--r--src/dirax.c6
3 files changed, 7 insertions, 3 deletions
diff --git a/src/cell.c b/src/cell.c
index 27f6e3a3..01644238 100644
--- a/src/cell.c
+++ b/src/cell.c
@@ -314,7 +314,7 @@ void cell_get_reciprocal(UnitCell *cell,
}
-static void cell_print(UnitCell *cell)
+void cell_print(UnitCell *cell)
{
double asx, asy, asz;
double bsx, bsy, bsz;
diff --git a/src/cell.h b/src/cell.h
index 687c7ef6..db5cab0b 100644
--- a/src/cell.h
+++ b/src/cell.h
@@ -72,6 +72,8 @@ extern void cell_get_reciprocal(UnitCell *cell,
extern double resolution(UnitCell *cell,
signed int h, signed int k, signed int l);
+extern void cell_print(UnitCell *cell);
+
extern UnitCell *match_cell(UnitCell *cell, UnitCell *template);
#endif /* CELL_H */
diff --git a/src/dirax.c b/src/dirax.c
index 0849d750..05023584 100644
--- a/src/dirax.c
+++ b/src/dirax.c
@@ -98,8 +98,10 @@ static void dirax_parseline(const char *line, struct image *image)
sscanf(line, "%f %f %f %f %f %f", &d, &d, &d, &cx, &cy, &cz);
cell_set_cartesian_c(image->indexed_cell,
cx*1e-10, cy*1e-10, cz*1e-10);
- STATUS("Read a direct space unit cell from DirAx\n");
- /* FIXME: Do something */
+ STATUS("--------------------\n");
+ STATUS("The cell from DirAx:\n");
+ cell_print(image->indexed_cell);
+ STATUS("--------------------\n");
image->dirax_read_cell = 0;
return;
}