removed request for ghost neighbor list

This commit is contained in:
Xiaohui Duan
2022-04-23 20:35:48 +08:00
parent ef51fb7dea
commit b55b9f5a6a

View File

@ -98,9 +98,9 @@ void PairILPGrapheneHBNOpt::init_style()
if (!atom->molecule_flag)
error->all(FLERR, "Pair style ilp/graphene/hbn requires atom attribute molecule");
// need a full neighbor list, including neighbors of ghosts
// It seems that ghost neighbors is required for some historical reason, and it is not needed now
neighbor->add_request(this, NeighConst::REQ_FULL | NeighConst::REQ_GHOST);
neighbor->add_request(this, NeighConst::REQ_FULL);
}
/* ---------------------------------------------------------------------- */