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

This commit is contained in:
sjplimp 2010-10-06 15:58:36 +00:00
parent 397f967521
commit 50af532aa8
1 changed files with 2 additions and 4 deletions

View File

@ -113,11 +113,11 @@ void DumpXTC::init_style()
for (idump = 0; idump < output->ndump; idump++)
if (strcmp(id,output->dump[idump]->id) == 0) break;
if (output->every_dump[idump] == 0)
error->all("Cannot use variable every setting for dump dcd");
error->all("Cannot use variable every setting for dump xtc");
if (nevery_save == 0) nevery_save = output->every_dump[idump];
else if (nevery_save != output->every_dump[idump])
error->all("Cannot change dump_modify every for dump dcd");
error->all("Cannot change dump_modify every for dump xtc");
}
/* ---------------------------------------------------------------------- */
@ -207,8 +207,6 @@ void DumpXTC::pack(int *ids)
int *mask = atom->mask;
int nlocal = atom->nlocal;
// assume group all, so no need to perform mask check
m = n = 0;
if (unwrap_flag == 1) {
double xprd = domain->xprd;