git-svn-id: svn://svn.icms.temple.edu/lammps-ro/trunk@5918 f3b2605a-c512-4ea7-a41b-209d697bcdaa
This commit is contained in:
@ -39,20 +39,16 @@ NeighRequest::NeighRequest(LAMMPS *lmp) : Pointers(lmp)
|
|||||||
half_from_full = 0;
|
half_from_full = 0;
|
||||||
ghost = 0;
|
ghost = 0;
|
||||||
|
|
||||||
// default is use newton_pair setting in force
|
|
||||||
|
|
||||||
newton = 0;
|
|
||||||
|
|
||||||
// default is every reneighboring
|
// default is every reneighboring
|
||||||
|
// default is use newton_pair setting in force
|
||||||
occasional = 0;
|
// default is encode special bond flags
|
||||||
|
|
||||||
// default is no auxiliary floating point values
|
// default is no auxiliary floating point values
|
||||||
|
|
||||||
dnum = 0;
|
|
||||||
|
|
||||||
// default is no neighbors of ghosts
|
// default is no neighbors of ghosts
|
||||||
|
|
||||||
|
occasional = 0;
|
||||||
|
newton = 0;
|
||||||
|
special = 1;
|
||||||
|
dnum = 0;
|
||||||
ghost = 0;
|
ghost = 0;
|
||||||
|
|
||||||
// default is no copy or skip
|
// default is no copy or skip
|
||||||
@ -100,6 +96,7 @@ int NeighRequest::identical(NeighRequest *other)
|
|||||||
|
|
||||||
if (newton != other->newton) same = 0;
|
if (newton != other->newton) same = 0;
|
||||||
if (occasional != other->occasional) same = 0;
|
if (occasional != other->occasional) same = 0;
|
||||||
|
if (special != other->special) same = 0;
|
||||||
if (dnum != other->dnum) same = 0;
|
if (dnum != other->dnum) same = 0;
|
||||||
if (ghost != other->ghost) same = 0;
|
if (ghost != other->ghost) same = 0;
|
||||||
|
|
||||||
|
|||||||
@ -58,6 +58,11 @@ class NeighRequest : protected Pointers {
|
|||||||
|
|
||||||
int newton;
|
int newton;
|
||||||
|
|
||||||
|
// 0 if user of list wants no encoding of special bond flags and all neighs
|
||||||
|
// 1 if user of list wants special bond flags encoded
|
||||||
|
|
||||||
|
int special;
|
||||||
|
|
||||||
// number of auxiliary floating point values to store, 0 if none
|
// number of auxiliary floating point values to store, 0 if none
|
||||||
// set by requesting class
|
// set by requesting class
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user