split kspace style constructor into plain constructor and settings() method

This commit is contained in:
Axel Kohlmeyer
2018-10-18 16:30:45 -04:00
parent 4015b36a1a
commit 7deb1df2b6
5 changed files with 24 additions and 22 deletions

View File

@ -1633,7 +1633,8 @@ void Input::kspace_modify()
void Input::kspace_style()
{
force->create_kspace(narg,arg,1);
force->create_kspace(arg[0],1);
if (force->kspace) force->kspace->settings(narg-1,&arg[1]);
}
/* ---------------------------------------------------------------------- */