Greetings,
what is the intent of this bit-wise operation on the neighbor index “j &= NEIGHMASK;” ?
Greetings,
what is the intent of this bit-wise operation on the neighbor index “j &= NEIGHMASK;” ?
Greetings,
what is the intent of this bit-wise operation on the neighbor index "j &=
NEIGHMASK;" ?
to remove the bits that are added to the neighbor list index for
signaling 1-2, 1-3, or 1-4 neighbors.
without, your index would be *waaaay* out of bounds for any pair
involved in bonds.
axel.
I see, thanks.