git-svn-id: svn://svn.icms.temple.edu/lammps-ro/trunk@7272 f3b2605a-c512-4ea7-a41b-209d697bcdaa
This commit is contained in:
@ -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 *");
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user