Skip to content

Commit

Permalink
Kranc: use driver boundary conditosn if possible
Browse files Browse the repository at this point in the history
  • Loading branch information
rhaas80 committed May 14, 2020
1 parent 8b36a2a commit 0c01ca3
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions Tools/CodeGen/MoL.m
Expand Up @@ -212,6 +212,14 @@
" if (ierr < 0)\n",
" CCTK_ERROR(\"Failed to register "<>boundpar<>" BC for "<>fullgroupname<>"!\");\n",

" if(CCTK_IsFunctionAliased(\"Driver_SelectGroupForBC\")) {\n",
" ierr = Driver_SelectGroupForBC(cctkGH, CCTK_ALL_FACES, 1, -1,\n",
" \"" <> fullgroupname <> "\", " <> boundpar <> ");\n",

" if (ierr < 0)\n",
" CCTK_ERROR(\"Failed to register "<>boundpar<>" BC for "<>fullgroupname<>"!\");\n",
" }\n",

"}\n"}];


Expand Down

0 comments on commit 0c01ca3

Please sign in to comment.