diff options
author | Ian Hinder <ian.hinder@aei.mpg.de> | 2012-01-26 14:02:21 -0600 |
---|---|---|
committer | Ian Hinder <ian.hinder@aei.mpg.de> | 2012-01-26 14:02:21 -0600 |
commit | 4c155b17eb7f62383d9423676e707251f4be0e64 (patch) | |
tree | e083ee447e8b8900f257a2e29eaf9c2a2f749003 /Examples | |
parent | e514896b174205fccbeacb27a5fbe9e037b7fe8e (diff) |
Add draft SimpleWaveScript.kranc
(by Steve Brandt)
Diffstat (limited to 'Examples')
-rw-r--r-- | Examples/SimpleWaveScript.kranc | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/Examples/SimpleWaveScript.kranc b/Examples/SimpleWaveScript.kranc new file mode 100644 index 0000000..4170048 --- /dev/null +++ b/Examples/SimpleWaveScript.kranc @@ -0,0 +1,13 @@ +begin thorn simplewavescript + +begin calculation initial_sine_calc + phi = sin(2*PI*(x-t)) + pi = -2*pi*cos(2*PI*(x-t)) +end calculation + +begin calculation calc_rhs + D_t phi = pi + D_t pi = Euc^ij*D_ij phi +end calculation + +end thorn |