1 SUBROUTINE fbulge(XI,XIDOT,FM,FD)
7 IMPLICIT REAL*8 (a-h,o-z)
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),fm(3),fd(3)
18 rr = sqrt(xi(1)**2 + xi(2)**2 + xi(3)**2)
19 rrd = (xi(1)*xidot(1) + xi(2)*xidot(2) + xi(3)*xidot(3))/(rr*rr)
20 rrd = rrd*(ar*gam + 3.0*rr)/(rr + ar)
21 h3 = (gmb/rr**3)*(1.0 + ar/rr)**(gam-3.0)
25 fd(k) = -h3*(xidot(k) - rrd*xi(k))