From 0fd57a6fe4a8c00a61dbe8feb2f30f5a410fb2d5 Mon Sep 17 00:00:00 2001 From: sjplimp Date: Mon, 21 Dec 2015 16:44:00 +0000 Subject: [PATCH] git-svn-id: svn://svn.icms.temple.edu/lammps-ro/trunk@14395 f3b2605a-c512-4ea7-a41b-209d697bcdaa --- src/read_dump.cpp | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/src/read_dump.cpp b/src/read_dump.cpp index 330cf9a224..0d8d91a32f 100644 --- a/src/read_dump.cpp +++ b/src/read_dump.cpp @@ -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;