aboutsummaryrefslogtreecommitdiff
path: root/ML_WaveToy/src/WT_Standing.cc
diff options
context:
space:
mode:
authorIan Hinder <ian.hinder@aei.mpg.de>2012-11-19 17:24:58 +0100
committerIan Hinder <ian.hinder@aei.mpg.de>2012-11-19 17:24:58 +0100
commitb19621c279744d4d3eff3b575f9b277419f07c7c (patch)
treed93a1d7b7841f65a52e27829bedf83a16b6584cd /ML_WaveToy/src/WT_Standing.cc
parenteaf08e4235c0f0d5dfcea5640feb3c51a055627a (diff)
Regenerate code (Kranc commit 17deb8b4ff45a8a3cd1645cb626f6d33a5e17beb)
Diffstat (limited to 'ML_WaveToy/src/WT_Standing.cc')
-rw-r--r--ML_WaveToy/src/WT_Standing.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/ML_WaveToy/src/WT_Standing.cc b/ML_WaveToy/src/WT_Standing.cc
index bda635f..a3d0fa6 100644
--- a/ML_WaveToy/src/WT_Standing.cc
+++ b/ML_WaveToy/src/WT_Standing.cc
@@ -99,7 +99,7 @@ static void WT_Standing_Body(cGH const * restrict const cctkGH, int const dir, i
/* Precompute derivatives */
/* Calculate temporaries and grid functions */
- CCTK_REAL_VEC k = kdiv(ToReal(Pi),ToReal(width));
+ CCTK_REAL_VEC k = ToReal(Pi*ScalarINV(width));
CCTK_REAL_VEC omega = ksqrt(kmul(kmul(k,k),ToReal(3)));