I am trying to figure out how image flags are calculated in LAMMPS. I
know that from the 1Oct2006 release the image flags are calculated using
bitwise operations. I did look into the code. However, I don't quite
understand the bitwise operations performed to calculate the atom
images. It would be a great help if someone could explain the procedure.