Chapter 2: LAMMPS Syntax and Source Code Hierarchy

In this chapter, we will outline the LAMMPS input script structure and connect script commands with the source code operating in the background. The source code repository is introduced, followed by the class hierarchy that is responsible for setting up the simulation framework and parsing commands, and it culminates in a brief overview of several top-level classes.

We will cover the following topics:

  • Introducing the structure of a typical LAMMPS input script
  • Introducing the repository of source code files
  • Reviewing the source code hierarchy
  • Functions of selected top-level classes

The end goal of this chapter is to explain how the source code lays out the simulation foundations, which will ...

Get Extending and Modifying LAMMPS Writing Your Own Source Code now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.