Neighbour list

Hello,

I am trying to implement new potential in lamps. When I compute the interaction force between two atoms, one i located in local with one j located in the ghost list, I am wondering how i can store the force on atom j on its corresponding image in the local list.
In other words, is there any correspondence between the indexes in the local and the ghost list?

Thanks for your help

Nico

No there is no correspondence. You can store the
force on the ghost atom. In parallel, there is likely
no local atom that corresponds to the ghost atom.

Steve