Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

added vs30 switches for other GMMs #64

Merged
merged 1 commit into from
Oct 12, 2016
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
10 changes: 8 additions & 2 deletions src/hazFXnga13l.f
Original file line number Diff line number Diff line change
Expand Up @@ -1152,8 +1152,14 @@
c & weight2 , mb to M conv."
read(1,*) iatten(ip,ia),wt(ip,ia,1),wtdist(ip,ia),wt(ip,ia,2),
& icode(ip,ia)
c insure that Campbell CEUS relation is called with negative ipia when vs30 > 1200 m/s. Mod sept 21 2016 SH
if(iatten(ip,ia).eq.10 .and. vs30 .gt.1200.)iatten(ip,ia)= -10
c insure that Toro, Frankel, Somerville, and Campbell CEUS relations are called with
c negative ipia when vs30 > 1200 m/s. Mod Oct 12 2016 pmpowers
if(vs30.gt.1200.)then
if(iatten(ip,ia).eq.2) iatten(ip,ia)= -2
if(iatten(ip,ia).eq.6) iatten(ip,ia)= -6
if(iatten(ip,ia).eq.7) iatten(ip,ia)= -7
if(iatten(ip,ia).eq.10) iatten(ip,ia)= -10
endif
ipia=iatten(ip,ia)
if(ipia.eq.35)then
F_inferred=1.0
Expand Down