adapt some more styles to use the new neighbor list request API
This commit is contained in:
@ -204,10 +204,8 @@ void ComputeRDF::init()
|
||||
// (until next reneighbor), so it needs to contain atoms further
|
||||
// than cutoff_user apart, just like a normal neighbor list does
|
||||
|
||||
if (cutflag)
|
||||
neighbor->add_request(this,NeighConst::REQ_OCCASIONAL)->set_cutoff(mycutneigh);
|
||||
else
|
||||
neighbor->add_request(this,NeighConst::REQ_OCCASIONAL);
|
||||
auto req = neighbor->add_request(this, NeighConst::REQ_OCCASIONAL);
|
||||
if (cutflag) req->set_cutoff(mycutneigh);
|
||||
}
|
||||
|
||||
/* ---------------------------------------------------------------------- */
|
||||
|
||||
Reference in New Issue
Block a user