diff options
-rw-r--r-- | src/cell.c | 2 | ||||
-rw-r--r-- | src/cell.h | 2 | ||||
-rw-r--r-- | src/dirax.c | 6 |
3 files changed, 7 insertions, 3 deletions
@@ -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; @@ -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; } |