diff options
author | Ian Hinder <ian.hinder@aei.mpg.de> | 2013-09-10 17:14:55 +0200 |
---|---|---|
committer | Ian Hinder <ian.hinder@aei.mpg.de> | 2013-09-10 17:14:55 +0200 |
commit | 7688d0cc46c0ca99f2345f1bf71ec9cc85d83b3d (patch) | |
tree | 835244c42b80fa8e05bc77788c4a78f00c618e82 /Tests | |
parent | c8568faddf025e1c392d0d8f4b1cb7d5a8203a5a (diff) |
Kranc.mt: Add ODE test case
Diffstat (limited to 'Tests')
-rw-r--r-- | Tests/Kranc.mt | 19 |
1 files changed, 19 insertions, 0 deletions
diff --git a/Tests/Kranc.mt b/Tests/Kranc.mt index 3736b62..2daa6a5 100644 --- a/Tests/Kranc.mt +++ b/Tests/Kranc.mt @@ -30,6 +30,25 @@ $evolveCalc = { +Test[ + ClearAllTensors[]; + CreateKrancThornTT[ + Append[$groups,{"ode_group", {a, b}}], + "TestThorns", "SimpleWaveODE", + PartialDerivatives -> $derivatives, + DeclaredGroups -> {"evolved_group"}, + ODEGroups -> {"ode_group"}, + Calculations -> { + $initialSineCalc /. ((Equations -> l) :> + (Equations -> Join[l, {a->0,b->1}])), + $evolveCalc /. ((Equations -> l) :> + (Equations -> Join[l, {dot[a] -> b, dot[b] -> -a}]))}] + , + Null + , + TestID->"SimpleWaveODE" +] + (****************************************************************) (* CreateThorn *) |