[cig-commits] r20922 - seismo/3D/FAULT_SOURCE/branches/new_fault_db/src
surendra at geodynamics.org
surendra at geodynamics.org
Thu Oct 25 07:18:47 PDT 2012
Author: surendra
Date: 2012-10-25 07:18:46 -0700 (Thu, 25 Oct 2012)
New Revision: 20922
Modified:
seismo/3D/FAULT_SOURCE/branches/new_fault_db/src/fault_solver_common.f90
Log:
Tested that refactored code is work
Modified: seismo/3D/FAULT_SOURCE/branches/new_fault_db/src/fault_solver_common.f90
===================================================================
--- seismo/3D/FAULT_SOURCE/branches/new_fault_db/src/fault_solver_common.f90 2012-10-25 00:50:59 UTC (rev 20921)
+++ seismo/3D/FAULT_SOURCE/branches/new_fault_db/src/fault_solver_common.f90 2012-10-25 14:18:46 UTC (rev 20922)
@@ -75,6 +75,8 @@
read(IIN_BIN) bc%coord(2,:)
read(IIN_BIN) bc%coord(3,:)
+ bc%dt = dt_tmp
+
bc%B = 0e0_CUSTOM_REAL
allocate(nx(bc%nglob),ny(bc%nglob),nz(bc%nglob))
nx = 0e0_CUSTOM_REAL
@@ -139,7 +141,7 @@
! Z = 1/( B1/M1 + B2/M2 ) / (0.5*dt)
! T_stick = Z*Vfree traction as if the fault was stuck (no displ discontinuity)
! NOTE: same Bi on both sides, see note above
- bc%Z = 1.e0_CUSTOM_REAL/(0.5e0_CUSTOM_REAL*dt * bc%B *( bc%invM1 + bc%invM2 ))
+ bc%Z = 1.e0_CUSTOM_REAL/(0.5e0_CUSTOM_REAL*dt_tmp * bc%B *( bc%invM1 + bc%invM2 ))
! WARNING: In non-split nodes at fault edges M is assembled across the fault.
! hence invM1+invM2=2/(M1+M2) instead of 1/M1+1/M2
! In a symmetric mesh (M1=M2) Z will be twice its intended value
More information about the CIG-COMMITS
mailing list