Skip to content

Commit

Permalink
local drex model paths; added drex_model case
Browse files Browse the repository at this point in the history
  • Loading branch information
bvanderbeek committed Jul 1, 2024
1 parent f68e481 commit 36babdb
Show file tree
Hide file tree
Showing 2 changed files with 13 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/meshfem3D/model_aniso_mantle_drex.f90
Original file line number Diff line number Diff line change
Expand Up @@ -623,8 +623,8 @@ subroutine read_aniso_mantle_model_drex()
integer :: ier
double precision :: Mcur,Gcur,Lcur
double precision, DIMENSION(21) :: XE
character(len=*), parameter :: drex_model = '~/geodynamic_models/plume/drex_model.xyz'
character(len=*), parameter :: iso_prem = '~/specfem3d_globe/DATA/DREX/iso_prem.dat'
character(len=*), parameter :: drex_model = 'DATA/DREX/drex_model.xyz'
character(len=*), parameter :: iso_prem = 'DATA/DREX/iso_prem.dat'

! read the model iso_prem model

Expand Down
11 changes: 11 additions & 0 deletions src/shared/get_model_parameters.F90
Original file line number Diff line number Diff line change
Expand Up @@ -466,6 +466,17 @@ subroutine get_model_parameters_flags()
ONE_CRUST = .true.
TRANSVERSE_ISOTROPY = .true.

case('drex_model')
HONOR_1D_SPHERICAL_MOHO = .true.
! CRUSTAL = .true. ! with 3D crust: depends on 3D mantle reference model
CASE_3D = .false. ! crustal moho stretching
ONE_CRUST = .false. ! if true 1 element layer in top crust region
REFERENCE_1D_MODEL = REFERENCE_MODEL_PREM
TRANSVERSE_ISOTROPY = .false.
MODEL_3D_MANTLE_PERTUBATIONS = .true.
ANISOTROPIC_3D_MANTLE = .true. ! treats mantle elements as fully anisotropic
THREE_D_MODEL = THREE_D_MODEL_ANISO_MANTLE_DREX

case ('s20rts','s20rts_paper')
CASE_3D = .true.
CRUSTAL = .true.
Expand Down

0 comments on commit 36babdb

Please sign in to comment.