Skip to content
Snippets Groups Projects
Commit a2e34aab authored by Axel Kohlmeyer's avatar Axel Kohlmeyer
Browse files

make certain, that atom->maxspecial is incremented with extra special space

parent 9954d5d3
No related branches found
No related tags found
No related merge requests found
...@@ -159,6 +159,7 @@ void CreateBox::command(int narg, char **arg) ...@@ -159,6 +159,7 @@ void CreateBox::command(int narg, char **arg)
} else if (strcmp(arg[iarg],"extra/special/per/atom") == 0) { } else if (strcmp(arg[iarg],"extra/special/per/atom") == 0) {
if (iarg+2 > narg) error->all(FLERR,"Illegal create_box command"); if (iarg+2 > narg) error->all(FLERR,"Illegal create_box command");
force->special_extra = force->inumeric(FLERR,arg[iarg+1]); force->special_extra = force->inumeric(FLERR,arg[iarg+1]);
atom->maxspecial += force->special_extra;
iarg += 2; iarg += 2;
} else error->all(FLERR,"Illegal create_box command"); } else error->all(FLERR,"Illegal create_box command");
} }
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment