[ase-users] Possible bug with minimum image convention
Tarjei Bondevik
tarjei.bondevik at smn.uio.no
Tue Sep 4 14:32:18 CEST 2018
Dear ase-users,
I noticed what I believe is a bug, with a very strange work-around.
I have some code converting Lammps data files to the ase format in the following way:
atoms=Atoms(symbols=chem_symb_list,cell=cell_vectors)
atoms.set_positions(position_list)
When trying to get_all_distances(mic=True) for atoms, the minimum image convention (mic) does not work, i.e. it behaves like its set to False.
However, if I save atoms as a POSCAR file, and import the POSCAR file back to ase, the minimum image convention somehow works again:
write_vasp("tempPOSCAR", atoms, direct=True, sort=True)
atoms = read("tempPOSCAR")
Best regards,
Tarjei Bondevik
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://listserv.fysik.dtu.dk/pipermail/ase-users/attachments/20180904/c52a91f4/attachment.html>
More information about the ase-users
mailing list