aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorgoodale <goodale@90eea020-d82d-4da5-bf6e-4ee79ff7632f>2004-05-17 12:28:58 +0000
committergoodale <goodale@90eea020-d82d-4da5-bf6e-4ee79ff7632f>2004-05-17 12:28:58 +0000
commit10ebc5a3c771b8c7ff239ed33838f9f63e2662c0 (patch)
treef31bc101cea99039a7ff390d48fea35768192f51
parentf5f7c0c6687afd3681c56d16e2b4b52d4c6d993c (diff)
Untabified. Please try to adhere to the Cactus coding guidelines when
modifying or adding files. git-svn-id: http://svn.cactuscode.org/arrangements/CactusWave/WaveToyC/trunk@109 90eea020-d82d-4da5-bf6e-4ee79ff7632f
-rw-r--r--src/WaveToy.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/WaveToy.c b/src/WaveToy.c
index beef228..217cb8f 100644
--- a/src/WaveToy.c
+++ b/src/WaveToy.c
@@ -81,7 +81,7 @@ void WaveToyC_Evolution(CCTK_ARGUMENTS)
index = CCTK_GFINDEX3D(cctkGH,i,j,k);
phi[index] = factor*
- phi_p[index] - phi_p_p[index]
+ phi_p[index] - phi_p_p[index]
+ (dt2) *
( ( phi_p[CCTK_GFINDEX3D(cctkGH,i+1,j ,k )]
+phi_p[CCTK_GFINDEX3D(cctkGH,i-1,j ,k )] )*dx2i
@@ -123,7 +123,7 @@ void WaveToyC_Boundaries(CCTK_ARGUMENTS)
{
/* Uses all default arguments, so invalid table handle -1 can be passed */
ierr = Boundary_SelectVarForBC(cctkGH, CCTK_ALL_FACES, 1, -1,
- "wavetoy::phi", bound);
+ "wavetoy::phi", bound);
}
else if (CCTK_EQUALS(bound,"zero"))
{