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

This commit is contained in:
sjplimp
2015-12-21 16:44:00 +00:00
parent 6f10e999c9
commit 0fd57a6fe4

View File

@ -707,7 +707,9 @@ int ReadDump::fields_and_keywords(int narg, char **arg)
int ReadDump::whichtype(char *str)
{
int type = -1;
if (strcmp(str,"x") == 0) type = X;
if (strcmp(str,"id") == 0) type = ID;
else if (strcmp(str,"type") == 0) type = TYPE;
else if (strcmp(str,"x") == 0) type = X;
else if (strcmp(str,"y") == 0) type = Y;
else if (strcmp(str,"z") == 0) type = Z;
else if (strcmp(str,"vx") == 0) type = VX;