aboutsummaryrefslogtreecommitdiff
path: root/Tools/CodeGen/Schedule.m
diff options
context:
space:
mode:
authorIan Hinder <ian.hinder@aei.mpg.de>2012-01-22 17:19:18 +0100
committerIan Hinder <ian.hinder@aei.mpg.de>2012-01-22 17:19:18 +0100
commit45071fec4db209205c3e0e89f9fc9c2e283ad99d (patch)
treef62f437a1f8f87a9b355ce1d4cbf3c192f4668c9 /Tools/CodeGen/Schedule.m
parent121ff02440893cfabee9899a90048b393dadaa7c (diff)
parentb9dbd186f1d2a8bdaec160fde110d7e160117228 (diff)
Merge branch 'hydro'
Conflicts: Auxiliary/Cactus/KrancNumericalTools/GenericFD/src/MathematicaCompat.h Examples/kranc.th Tools/CodeGen/Kranc.m Tools/CodeGen/KrancTensor.m Tools/CodeGen/Schedule.m Tools/CodeGen/Thorn.m
Diffstat (limited to 'Tools/CodeGen/Schedule.m')
-rw-r--r--Tools/CodeGen/Schedule.m6
1 files changed, 4 insertions, 2 deletions
diff --git a/Tools/CodeGen/Schedule.m b/Tools/CodeGen/Schedule.m
index c375fd6..87604b1 100644
--- a/Tools/CodeGen/Schedule.m
+++ b/Tools/CodeGen/Schedule.m
@@ -100,8 +100,10 @@ scheduleCalc[calc_, groups_] :=
relStr = If[before =!= None, " before " <> before, ""]
<> If[after =!= None, " after " <> after, ""];
+ applyBCs = lookupDefault[calc, ApplyBCs, False];
userSchedule = lookupDefault[calc, Schedule, Automatic];
- If[userSchedule =!= Automatic,
+
+ If[userSchedule =!= Automatic && !applyBCs,
Return[Map[
Join[
{
@@ -138,7 +140,7 @@ scheduleCalc[calc_, groups_] :=
groupSched = {
Name -> "group " <> groupName,
- SchedulePoint -> "in MoL_PseudoEvolution" <> relStr,
+ SchedulePoint -> If[applyBCs, First[userSchedule] <> relStr, "in MoL_PseudoEvolution" <> relStr],
SynchronizedGroups -> {},
Language -> "None",
Comment -> lookup[calc, Name]