diff options
author | Thomas White <taw@physics.org> | 2019-03-09 11:39:14 +0100 |
---|---|---|
committer | Thomas White <taw@physics.org> | 2019-03-11 16:49:37 +0100 |
commit | 5b5edcc2fb28c2ec166a44a5a821f138ef3ac4ef (patch) | |
tree | 8aedb35ba8807af987f9d9ef0b601ee8d28a08ac | |
parent | 555a0319ff558123aaabb8214190c53b621ffe95 (diff) |
cell_tool: Improve messages
-rw-r--r-- | src/cell_tool.c | 9 |
1 files changed, 8 insertions, 1 deletions
diff --git a/src/cell_tool.c b/src/cell_tool.c index 59500cbb..14faac3b 100644 --- a/src/cell_tool.c +++ b/src/cell_tool.c @@ -95,12 +95,16 @@ static int comparecells(UnitCell *cell, const char *comparecell, return 0; } else { UnitCell *trans; - STATUS("Relationship found:\n"); + STATUS("Relationship found. To become similar to the reference" + " cell, the input cell should be transformed by:\n"); rtnl_mtx_print(m); STATUS("Transformed version of input unit cell:\n"); trans = cell_transform_rational(cell, m); cell_print(trans); cell_free(trans); + STATUS("NB transformed cell might not really be triclinic, " + "it's just that I don't (yet) know how to work out what " + "it is.\n"); } @@ -350,6 +354,9 @@ static int transform(UnitCell *cell, const char *trans_str) STATUS("------------------> The transformed unit cell:\n"); cell_print(nc); + STATUS("NB transformed cell might not really be triclinic, " + "it's just that I don't (yet) know how to work out what " + "it is.\n"); return 0; } |