aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--doc/man/cell_tool.12
-rw-r--r--src/cell_tool.c3
2 files changed, 4 insertions, 1 deletions
diff --git a/doc/man/cell_tool.1 b/doc/man/cell_tool.1
index 576943d0..86dd9ae0 100644
--- a/doc/man/cell_tool.1
+++ b/doc/man/cell_tool.1
@@ -51,7 +51,7 @@ There are an infinite number of primitive unit cell for any lattice. This progr
.PP
The program will compare the two cells, and report if \fImy_structure.cell\fR can be made to look similar to \fIreference.cell\fR applying any transformation matrix.
.PP
-The tolerance \fItols\fR is given as lengthtol,angtol, in percent and degrees respectively, which will be applied to the real-space unit cell axis lengths and angles.
+The tolerance \fItols\fR is given as lengthtol,angtol, in percent and degrees respectively, which will be applied to the real-space unit cell axis lengths and angles. If either of the unit cells are centered, a primitive version of will be used \fIfor some of the comparison results\fR. Read the output carefully.
.SH TRANSFORMING A UNIT CELL
.PP
diff --git a/src/cell_tool.c b/src/cell_tool.c
index 5fef5d9f..83056a6f 100644
--- a/src/cell_tool.c
+++ b/src/cell_tool.c
@@ -98,6 +98,7 @@ static int comparecells(UnitCell *cell, const char *comparecell,
tolerance[5] = atl;
STATUS("------------------> Reindexed (strictly the same lattice):\n");
+ STATUS("Tolerances applied directly to the unit cells\n");
if ( !compare_reindexed_cell_parameters(cell, cell2, tolerance, &m) ) {
STATUS("No relationship found between lattices.\n");
} else {
@@ -117,6 +118,7 @@ static int comparecells(UnitCell *cell, const char *comparecell,
STATUS("------------------> Derivative lattice "
"(strictly the same lattice):\n");
+ STATUS("Tolerances applied to primitive versions of the unit cells\n");
if ( !compare_derivative_cell_parameters(cell, cell2, tolerance, 0, &m) ) {
STATUS("No relationship found between lattices.\n");
} else {
@@ -136,6 +138,7 @@ static int comparecells(UnitCell *cell, const char *comparecell,
STATUS("------------------> Coincidence site lattice "
"(not strictly the same lattice):\n");
+ STATUS("Tolerances applied to primitive versions of the unit cells\n");
if ( !compare_derivative_cell_parameters(cell, cell2, tolerance, 1, &m) ) {
STATUS("No relationship found between lattices.\n");
return 0;