aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authoreschnett <>2001-03-21 23:50:00 +0000
committereschnett <>2001-03-21 23:50:00 +0000
commit2b076367ff9568c2ba6e8e88d5cc77e604f59426 (patch)
treea98e2c5fd5908c152d9912b99f1a6e127033b4a0
parent37f8d4877f7cd3a90617279699fc45d12bc833a2 (diff)
Changed the WaveToy initial data back to the way Cactus does it.
Changed the WaveToy initial data back to the way Cactus does it. Added real time level cycling instead of copying. darcs-hash:20010321235045-f6438-fb76106f69d90938a0df6d7955b85850a74cac7c.gz
-rw-r--r--CarpetExtra/IDScalarWave/src/InitialData.F778
1 files changed, 4 insertions, 4 deletions
diff --git a/CarpetExtra/IDScalarWave/src/InitialData.F77 b/CarpetExtra/IDScalarWave/src/InitialData.F77
index f0a7790ba..294764873 100644
--- a/CarpetExtra/IDScalarWave/src/InitialData.F77
+++ b/CarpetExtra/IDScalarWave/src/InitialData.F77
@@ -71,10 +71,10 @@ c call CCTK_INFO ("IDScalarWave_InitialData")
do j=1, cctk_lsh(2)
do i=1, cctk_lsh(1)
- phi(i,j,k) = amplitude / spher3d_r(i,j,k)
- $ * exp(- (spher3d_r(i,j,k) - radius - cctk_time)**2 / sigma**2)
- phi_p(i,j,k) = amplitude / spher3d_r(i,j,k)
- $ * exp(- (spher3d_r(i,j,k) - radius - (cctk_time - dt))**2 / sigma**2)
+ phi(i,j,k) = amplitude
+ $ * exp(- (spher3d_r(i,j,k) - radius)**2 / sigma**2)
+ phi_p(i,j,k) = amplitude
+ $ * exp(- (spher3d_r(i,j,k) - radius - dt)**2 / sigma**2)
end do
end do