How to define the total energy of the system?

I want to simulate cells by DPD simulation, the main reference is Probing eukaryotic cell mechanics via mesoscopic simulations.
In the modeling process of the cell membrane model, the elastic energy, bending energy, and constraints of fixed surface area and enclosed volume are considered, thereby defining the total energy.
My question is how these definitions of energy are implemented on lammps?

image.png

image.png

Thanks
Shuai Zhang

total energy in LAMMPS is kinetic energy plus potential energy plus any contribution from fixes added with fix_modify.
the manual has all the explanations and descriptions of what is computed how or references to the corresponding papers.

axel.

image.png

image.png