molovol / MoloVol

MoloVol is a free, cross-plattform, scientific software for volume and surface computations of single molecules and crystallographic unit cells.
https://molovol.com
MIT License
22 stars 4 forks source link

fix duplicate atoms at the border #131

Closed rlavendomme closed 1 year ago

rlavendomme commented 2 years ago

In rare cases, atoms are exactly on the unit cell border. The previous operations to move atoms inside the unit cell led to some duplicate atoms on opposite borders of the orthogonalized unit cell leading to wrong chemical formula and unit cell mass.