Chapter 8: Exploring Supporting Classes

In this chapter, we will outline some supporting classes that are often imported and invoked by pair potentials, computes, and fixes. These classes play vital roles in facilitating the simulation flow, but often do not need to be modified when creating custom LAMMPS features.

We will cover the following topics in this chapter:

  • Discovering the Group class
  • Exploring the Variable class
  • Studying the Error class
  • Reviewing the Memory class
  • Discussing the Angle and angle/harmonic classes

By the end of this chapter, you will have learned how these supporting classes execute their duties and how they are invoked during simulation runs.

Technical requirements

To execute the instructions in this chapter, you just ...

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.