diff options
author | Ian Hinder <ian.hinder@aei.mpg.de> | 2013-09-11 16:07:27 +0200 |
---|---|---|
committer | Ian Hinder <ian.hinder@aei.mpg.de> | 2013-09-11 16:07:27 +0200 |
commit | a485e7175529c24b0bb307f3602990776978f9c1 (patch) | |
tree | 10f79d4c2244413fccf84724953f33b50a052fb6 | |
parent | 6f379f5eb02af3483861b7f8ae597062b050a885 (diff) |
MoL.m: Add MoLEvolved option to groups which are evolved using MoL
This allows easy identification of these groups later
-rw-r--r-- | Tools/CodeGen/Kranc.m | 3 | ||||
-rw-r--r-- | Tools/CodeGen/MoL.m | 4 |
2 files changed, 6 insertions, 1 deletions
diff --git a/Tools/CodeGen/Kranc.m b/Tools/CodeGen/Kranc.m index 31ff109..8769b59 100644 --- a/Tools/CodeGen/Kranc.m +++ b/Tools/CodeGen/Kranc.m @@ -53,6 +53,9 @@ InteriorNoSync, Boundary, BoundaryNoSync, BoundaryWithGhosts, Where, PreDefiniti AllowedSymbols, Parameters, ConditionalOnTextuals, ApplyBCs, SimpleCode}; +(* MoL.m *) +MoLEvolved; + (* Differencing.m *) {Name, Definitions, shift, spacing, SBPDerivative}; diff --git a/Tools/CodeGen/MoL.m b/Tools/CodeGen/MoL.m index 18948fc..fd73932 100644 --- a/Tools/CodeGen/MoL.m +++ b/Tools/CodeGen/MoL.m @@ -609,7 +609,9 @@ DefFn[ groups2 = Map[If[MemberQ[evolvedGroups, groupName[#]], (* Print["Adding InterfaceTimelevels to ", groupName[#]]; *) - EnsureInterfaceTimelevels[#, evolutionTimelevels], + AddGroupExtra[ + EnsureInterfaceTimelevels[#, evolutionTimelevels], + MoLEvolved -> True], #] &, groups]; groups2]]; |