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

This commit is contained in:
sjplimp 2010-06-15 19:08:46 +00:00
parent 216b039b61
commit 422c33713b
3 changed files with 3 additions and 2 deletions

View File

@ -167,8 +167,10 @@ FixDeform::FixDeform(LAMMPS *lmp, int narg, char **arg) : Fix(lmp, narg, arg)
}
// read options from end of input line
// no x remap effectively moves atoms within box, so set restart_pbc
options(narg-iarg,&arg[iarg]);
if (remapflag != X_REMAP) restart_pbc = 1;
// setup dimflags used by other classes to check for volume-change conflicts

View File

@ -1773,4 +1773,3 @@ void Thermo::compute_fnorm()
MPI_Allreduce(&dot,&dotall,1,MPI_DOUBLE,MPI_SUM,world);
dvalue = sqrt(dotall);
}

View File

@ -228,7 +228,7 @@ void WriteRestart::write(char *file)
x[2] = MAX(x[2],lo[2]);
}
if (triclinic) domain->x2lamda(x,x);
if (triclinic) domain->lamda2x(x,x);
m += static_cast<int> (buf[m]);
}
}