Updating OPENMP package
This commit is contained in:
@ -44,7 +44,6 @@ NPairNsqGhost<HALF>::NPairNsqGhost(LAMMPS *lmp) : NPair(lmp) {}
|
||||
pair stored once if i,j are both ghost and i < j
|
||||
------------------------------------------------------------------------- */
|
||||
|
||||
|
||||
template<int HALF>
|
||||
void NPairNsqGhost<HALF>::build(NeighList *list)
|
||||
{
|
||||
@ -159,6 +158,7 @@ void NPairNsqGhost<HALF>::build(NeighList *list)
|
||||
if (rsq <= cutneighsq[itype][jtype]) neighptr[n++] = j;
|
||||
} else {
|
||||
if (rsq <= cutneighghostsq[itype][jtype]) neighptr[n++] = j;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user