Added reset for array domain->periodicity[] to read_restart.cpp

git-svn-id: svn://svn.icms.temple.edu/lammps-ro/trunk@310 f3b2605a-c512-4ea7-a41b-209d697bcdaa
This commit is contained in:
athomps 2007-02-16 02:56:34 +00:00
parent 69b53ddf74
commit 130db18566
1 changed files with 3 additions and 0 deletions

View File

@ -428,6 +428,9 @@ void ReadRestart::header()
domain->xperiodic = xperiodic;
domain->yperiodic = yperiodic;
domain->zperiodic = zperiodic;
domain->periodicity[0] = xperiodic;
domain->periodicity[1] = yperiodic;
domain->periodicity[2] = zperiodic;
domain->boundary[0][0] = boundary[0][0];
domain->boundary[0][1] = boundary[0][1];
domain->boundary[1][0] = boundary[1][0];