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

This commit is contained in:
sjplimp
2014-09-05 15:06:29 +00:00
parent 8dce3d380c
commit 31509b7528
11 changed files with 26 additions and 49 deletions

View File

@ -1277,9 +1277,6 @@ void AtomVecAtomicKokkos::data_atom(double *coord, tagint imagetmp,
if (nlocal == nmax) grow(0);
h_tag[nlocal] = atoi(values[0]);
if (tag[nlocal] <= 0)
error->one(FLERR,"Invalid atom ID in Atoms section of data file");
h_type[nlocal] = atoi(values[1]);
if (type[nlocal] <= 0 || type[nlocal] > atom->ntypes)
error->one(FLERR,"Invalid atom type in Atoms section of data file");