aboutsummaryrefslogtreecommitdiff
path: root/Examples/EulerSR
diff options
context:
space:
mode:
authorIan Hinder <ian.hinder@aei.mpg.de>2011-12-19 23:25:46 +0000
committerIan Hinder <ian.hinder@aei.mpg.de>2011-12-19 23:28:23 +0000
commitb9dbd186f1d2a8bdaec160fde110d7e160117228 (patch)
tree2018a1cc70b3fdd54b0d68d55f19cc233fdbbe2f /Examples/EulerSR
parentd5c499e17e097e6083d7b619c1698b1c1380dde3 (diff)
Regenerate EulerSR
Diffstat (limited to 'Examples/EulerSR')
-rw-r--r--Examples/EulerSR/src/eulersr_initial_shock.cc3
l---------Examples/EulerSR/test1
2 files changed, 2 insertions, 2 deletions
diff --git a/Examples/EulerSR/src/eulersr_initial_shock.cc b/Examples/EulerSR/src/eulersr_initial_shock.cc
index 29575c9..2881056 100644
--- a/Examples/EulerSR/src/eulersr_initial_shock.cc
+++ b/Examples/EulerSR/src/eulersr_initial_shock.cc
@@ -86,7 +86,6 @@ static void eulersr_initial_shock_Body(cGH const * restrict const cctkGH, int co
/* Assign local copies of grid functions */
CCTK_REAL xL = x[index];
- CCTK_REAL yL = y[index];
/* Include user supplied include files */
@@ -94,7 +93,7 @@ static void eulersr_initial_shock_Body(cGH const * restrict const cctkGH, int co
/* Precompute derivatives */
/* Calculate temporaries and grid functions */
- CCTK_REAL X = xL + yL;
+ CCTK_REAL X = xL;
CCTK_REAL rhoL = ToReal(rhoL0) + StepFunction(X)*(-ToReal(rhoL0) +
ToReal(rhoR0));
diff --git a/Examples/EulerSR/test b/Examples/EulerSR/test
new file mode 120000
index 0000000..3a8e1b9
--- /dev/null
+++ b/Examples/EulerSR/test
@@ -0,0 +1 @@
+../tests/EulerSR \ No newline at end of file