aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorIan Hinder <ian.hinder@aei.mpg.de>2013-09-12 22:11:05 +0200
committerIan Hinder <ian.hinder@aei.mpg.de>2013-09-12 22:11:05 +0200
commit65af1690ac2d844f5224f845f2f9b8ce4cc4cfa7 (patch)
treeff93795de55bb74def1dd6da17abad1b0cf0c715
parent3237af2566109f099ee78a7effb511a65dc18ae0 (diff)
Remove old code for determining boundary groups
-rw-r--r--Tools/CodeGen/CactusBoundary.m12
-rw-r--r--Tools/CodeGen/KrancThorn.m2
2 files changed, 5 insertions, 9 deletions
diff --git a/Tools/CodeGen/CactusBoundary.m b/Tools/CodeGen/CactusBoundary.m
index f4d362d..81cf670 100644
--- a/Tools/CodeGen/CactusBoundary.m
+++ b/Tools/CodeGen/CactusBoundary.m
@@ -166,18 +166,14 @@ DefFn[
Map[createBoundScalarParam, Map[unqualifiedGroupName,evolvedGroups]]]]];
-GetSources[evolvedGroups_, declaredGroups_, groups_, implementation_, thornName_] :=
+GetSources[declaredGroups_, groups_, implementation_, thornName_] :=
Module[{boundarySpec, evolvedGFs},
- evolvedGroups2 = MoLEvolvedGroups[declaredGroups, groups];
-
- If[Union@evolvedGroups2 =!= Union[evolvedGroups],
- Print["Group mismatch"];
- Quit[1]];
+ evolvedGroups = MoLEvolvedGroups[declaredGroups, groups];
+ evolvedGFs = variablesFromGroups[evolvedGroups, groups];
- evolvedGFs = variablesFromGroups[evolvedGroups2, groups];
boundarySpec =
{
- Groups -> evolvedGroups2,
+ Groups -> evolvedGroups,
EvolvedGFs -> Map[qualifyGFName[#, groups, implementation] &, evolvedGFs],
BaseImplementation -> implementation,
ThornName -> thornName,
diff --git a/Tools/CodeGen/KrancThorn.m b/Tools/CodeGen/KrancThorn.m
index a507e65..ac6746e 100644
--- a/Tools/CodeGen/KrancThorn.m
+++ b/Tools/CodeGen/KrancThorn.m
@@ -343,7 +343,7 @@ CreateKrancThorn[groupsOrig_, parentDirectory_, thornName_, opts:OptionsPattern[
sources = Join[
sources,
- CactusBoundary`GetSources[evolvedGroups, declaredGroups, groups, implementation, thornName]];
+ CactusBoundary`GetSources[declaredGroups, groups, implementation, thornName]];
(* ------------------------------------------------------------------------
Add parameter check source file