diff options
-rw-r--r-- | Tools/CodeGen/CactusBoundary.m | 4 | ||||
-rw-r--r-- | Tools/CodeGen/Schedule.m | 4 |
2 files changed, 5 insertions, 3 deletions
diff --git a/Tools/CodeGen/CactusBoundary.m b/Tools/CodeGen/CactusBoundary.m index 2a580be..127056b 100644 --- a/Tools/CodeGen/CactusBoundary.m +++ b/Tools/CodeGen/CactusBoundary.m @@ -75,12 +75,12 @@ GetScheduledGroups[thornName_] := } }; -GetScheduledFunctions[thornName_, evolvedGroups_] := +GetScheduledFunctions[thornName_, declaredGroups_List, groups_List] := { { Name -> boundariesName[thornName], SchedulePoint -> "in MoL_PostStep", - SynchronizedGroups -> evolvedGroups, + SynchronizedGroups -> MoLEvolvedGroups[declaredGroups, groups], Language -> "C", Options -> "level", Comment -> "select boundary conditions" diff --git a/Tools/CodeGen/Schedule.m b/Tools/CodeGen/Schedule.m index 89f6417..a113dce 100644 --- a/Tools/CodeGen/Schedule.m +++ b/Tools/CodeGen/Schedule.m @@ -286,7 +286,9 @@ CreateKrancScheduleFile[calcs_, groups_, declaredGroups_, evolvedGroups_, rhsGro scheduledFunctions = Join[{scheduledStartup, scheduleRegisterSymmetries}, - scheduledCalcs, CactusBoundary`GetScheduledFunctions[thornName, evolvedGroups], + scheduledCalcs, CactusBoundary`GetScheduledFunctions[thornName, + declaredGroups, + groups], {scheduleMoLRegister}, If[Length[OptionValue[ParameterConditions]] > 0, {ParameterCheckSchedule[thornName]}, {}]]; |