31 SUBROUTINE i9frms(X ,SKEW,A ,FN ,FT ,
32 2 IRECT,LMSR,CRST,MSR,NSV ,
33 3 ILOC ,IRTL,MS ,NOR,LCODE,
34 4 ISKEW,FRIC,MSMN,MSMT,NMN,NSN)
38#include "implicit_f.inc"
43#include "scr08_a_c.inc"
48 INTEGER IRECT(4,*), LMSR(4,*), MSR((*),
53 . crst(2,*), ms(*), nor(3,*), fric
54 INTEGER,
INTENT(in) :: NMN,NSN
58 INTEGER NIR, I, J, I3, J3, , J2, I1, J1, II, L, JJ, NN, JJ3,
62 . h(4), n1, n2, n3, aa(3), ss, tt, xmss, fxi, fyi
64 . fsm, fxmn, fymn, fzmn, fxmt, fymt, fzmt, fsmt
114 h(1) = half*(one - ss)
115 h(2) = half*(one + ss)
138 fsn=(fxi*n1+fyi*n2+fzi*n3)
145 fsm = (fxmi*n1+fymi*n2+fzmi*n3)
152 fn(j1) = fn(j1) + fxn - fxmn
153 fn(j2) = fn(j2) + fyn - fymn
154 fn(j3) = fn(j3) + fzn - fzmn
155 msmn(j1) = msmn(j1) + xmss
162 fst = sqrt(fxt*fxt+fyt*fyt+fzt*fzt)
163 fac =
min(one,fric*fsn/
max(em30,fst))
173 ft(j1)=ft(j1) + (fxt - fxmt)*fac
174 ft(j2)=ft(j2) + (fyt - fymt)*fac
175 ft(j3)=ft(j3) + (fzt - fzmt)*fac
176 msmt(j1)=msmt(j1) + xmss*fac
subroutine i9frms(x, skew, a, fn, ft, irect, lmsr, crst, msr, nsv, iloc, irtl, ms, nor, lcode, iskew, fric, msmn, msmt, nmn, nsn)