p2ptrans generates weird geometries for simple transition #27
-
Here is the problem I faced during the usage of this script. So, I tried to generate some simple transition pathway with a small number of atoms in the unit cell and chose ZnO structures diamond-like and lonsdaleite-like ZnO. The geometries were taken from MaterialsProject and assigned as mp-1986 and mp-2133 – both structures are attached below. So, I ran the script with default parameters, like This problem is happening on any kind of system (Linux and macOS) and on any kind of script version above 2.0.0. As far as I understand, this weird bug is easy to fix. [bug_p2ptrans.zip](https://github.com/ftherrien/p2ptrans/files/9241749/bug_p2ptrans.zip) |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 2 replies
-
Somehow archive with inputs and outputs has not been attached properly, so I will put the link to it once again in this comment.
|
Beta Was this translation helpful? Give feedback.
-
Hi @samtsevich, Looking at your files it seems like you ran
The output says the following:
This is why you are seeing weird structures where atoms are missing. This is happening because the number of atoms that you are using for mapping is smaller than the transformation cell. In other word To solve this problem you simply need to increase
You will get something like this:
Using smaller
It took about 5 min to run and I found the following:
With '-n 300' you get the same mechanism in about 40 min which indicates that this mechanism holds for larger sizes. |
Beta Was this translation helpful? Give feedback.
Hi @samtsevich,
Looking at your files it seems like you ran
p2ptrans
with a smaller-n
setting of 20, something like:p2ptrans -I mp-1986.vasp -F mp-2133.vasp -o 1986_2133 -n 20
The output says the following:
This is why you are seeing weird structures where atoms are missing. This is happening because the number of atoms that you are using for mapping is smaller than the transformation cell. In other word
p2ptrans
does not have enough atoms to reconstruct the full transformation. The resulting transformation mechanism does not make physical sense.…