\(\renewcommand{\AA}{\text{Å}}\)

3. Modifying & extending LAMMPS

LAMMPS has a modular design, so that it is easy to modify or extend with new functionality. In fact, about 95% of its source code is optional. The following pages give basic instructions on adding new features to LAMMPS. More in-depth explanations and documentation of individual functions and classes are given in Information for Developers.

If you add a new feature to LAMMPS and think it will be of general interest to other users, we encourage you to submit it for inclusion in LAMMPS. This process is explained in the following three pages:

A summary description of various types of styles in LAMMPS follows. A discussion of implementing specific styles from scratch is given in writing new styles.