I am searching for the mapping between system atom and its ghost atom(s).The reason why I would like to use it, is because I am implementing a fix which updates atom charges. During this process an H-matrix is calculated, and it requires 2D mapping. I used reverse_comm_fix(), but it uses 1D buffer. I tried a 2D buffer to send matrix elements between pack_reverse_comm() and unpack_reverse_comm(), but those of ghost atoms of different image boxes could not be mapped.
Looking forward to your help.