SPEED
MAKE_MECH_PROP_CASE_020.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_020(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 if ( depth .le. thickness ) then
43 vs = 350;
44 vp = 700.d0;
45 rho = 1800.d0;
46 lambda = rho * (vp**2.d0 - 2.d0*vs**2.d0);
47 mu = rho * vs**2.d0;
48 qs = 0.1d0*vs;
49 gamma = 4.d0*datan(1.d0)/qs;
50 ! if (check_case .eq. 1) write(1000,*) xs(ic),ys(ic),zs(ic), VS, VP
51 else
52 vs = 1500
53 vp = 2600;
54 rho = 2700;
55 lambda = rho * (vp**2.d0 - 2.d0*vs**2.d0);
56 mu = rho * vs**2.d0;
57 qs = 0.1d0*vs;
58 gamma = 4.d0*datan(1.d0)/qs;
59 endif
60
61
62
63
64 end subroutine make_mech_prop_case_020
subroutine make_mech_prop_case_020(rho, lambda, mu, gamma, qs, qp, xs, ys, zs, depth, zs_all, vs30, thickness, sub_tag_all)
Makes not-honoring technique.