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

This commit is contained in:
sjplimp
2011-04-15 22:57:40 +00:00
parent 452107d9cb
commit ff0cac6cc6

View File

@ -148,6 +148,7 @@ void ReadData::command(int narg, char **arg)
} else if (strcmp(keyword,"Velocities") == 0) {
if (atomflag == 0) error->all("Must read Atoms before Velocities");
velocities();
} else if (strcmp(keyword,"Ellipsoids") == 0) {
if (!avec_ellipsoid)
error->all("Invalid data file section: Ellipsoids");
@ -1252,7 +1253,7 @@ void ReadData::scan(int &bond_per_atom, int &angle_per_atom,
// error check that Bonus sections were speficied in file
if (nellipsoids && !ellipsoid_flag)
error->one("Needed Bonus data not in data file");
error->one("Needed bonus data not in data file");
}
/* ----------------------------------------------------------------------