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

This commit is contained in:
sjplimp
2008-10-03 21:19:15 +00:00
parent 96ec6bbbc8
commit cb99406738
5 changed files with 64 additions and 1 deletions

View File

@ -166,6 +166,12 @@ void Modify::init()
for (i = 0; i < ncompute; i++) compute[i]->init();
modify->addstep_compute_all(update->ntimestep);
// set global flag if any fix has its restart_pbc flag set
restart_pbc_any = 0;
for (i = 0; i < nfix; i++)
if (fix[i]->restart_pbc) restart_pbc_any = 1;
// warn if any particle is time integrated more than once
int nlocal = atom->nlocal;