git-svn-id: svn://svn.icms.temple.edu/lammps-ro/trunk@10805 f3b2605a-c512-4ea7-a41b-209d697bcdaa
This commit is contained in:
@ -147,7 +147,7 @@ void ComputePEAtom::compute_peratom()
|
|||||||
|
|
||||||
// communicate ghost energy between neighbor procs
|
// communicate ghost energy between neighbor procs
|
||||||
|
|
||||||
if (force->newton || force->kspace->tip4pflag)
|
if (force->newton || (force->kspace && force->kspace->tip4pflag))
|
||||||
comm->reverse_comm_compute(this);
|
comm->reverse_comm_compute(this);
|
||||||
|
|
||||||
// zero energy of atoms not in group
|
// zero energy of atoms not in group
|
||||||
|
|||||||
Reference in New Issue
Block a user