Closed jfikar closed 5 years ago
Thank you for reporting this bug. It had to do with the searching of colinear vertices, which was wrongly eliminating some vertices from the neighbor list, hence the grain was not cut correctly.
I just pushed a new version to Github. I tried it with your example and with other systems, and I believe the issue is now fixed. Please confirm when you can.
Regards
I can confirm the issue is fixed. Thank you very much
Dear Pierre,
I think I've found another bug in atomsk. I'm creating my hexagonal tungsten polycrystal as before, just this time the box is smaller in Z:
poly.txt:
Then the grain number one is no more hexagonal, but it is on one side bigger bordered with right angle. It also contains more atoms than the other grains, as it is outputted by atomsk: about 2600 atoms, while other grains have around 1800 atoms. Then the extra atoms from grain one are inside of other grains via periodic boundary conditions. Here I omitted the
-wrap
switch so the wrong shape of the grain number one is obvious.The weird shape of grain number one happens when the box Z dimension is 0 - 40 A. At 45 A and bigger it behaves as expected.
It seems the order of nodes is not the problem, it seems it is the position of node one.