forked from lijiext/lammps
git-svn-id: svn://svn.icms.temple.edu/lammps-ro/trunk@4257 f3b2605a-c512-4ea7-a41b-209d697bcdaa
This commit is contained in:
parent
216b039b61
commit
422c33713b
|
@ -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
|
||||
|
||||
|
|
|
@ -1773,4 +1773,3 @@ void Thermo::compute_fnorm()
|
|||
MPI_Allreduce(&dot,&dotall,1,MPI_DOUBLE,MPI_SUM,world);
|
||||
dvalue = sqrt(dotall);
|
||||
}
|
||||
|
||||
|
|
|
@ -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]);
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue