aboutsummaryrefslogtreecommitdiff
path: root/Tools/CodeGen
diff options
context:
space:
mode:
authorshusa <shusa>2005-12-21 16:26:56 +0000
committershusa <shusa>2005-12-21 16:26:56 +0000
commitf3ae5ceae8d3e64cd67924d5b33c1ada3d479306 (patch)
treede88f3c6530813332e49bb105b6f18391ed0b226 /Tools/CodeGen
parentac0d67058e774f5a0e0b703ac956349335e14b02 (diff)
modify linear waves test
Diffstat (limited to 'Tools/CodeGen')
-rw-r--r--Tools/CodeGen/Parfiles.m8
1 files changed, 5 insertions, 3 deletions
diff --git a/Tools/CodeGen/Parfiles.m b/Tools/CodeGen/Parfiles.m
index c56525a..1a80e01 100644
--- a/Tools/CodeGen/Parfiles.m
+++ b/Tools/CodeGen/Parfiles.m
@@ -106,7 +106,6 @@ ExactEntry["LinearWave", amp_] :=
ExactEntry["LinearWave2D", amp_] :=
{
-"ActiveThorns = \"IDLinearWaves\"\n\n" <>
"admbase::initial_data = \"sine_planewaves\"\n" <>
"admbase::initial_lapse = \"one\"\n" <>
"admbase::initial_shift = \"none\"\n\n" <>
@@ -363,10 +362,13 @@ If[MemberQ[ExactTypes, Type],
Print["Exact type:", Type];
{
"# data from exact solution \n",
-"ActiveThorns = \"exact coordgauge staticconformal\"\n",
+If[MemberQ[{"LinearWave","LinearWave2D"}, Type],
+{"ActiveThorns = \"Exact CoordGauge IDLinearWaves StaticConformal\"\n"},
+
+{"ActiveThorns = \"exact coordgauge staticconformal\"\n",
"admbase::initial_data = \"exact\"",
-"admbase::initial_lapse = \"exact\"",
+"admbase::initial_lapse = \"exact\""}],
ExactEntry[Type, amp]
},