aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorThomas White <taw@physics.org>2019-03-09 11:39:14 +0100
committerThomas White <taw@physics.org>2019-03-11 16:49:37 +0100
commit5b5edcc2fb28c2ec166a44a5a821f138ef3ac4ef (patch)
tree8aedb35ba8807af987f9d9ef0b601ee8d28a08ac /src
parent555a0319ff558123aaabb8214190c53b621ffe95 (diff)
cell_tool: Improve messages
Diffstat (limited to 'src')
-rw-r--r--src/cell_tool.c9
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;
}