git-svn-id: svn://svn.icms.temple.edu/lammps-ro/trunk@5498 f3b2605a-c512-4ea7-a41b-209d697bcdaa
This commit is contained in:
@ -223,7 +223,7 @@ void Velocity::create(double t_desired, int seed)
|
||||
|
||||
// error check
|
||||
|
||||
if (atom->natoms > MAXINT32)
|
||||
if (atom->natoms > MAXSMALLINT)
|
||||
error->all("Too big a problem to use velocity create loop all");
|
||||
if (atom->tag_enable == 0)
|
||||
error->all("Cannot use velocity create loop all unless atoms have IDs");
|
||||
|
||||
Reference in New Issue
Block a user