[ase-users] Changing atom indices in an existing atoms object

Andrew Rosen rosen at u.northwestern.edu
Wed Nov 29 18:17:29 CET 2017


Hi ASE users,

Given an existing atoms object, is there a way to swap the indices of
certain atoms? Each atom in the atoms object has an index property, but
changing it only changes the copy.

Andrew
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://listserv.fysik.dtu.dk/pipermail/ase-users/attachments/20171129/c4fb94ef/attachment.html>


More information about the ase-users mailing list