labelmap map/assign docs

This commit is contained in:
Jacob Gissinger
2021-01-29 23:38:25 -05:00
parent f6fe554b47
commit e3a6afe1ab
4 changed files with 29 additions and 7 deletions

View File

@ -1601,7 +1601,7 @@ void Input::labelmap()
int ilmap = 0;
std::string mapid;
for (int i = 1; i < narg; i++) {
if (strcmp(arg[i],"mapID") == 0) {
if (strcmp(arg[i],"map/assign") == 0) {
mapid = arg[i+1];
ilmap = atom->find_labelmap(mapid);
if (ilmap == -1) ilmap = atom->add_label_map(mapid);