Change fix nvt/sllod to allow suffix styles of fix deform

This commit is contained in:
Stan Moore 2018-12-11 10:47:34 -07:00
parent ad1b1897d8
commit 113a2e328e
1 changed files with 1 additions and 1 deletions

View File

@ -80,7 +80,7 @@ void FixNVTSllod::init()
int i;
for (i = 0; i < modify->nfix; i++)
if (strcmp(modify->fix[i]->style,"deform") == 0) {
if (strstr(modify->fix[i]->style,"deform")) {
if (((FixDeform *) modify->fix[i])->remapflag != Domain::V_REMAP)
error->all(FLERR,"Using fix nvt/sllod with inconsistent fix deform "
"remap option");