git-svn-id: svn://svn.icms.temple.edu/lammps-ro/trunk@10024 f3b2605a-c512-4ea7-a41b-209d697bcdaa
This commit is contained in:
@ -107,7 +107,7 @@ void ComputePEAtom::compute_peratom()
|
|||||||
if (force->newton) npair += atom->nghost;
|
if (force->newton) npair += atom->nghost;
|
||||||
if (force->newton_bond) nbond += atom->nghost;
|
if (force->newton_bond) nbond += atom->nghost;
|
||||||
if (force->newton) ntotal += atom->nghost;
|
if (force->newton) ntotal += atom->nghost;
|
||||||
if (force->kspace->tip4pflag) nkspace += atom->nghost;
|
if (force->kspace && force->kspace->tip4pflag) nkspace += atom->nghost;
|
||||||
|
|
||||||
// clear local energy array
|
// clear local energy array
|
||||||
|
|
||||||
|
|||||||
@ -121,7 +121,7 @@ void ComputeStressAtom::compute_peratom()
|
|||||||
if (force->newton) npair += atom->nghost;
|
if (force->newton) npair += atom->nghost;
|
||||||
if (force->newton_bond) nbond += atom->nghost;
|
if (force->newton_bond) nbond += atom->nghost;
|
||||||
if (force->newton) ntotal += atom->nghost;
|
if (force->newton) ntotal += atom->nghost;
|
||||||
if (force->kspace->tip4pflag) nkspace += atom->nghost;
|
if (force->kspace && force->kspace->tip4pflag) nkspace += atom->nghost;
|
||||||
|
|
||||||
// clear local stress array
|
// clear local stress array
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user