Fix bug with v remap option in Kokkos fix deform

This commit is contained in:
Stan Gerald Moore
2021-08-20 16:08:06 -06:00
parent ee5273fbb1
commit 7c61e96f0b
4 changed files with 5 additions and 12 deletions

View File

@ -175,7 +175,7 @@ void Domain::init()
deform_flag = deform_vremap = deform_groupbit = 0;
for (int i = 0; i < modify->nfix; i++)
if (strcmp(modify->fix[i]->style,"deform") == 0) {
if (utils::strmatch(modify->fix[i]->style,"^deform")) {
deform_flag = 1;
if (((FixDeform *) modify->fix[i])->remapflag == Domain::V_REMAP) {
deform_vremap = 1;