This are two commands in lammps: he compute pe/atom and compute bond/local. What is the relation between those two commands?
If there are only two bonded atoms in the systm. I use the compute pe/atom to compute the atomic potential. I know the potential of system is the sum of atomic poential. But What is the relation between the atomic potential energy and bond energy?