Merge pull request #4374 from ndtrung81/gpu-threebody-neigh-no
Fixed bug in the GPU package when three-body pair styles are used with pair hybrid
This commit is contained in:
@ -365,7 +365,9 @@ void Neighbor::get_host(const int inum, int *ilist, int *numj,
|
||||
int i=ilist[ii];
|
||||
three_ilist[i] = ii;
|
||||
}
|
||||
three_ilist.update_device(inum,true);
|
||||
// needs to transfer _max_atoms because three_ilist indexes all the atoms (local and ghost)
|
||||
// not just inum (number of neighbor list items)
|
||||
three_ilist.update_device(_max_atoms,true);
|
||||
}
|
||||
|
||||
time_nbor.stop();
|
||||
|
||||
Reference in New Issue
Block a user