1 SUBROUTINE xtrnlf(XI,XIDOT,FIRR,FREG,FD,FDR,KCASE)
8 common/galaxy/ gmg,rg(3),vg(3),fg(3),fgd(3),tg,
9 & omega,disk,a,b,v02,rl2,gmb,ar,gam,zdum(7)
10 REAL*8 xi(3),xidot(3),firr(3),freg(3),fd(3),fdr(3),
11 &
xg(3),xgdot(3),fm(3),fmd(3),fs(3),fsd(3)
16 firr(1) = firr(1) + tidal(4)*xidot(2)
17 firr(2) = firr(2) - tidal(4)*xidot(1)
18 fd(1) = fd(1) + tidal(4)*(firr(2) + freg(2))
19 fd(2) = fd(2) - tidal(4)*(firr(1) + freg(1))
22 freg(1) = freg(1) + tidal(1)*xi(1)
23 freg(3) = freg(3) + tidal(3)*xi(3)
24 fdr(1) = fdr(1) + tidal(1)*xidot(1)
25 fdr(3) = fdr(3) + tidal(3)*xidot(3)
30 IF (kz(14).EQ.3.AND.kcase.GT.0)
THEN
33 xgdot(k) = vg(k) + xidot(k)
36 IF (gmg.GT.0.0d0)
THEN
37 CALL
fnuc(rg,vg,fs,fsd)
40 freg(k) = freg(k) + (fm(k) - fs(k))
41 fdr(k) = fdr(k) + (fmd(k) - fsd(k))
46 IF (gmb.GT.0.0d0)
THEN
50 freg(k) = freg(k) + (fm(k) - fs(k))
51 fdr(k) = fdr(k) + (fmd(k) - fsd(k))
56 IF (disk.GT.0.0d0)
THEN
57 CALL
fdisk(rg,vg,fs,fsd)
60 freg(k) = freg(k) + (fm(k) - fs(k))
61 fdr(k) = fdr(k) + (fmd(k) - fsd(k))
66 IF (v02.GT.0.0d0)
THEN
67 CALL
fhalo(rg,vg,fs,fsd)
70 freg(k) = freg(k) + (fm(k) - fs(k))
71 fdr(k) = fdr(k) + (fmd(k) - fsd(k))
77 IF (((kz(14).EQ.3.AND.mp.GT.0.0d0).OR.kz(14).EQ.4).
78 & and.kcase.GT.0)
THEN
83 rrdot = rrdot + xi(k)*xidot(k)
85 IF (time + toff.GT.tdelay)
THEN
86 ymdot = -mp0*mpdot/(1.0 + mpdot*(time+toff - tdelay))**2
98 freg(k) = freg(k) - xi(k)*fmp
99 fdr(k) = fdr(k) - (xidot(k) - 3.0*rrdot*zf*xi(k))*fmp
100 fdr(k) = fdr(k) - ymdot*zf2*xi(k)