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

This commit is contained in:
sjplimp
2011-01-04 19:12:58 +00:00
parent f3300e9536
commit d5aa03447b
27 changed files with 580 additions and 487 deletions

View File

@ -17,6 +17,7 @@
#include "stdlib.h"
#include "string.h"
#include "velocity.h"
#include "lmptype.h"
#include "atom.h"
#include "update.h"
#include "domain.h"
@ -222,6 +223,8 @@ void Velocity::create(double t_desired, int seed)
// error check
if (atom->natoms > MAXINT32)
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");
if (atom->tag_consecutive() == 0)