aboutsummaryrefslogtreecommitdiff
path: root/Tests
diff options
context:
space:
mode:
authorIan Hinder <ian.hinder@aei.mpg.de>2013-09-10 17:15:15 +0200
committerIan Hinder <ian.hinder@aei.mpg.de>2013-09-10 17:15:15 +0200
commit6257b59a9e9069a6aecb57be0587d51206cf8a20 (patch)
treed23b135772bdfe6fedabb2a744d2e759e422f504 /Tests
parent7688d0cc46c0ca99f2345f1bf71ec9cc85d83b3d (diff)
Kranc.mt: Add test cases for pure-analysis thorns
Diffstat (limited to 'Tests')
-rw-r--r--Tests/Kranc.mt29
1 files changed, 29 insertions, 0 deletions
diff --git a/Tests/Kranc.mt b/Tests/Kranc.mt
index 2daa6a5..6adc947 100644
--- a/Tests/Kranc.mt
+++ b/Tests/Kranc.mt
@@ -186,3 +186,32 @@ Test[
,
TestID->"ConservationCalculation"];
+Test[
+ ClearAllTensors[];
+ CreateKrancThornTT[
+ $groups, "TestThorns", "Analysis",
+ PartialDerivatives -> $derivatives,
+ DeclaredGroups -> {"evolved_group"},
+ Calculations -> {$initialSineCalc /.
+ ((Schedule -> l) :>
+ (Schedule -> {"at CCTK_ANALYSIS"}))}]
+ ,
+ Null
+ ,
+ TestID->"Analysis"
+]
+
+Test[
+ ClearAllTensors[];
+ CreateKrancThornTT[
+ {{"evolved_group", {phi, pi}, Timelevels -> 3}}, "TestThorns", "Analysis-3TL",
+ PartialDerivatives -> $derivatives,
+ DeclaredGroups -> {"evolved_group"},
+ Calculations -> {$initialSineCalc /.
+ ((Schedule -> l) :>
+ (Schedule -> {"at CCTK_ANALYSIS"}))}]
+ ,
+ Null
+ ,
+ TestID->"Analysis-3TL"
+]