1 SUBROUTINE fdisk(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)
14 r2 = xi(1)**2 + xi(2)**2
15 bz = sqrt(b**2 + xi(3)**2)
16 az = sqrt(r2 + (a + bz)**2)
19 azdot = xi(1)*xidot(1) + xi(2)*xidot(2) +
20 & (a + bz)*xi(3)*xidot(3)/bz
23 fm(3) = -az3*xi(3)*(a + bz)/bz
25 fd(1) = -az3*(xidot(1) - 3.0*azdot*xi(1)/az**2)
26 fd(2) = -az3*(xidot(2) - 3.0*azdot*xi(2)/az**2)
28 y1 = 3.0*(a + bz)*xi(3)*azdot/(az**2*bz)
30 y2 = (a*b**2 + bz**3)*xidot(3)/bz**3