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

This commit is contained in:
sjplimp
2011-10-24 20:28:02 +00:00
parent 11806a92a1
commit c6bbdcfbf2
71 changed files with 279 additions and 190 deletions

View File

@ -44,6 +44,8 @@ NeighRequest::NeighRequest(LAMMPS *lmp) : Pointers(lmp)
// default is encode special bond flags
// default is no auxiliary floating point values
// default is no neighbors of ghosts
// default is no CUDA neighbor list build
// default is no multi-threaded neighbor list build
occasional = 0;
newton = 0;
@ -51,6 +53,7 @@ NeighRequest::NeighRequest(LAMMPS *lmp) : Pointers(lmp)
dnum = 0;
ghost = 0;
cudable = 0;
omp = 0;
// default is no copy or skip
@ -101,6 +104,7 @@ int NeighRequest::identical(NeighRequest *other)
if (dnum != other->dnum) same = 0;
if (ghost != other->ghost) same = 0;
if (cudable != other->cudable) same = 0;
if (omp != other->omp) same = 0;
if (copy != other->copy) same = 0;
if (same_skip(other) == 0) same = 0;
@ -129,6 +133,7 @@ int NeighRequest::same_kind(NeighRequest *other)
if (newton != other->newton) same = 0;
if (ghost != other->ghost) same = 0;
if (cudable != other->cudable) same = 0;
if (omp != other->omp) same = 0;
return same;
}
@ -178,4 +183,5 @@ void NeighRequest::copy_request(NeighRequest *other)
dnum = other->dnum;
ghost = other->ghost;
cudable = other->cudable;
omp = other->omp;
}