use new neighbor list request API
This commit is contained in:
@ -84,12 +84,7 @@ void ComputeAggregateAtom::init()
|
|||||||
// need an occasional full neighbor list
|
// need an occasional full neighbor list
|
||||||
// full required so that pair of atoms on 2 procs both set their clusterID
|
// full required so that pair of atoms on 2 procs both set their clusterID
|
||||||
|
|
||||||
int irequest = neighbor->request(this,instance_me);
|
neighbor->add_request(this,NeighConst::REQ_FULL|NeighConst::REQ_OCCASIONAL);
|
||||||
neighbor->requests[irequest]->pair = 0;
|
|
||||||
neighbor->requests[irequest]->compute = 1;
|
|
||||||
neighbor->requests[irequest]->half = 0;
|
|
||||||
neighbor->requests[irequest]->full = 1;
|
|
||||||
neighbor->requests[irequest]->occasional = 1;
|
|
||||||
|
|
||||||
int count = 0;
|
int count = 0;
|
||||||
for (int i = 0; i < modify->ncompute; i++)
|
for (int i = 0; i < modify->ncompute; i++)
|
||||||
|
|||||||
Reference in New Issue
Block a user