Relation between the atomic energy and bond energy

Dear all,

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?


pe: the total potential energy of the system, which includes nonbonds (LJ + Coulomb and others defined by the pair_style), bonds, angles, dihedrals, and impropers.

pe/atom: the total potential energy divided by the number of atoms

bond/local: total bond energy.