mace-universal / tests /lammps /build-structure.py
cyrusyc's picture
upload new medium with calibrated isolated atomic reference energies
507ff9b
raw
history blame contribute delete
264 Bytes
from ase.build import bulk
from ase import Atom
from ase.io import write
Ni = bulk('Ni', cubic=True) * (2, 2, 2)
H = Atom('H', position=Ni.cell.diagonal()/2)
NiH = Ni + H
write('initial_.data', NiH, format='lammps-data',
masses=True, atom_style='atomic')