aboutsummaryrefslogtreecommitdiff
path: root/Tools/CodeGen
diff options
context:
space:
mode:
authorshusa <shusa>2005-11-07 23:46:54 +0000
committershusa <shusa>2005-11-07 23:46:54 +0000
commitb59fd003ef3ebef96dfede661f6f73d4bc0a9b2e (patch)
treed2c42b018792ca64549f6f1d48b67151c4de5336 /Tools/CodeGen
parenta380c741b4af6f6b4c5877291c8d9962dbe1c4d3 (diff)
include SpaceMask in inherited implementatios for MoL thorns when
excision code is generated
Diffstat (limited to 'Tools/CodeGen')
-rw-r--r--Tools/CodeGen/KrancThorns.m5
1 files changed, 5 insertions, 0 deletions
diff --git a/Tools/CodeGen/KrancThorns.m b/Tools/CodeGen/KrancThorns.m
index 5db2af3..98c7225 100644
--- a/Tools/CodeGen/KrancThorns.m
+++ b/Tools/CodeGen/KrancThorns.m
@@ -377,6 +377,11 @@ precompheader = CreatePrecompMacros[namedCalc];
inheritedImplementations = Join[{baseImplementation, "Grid", "Boundary",
"GenericFD"}, lookupDefault[opts, InheritedImplementations, {}]];
+If[createExcisionCode,
+ inheritedImplementations = Flatten[{inheritedImplementations, "SpaceMask"}];
+];
+
+
includeFiles = {"Boundary.h", "Symmetry.h", "GenericFD.h"};
registerEvolved =