/doc/ase/io/write_lammps.py
https://gitlab.com/vote539/ase · Python · 5 lines · 4 code · 1 blank · 0 comment · 0 complexity · 130d230b815a940a024868e8de45d3b1 MD5 · raw file
- from ase.io.opls import OPLSff, OPLSStructure
- s = OPLSStructure('172_ext.xyz')
- opls = OPLSff('172_defs.par')
- opls.write_lammps(s, prefix='lmp')