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

This commit is contained in:
sjplimp
2011-12-01 17:37:10 +00:00
parent 8c372f6c41
commit 4643566b25
4 changed files with 16 additions and 16 deletions

View File

@ -509,14 +509,7 @@ void Input::clear()
if (narg > 0) error->all(FLERR,"Illegal clear command");
lmp->destroy();
lmp->create();
// use of "omp" suffix implies using "package omp"
// re-create the effect of that package command which creates a fix
if (lmp->suffix && lmp->suffix_enable) {
if (strcmp(lmp->suffix,"omp") == 0)
lmp->input->one("package omp *");
}
lmp->post_create();
}
/* ---------------------------------------------------------------------- */