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

This commit is contained in:
sjplimp
2011-06-29 14:52:56 +00:00
parent 85aa73903c
commit 37df8b5cf0
2 changed files with 10 additions and 14 deletions

View File

@ -370,6 +370,7 @@ bigint Thermo::lost_check()
if (ntotal == atom->natoms) return ntotal;
// if not checking or already warned, just return
// reset total atom count
if (lostflag == IGNORE) return ntotal;
if (lostflag == WARN && lostbefore == 1) {
@ -395,6 +396,8 @@ bigint Thermo::lost_check()
atom->natoms,ntotal);
if (me == 0) error->warning(str,0);
// reset total atom count
atom->natoms = ntotal;
lostbefore = 1;
return ntotal;