예제 #1
0
파일: Atoms.py 프로젝트: engelund/CalcTroll
    def __add__(self, other):
        shift = len(self)
        atoms = AseAtoms.__add__(self, other)

        if isinstance(other, Atoms):
            atoms.transfer(other, shift)

        return atoms