forked from lijiext/lammps
git-svn-id: svn://svn.icms.temple.edu/lammps-ro/trunk@1833 f3b2605a-c512-4ea7-a41b-209d697bcdaa
This commit is contained in:
parent
32046ee4ab
commit
6149b344de
|
@ -27,7 +27,8 @@ using namespace LAMMPS_NS;
|
|||
FixNVE::FixNVE(LAMMPS *lmp, int narg, char **arg) :
|
||||
Fix(lmp, narg, arg)
|
||||
{
|
||||
if (narg < 3) error->all("Illegal fix nve command");
|
||||
if (strcmp(style,"nve/sphere") != 0 && narg < 3)
|
||||
error->all("Illegal fix nve command");
|
||||
|
||||
time_integrate = 1;
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue