update keywords according to docs

This commit is contained in:
jrgissing
2021-11-20 16:51:57 -05:00
parent 20f80dcb46
commit 78cc471335
2 changed files with 2 additions and 2 deletions

View File

@ -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);

View File

@ -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;