[lammps-users] minimum image for bonds/pairs

LAMMPS users,

I’m finding a vector that points from one bond to another (in a new pair_style)…

Why do bond styles need domain->minimum_image explicitly for delx, but pair styles do not?

Thank you,


Nevermind - found info on the maillist.

Ghost atoms already have the pbc applied, and there’s no need to apply to regular atoms in a pair potential.