Skip to content

ipcamit/lammps-st3

Repository files navigation

#Snippets for quick LAMMPS input file

Put these files in you User folder in ST3 for file highlighting and auto-completion of lammps input files. User folder can be accesed by going to menu: Prefernces > Browse Packages. Usually the bottom-most folder will be User.

All files with extension *.in or *.lammps should show syntax highlighting now.

Currently there are 4 kinds of snippets:

  1. For initialization (atom type, periodic boundary etc). It contains all settings most commonly used by me you can edit it as per your wish. To use it write init followed by Tab to complete it.
  2. For input coeff styles defination like angle_style etc. type styles followed by Tab to complete it. now use Tab to cycle through all the fields you want to edit or fill.
  3. Input/Output Data Files: Triggered by data + Tab. It will define an input read data file, which you shall edit. Followed by trajectory file vor viewing in VMD (lammpstrj) then binary restart file, thermo output for log file and timestep in the end. Use Tab to cycle through all relevent fields
  4. Fixes: Currently only NVT and NPT are there, might add more later. To invoke type nvt or npt followed by Tab. As above, use Tab to cycle through all relevent editable fields.

So essentially now just few strokes: init + Tab, styles + Tab, data + Tab, npt or nvt + Tab should be able to give you a basic lammps input file.

As it should be obvious if anything goes wrong with your simulations or computers or anything else, you are only responsible for that.

About

LAMMPS snippets for Sublime Text 3

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published