Hi,
Maybe a developer or another user can confirm, but I suspect mn2au.cpp (1) was designed to use in the input file the line
dimensions:unit-cell-size = 3.33 !A
instead of
dimensions:unit-cell-size-x
dimensions:unit-cell-size-y
dimensions:unit-cell-size-z
Tetragonal Mn2Au (I4/mmm) has lattice constants a = b = 3.33 Å and c = 8.54 Å (2).
The c/a ratio is:
c/a = 8.54 Å/3.33 Å ≅ 2.56 ≈ 3
Rounding 2.56 to 3.0 might be where that comes from for:
unit_cell.dimensions[2] = 3.0
If you don't like the rounding error associated with that, without modifying mn2au.cpp, you could probably use:
dimensions:unit-cell-size-x = 3.33 !A
dimensions:unit-cell-size-y = 3.33 !A
dimensions:unit-cell-size-z = 2.85 !A
where dimensions:unit-cell-size-z is 8.54 Å / 3 ≅
2.85 Å.
Of note, Nd2Fe14B has lattice constants a = b = 8.8 Å
and c = 12.2 Å (3).
In nd2fe14b.cpp (4), I see the line:
unit_cell.dimensions[2] = 12.2 / 8.8;
Alternatively, you should be able to address the rounding error by modifying mn2au.cpp. For example, you could probably modify mn2au.cpp to be similar to
nd2fe14b.cpp by changing "unit_cell.dimensions[2] = 3.0" to:
unit_cell.dimensions[2] = 8.54 / 3.33;
Hope that can help.
nd2fe14b.cpp
Kind Regards,
Gavin
VAMPIRE user