Skip to content

Commit 81e329e

Browse files
committed
Try
2 parents f9bda0b + 3266751 commit 81e329e

File tree

3 files changed

+3
-5
lines changed

3 files changed

+3
-5
lines changed

EXAMPLES/axisymmetric_case_AXISYM_option/Par_file_axisym

+1-1
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ NOISE_TOMOGRAPHY = 0 # 0 = earthquake simulation, 1/2/3 = noise
1010
SAVE_FORWARD = .false. # save the last frame, needed for adjoint simulation
1111

1212
# parameters concerning partitioning
13-
nproc = 20 # number of processes
13+
nproc = 1 # number of processes
1414
partitioning_method = 3 # SCOTCH = 3, ascending order (very bad idea) = 1
1515

1616
ngnod = 4 # number of control nodes per element (4 or 9)

src/specfem2D/compute_forces_viscoelastic.F90

+2-2
Original file line numberDiff line numberDiff line change
@@ -696,7 +696,7 @@ subroutine compute_forces_viscoelastic(accel_elastic,veloc_elastic,displ_elastic
696696
! When implementing viscoelasticity according to the Carcione 1993 paper, attenuation is
697697
! non-causal rather than causal. We fixed the problem by using equations in Carcione's
698698
! 2004 paper and his 2007 book. See also file doc/problem_attenuation_reference_Specfem2D_fixed_by_Xie_Zhinan.pdf
699-
699+
700700
if(AXISYM) then
701701
if (is_on_the_axis(ispec)) then
702702
if (abs(coord(1,ibool(i,j,ispec))) < TINYVAL) then ! First GLJ point
@@ -734,7 +734,7 @@ subroutine compute_forces_viscoelastic(accel_elastic,veloc_elastic,displ_elastic
734734
sigma_xz = mul_unrelaxed_elastic*(duz_dxl + dux_dzl)
735735
sigma_zz = lambdaplus2mu_unrelaxed_elastic*duz_dzl + lambdal_unrelaxed_elastic*dux_dxl
736736
endif
737-
737+
738738
! add the memory variables using the relaxed parameters (Carcione 2007 page 125)
739739
! beware: there is a bug in Carcione's equation (2c) of his 1993 paper for sigma_zz, we fixed it in the code below.
740740
! When implementing viscoelasticity according to the Carcione 1993 paper, attenuation is

src/specfem2D/compute_gradient_attenuation.f90

-2
Original file line numberDiff line numberDiff line change
@@ -52,8 +52,6 @@ subroutine compute_gradient_attenuation(displ_elastic,dux_dxl,duz_dxl,dux_dzl,du
5252

5353
include "constants.h"
5454

55-
!logical :: AXISYM
56-
5755
integer :: nspec,nglob
5856

5957
integer, dimension(NGLLX,NGLLZ,nspec) :: ibool

0 commit comments

Comments
 (0)