git-svn-id: svn://svn.icms.temple.edu/lammps-ro/trunk@6183 f3b2605a-c512-4ea7-a41b-209d697bcdaa

This commit is contained in:
sjplimp
2011-05-20 16:22:41 +00:00
parent 721570617e
commit 3d149b4676
2 changed files with 8 additions and 0 deletions

View File

@ -50,6 +50,7 @@ NeighRequest::NeighRequest(LAMMPS *lmp) : Pointers(lmp)
special = 1;
dnum = 0;
ghost = 0;
cudable = 0;
// default is no copy or skip
@ -99,6 +100,7 @@ int NeighRequest::identical(NeighRequest *other)
if (special != other->special) same = 0;
if (dnum != other->dnum) same = 0;
if (ghost != other->ghost) same = 0;
if (cudable != other->cudable) same = 0;
if (copy != other->copy) same = 0;
if (same_skip(other) == 0) same = 0;
@ -126,6 +128,7 @@ int NeighRequest::same_kind(NeighRequest *other)
if (half_from_full != other->half_from_full) same = 0;
if (newton != other->newton) same = 0;
if (ghost != other->ghost) same = 0;
if (cudable != other->cudable) same = 0;
return same;
}
@ -174,4 +177,5 @@ void NeighRequest::copy_request(NeighRequest *other)
newton = other->newton;
dnum = other->dnum;
ghost = other->ghost;
cudable = other->cudable;
}