/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

  1. from ase.io.opls import OPLSff, OPLSStructure
  2. s = OPLSStructure('172_ext.xyz')
  3. opls = OPLSff('172_defs.par')
  4. opls.write_lammps(s, prefix='lmp')