mirror of https://github.com/lammps/lammps.git
git-svn-id: svn://svn.icms.temple.edu/lammps-ro/trunk@7272 f3b2605a-c512-4ea7-a41b-209d697bcdaa
This commit is contained in:
parent
a6d0ca14cf
commit
5a968ac62e
|
@ -1151,6 +1151,7 @@ void Input::package()
|
|||
modify->add_fix(2+narg,fixarg,NULL);
|
||||
modify->allow_early_fix = 0;
|
||||
delete [] fixarg;
|
||||
|
||||
} else error->all(FLERR,"Illegal package command");
|
||||
}
|
||||
|
||||
|
|
|
@ -467,14 +467,15 @@ void LAMMPS::create()
|
|||
}
|
||||
|
||||
/* ----------------------------------------------------------------------
|
||||
invoke package-specific commands
|
||||
called from LAMMPS instance constructor and after clear() command
|
||||
invoke package-specific setup commands
|
||||
called from LAMMPS constructor and after clear() command
|
||||
only invoke if suffix is set and enabled
|
||||
------------------------------------------------------------------------- */
|
||||
|
||||
void LAMMPS::post_create()
|
||||
{
|
||||
if (suffix && suffix_enable) {
|
||||
if (strcmp(suffix,"gpu") == 0) input->one("package gpu force/neigh 0 0 1");
|
||||
if (strcmp(suffix,"omp") == 0) input->one("package omp *");
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue