update keywords according to docs
This commit is contained in:
@ -1574,7 +1574,7 @@ void Input::labelmap()
|
||||
int ilmap = 0;
|
||||
std::string mapid;
|
||||
for (int i = 1; i < narg; i++) {
|
||||
if (strcmp(arg[i],"map/assign") == 0) {
|
||||
if (strcmp(arg[i],"mapID") == 0) {
|
||||
mapid = arg[i+1];
|
||||
ilmap = atom->find_labelmap(mapid);
|
||||
if (ilmap == -1) ilmap = atom->add_label_map(mapid);
|
||||
|
||||
@ -96,7 +96,7 @@ void WriteData::command(int narg, char **arg)
|
||||
} else if (strcmp(arg[iarg],"nolabelmap") == 0) {
|
||||
lmapflag = 0;
|
||||
iarg++;
|
||||
} else if (strcmp(arg[iarg],"types_style") == 0) {
|
||||
} else if (strcmp(arg[iarg],"types") == 0) {
|
||||
if (iarg+2 > narg) error->all(FLERR,"Illegal write_data command");
|
||||
if (strcmp(arg[iarg+1],"numeric") == 0) atom->types_style = Atom::NUMERIC;
|
||||
else if (strcmp(arg[iarg+1],"labels") == 0) atom->types_style = Atom::LABELS;
|
||||
|
||||
Reference in New Issue
Block a user