SPEED
MAKE_MECH_PROP_CASE_040.f90
Go to the documentation of this file.
1! Copyright (C) 2012 The SPEED FOUNDATION
2! Author: Ilario Mazzieri
3!
4! This file is part of SPEED.
5!
6! SPEED is free software; you can redistribute it and/or modify it
7! under the terms of the GNU Affero General Public License as
8! published by the Free Software Foundation, either version 3 of the
9! License, or (at your option) any later version.
10!
11! SPEED is distributed in the hope that it will be useful, but
12! WITHOUT ANY WARRANTY; without even the implied warranty of
13! MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
14! Affero General Public License for more details.
15!
16! You should have received a copy of the GNU Affero General Public License
17! along with SPEED. If not, see <http://www.gnu.org/licenses/>.
18
19
21
22
23
24 subroutine make_mech_prop_case_040(rho, lambda, mu, gamma, qs, qp, & !outputs
25 xs, ys, zs, Depth, zs_all,&
26 vs30, thickness, sub_tag_all)
27
28 real*8, intent(out) :: rho, lambda, mu, gamma, qs, qp
29 real*8, intent(in) :: xs, ys, zs, depth, zs_all,&
30 vs30, thickness
31 integer*4 :: sub_tag_all
32 real*8 :: ni, vs, vp, depth_real
33
34 rho = 0.d0;
35 lambda = 0.d0;
36 mu = 0.d0;
37 gamma = 0.d0;
38 qs = 0.d0;
39 qp = 0.d0
40
41
42
43
44 if ((depth .ge. 0.0d0).and.(zs_all .ge. 0.0d0)) then
45 ! + MATERIAL INSIDE THE BASIN
46 vs = 1
47 vp = 1
48 rho = 1
49 lambda = rho * (vp**2 - 2*vs**2)
50 mu = rho * vs**2
51 qs = 0.1*vs
52 gamma = (pig*(2.d0/3.d0))/qs
53
54 else
55 ! + MATERIAL INSIDE THE BEDROCK
56 depth_real = zs
57 if (depth_real .ge. -500.0d0) then
58 vs = 1
59 vp = 1
60 rho = 1
61 lambda = rho * (vp**2 - 2*vs**2)
62 mu = rho * vs**2
63 qs = 0.1*vs
64 gamma = (pig*(2.d0/3.d0))/qs
65
66
67 elseif (depth_real .le. -500.d0 .and. depth_real .ge. -1000.0d0) then
68 vs = 1
69 vp = 1
70 rho = 1
71 lambda = rho * (vp**2 - 2*vs**2)
72 mu = rho * vs**2
73 qs = 0.1*vs
74 gamma = (pig*(2.d0/3.d0))/qs
75
76
77 else
78 vs = 1;
79 vp = 1;
80 rho = 1;
81 lambda = rho * (vp**2 - 2*vs**2)
82 mu = rho * vs**2
83 qs = 0.1*vs
84 gamma = (pig*(2.d0/3.d0))/qs
85
86
87 endif
88 endif
89
90
91
92 end subroutine make_mech_prop_case_040
subroutine make_mech_prop_case_040(rho, lambda, mu, gamma, qs, qp, xs, ys, zs, depth, zs_all, vs30, thickness, sub_tag_all)
Makes not-honoring technique.