SPEED
MAKE_MECH_PROP_CASE_091.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 subroutine make_mech_prop_case_091(rho, lambda, mu, gamma, qs, qp, & !outputs
24 xs, ys, zs, Depth, zs_all,&
25 vs30, thickness, sub_tag_all)
26
27real*8, intent(out) :: rho, lambda, mu, gamma, qs, qp
28real*8, intent(in) :: xs, ys, zs, zs_all,&
29 vs30,thickness
30integer*4 :: sub_tag_all
31real*8, intent(inout) :: depth
32real*8 :: ni, vs, vp, depth_real
33
34rho = 0.d0;
35lambda = 0.d0;
36mu = 0.d0;
37gamma = 0.d0;
38qs = 0.d0;
39qp = 0.d0
40
41if (depth .lt. 0.0d0) depth = 0.0d0
42
43if (depth .lt. 1000.d0) then
44 vs = 700.d0 + 39*(depth)**(0.5)
45 vp = vs*1.8;
46 rho = 1960.d0 + 11*(depth)**(0.5)
47else
48 vs = 1930.d0
49 vp = vs*1.8;
50 rho = 2300.d0
51endif
52
53lambda = rho * (vp**2.d0 - 2.d0*vs**2.d0);
54mu = rho * vs**2;
55qs = 0.1*vs;
56qp = 0.1*vp;
57gamma = 4.d0*datan(1.d0)/qs;
58
59
60
61end subroutine make_mech_prop_case_091
subroutine make_mech_prop_case_091(rho, lambda, mu, gamma, qs, qp, xs, ys, zs, depth, zs_all, vs30, thickness, sub_tag_all)
Makes not-honoring technique.