[lammps-users] How to address the neighbor list of ghost atoms?

Hello, everyone,

for coding the bond order potential of carbon I need to know how to address the neighbor list of ghost atoms (when in parallel computation), in the code I got the impression that neighbor list seems to be absent for ghost atoms. Are there some other ways I can retrieve it?

And it would be fine if someone could tell me also birefly in principle how neighbor list is constructed, as well as how ghost atoms are built (like how are the number of the ghost atoms and their indexes determined?).


Xiang Gu

Contact Ase Henry (ase at mit.edu) who has implemented an AI-REBO
carbon potential for LAMMPS. He addressed this issue of neighbors
of neighbors.