[cig-commits] r20667 - seismo/2D/SPECFEM2D/trunk/src/specfem2D
dkomati1 at geodynamics.org
dkomati1 at geodynamics.org
Sat Sep 1 17:30:06 PDT 2012
Author: dkomati1
Date: 2012-09-01 17:30:06 -0700 (Sat, 01 Sep 2012)
New Revision: 20667
Modified:
seismo/2D/SPECFEM2D/trunk/src/specfem2D/compute_forces_viscoelastic.F90
Log:
fixed a sign problem in the Bielak conditions
Modified: seismo/2D/SPECFEM2D/trunk/src/specfem2D/compute_forces_viscoelastic.F90
===================================================================
--- seismo/2D/SPECFEM2D/trunk/src/specfem2D/compute_forces_viscoelastic.F90 2012-09-01 23:51:37 UTC (rev 20666)
+++ seismo/2D/SPECFEM2D/trunk/src/specfem2D/compute_forces_viscoelastic.F90 2012-09-02 00:30:06 UTC (rev 20667)
@@ -1007,7 +1007,7 @@
!
!--- absorbing boundaries
!
- if(.not. PML_BOUNDARY_CONDITIONS .and. anyabs) then
+ if(anyabs .and. .not. PML_BOUNDARY_CONDITIONS) then
count_left=1
count_right=1
@@ -1111,7 +1111,6 @@
endif
-
accel_elastic(1,iglob) = accel_elastic(1,iglob) - (tx + traction_x_t0+displtx)*weight
accel_elastic(2,iglob) = accel_elastic(2,iglob) - ty*weight
accel_elastic(3,iglob) = accel_elastic(3,iglob) - (tz + traction_z_t0+displtz)*weight
@@ -1227,10 +1226,9 @@
endif
-
- accel_elastic(1,iglob) = accel_elastic(1,iglob) - (tx + traction_x_t0+displtx)*weight
+ accel_elastic(1,iglob) = accel_elastic(1,iglob) - (tx - traction_x_t0+displtx)*weight
accel_elastic(2,iglob) = accel_elastic(2,iglob) - ty*weight
- accel_elastic(3,iglob) = accel_elastic(3,iglob) - (tz + traction_z_t0+displtz)*weight
+ accel_elastic(3,iglob) = accel_elastic(3,iglob) - (tz - traction_z_t0+displtz)*weight
if(SAVE_FORWARD .and. SIMULATION_TYPE ==1) then
if(p_sv)then !P-SV waves
More information about the CIG-COMMITS
mailing list