1 SUBROUTINE ksmod(IPAIR,KMOD)
8 common/slow0/ range,islow(10)
19 IF (islow(k).GT.kmod) go to 10
22 10 isbin = min(isbin,imod+2)
24 IF (isbin.EQ.1) go to 30
33 CALL
tpert(ipair,gx,dt)
37 semi = -0.5*body(icm)/h(ipair)
38 tk = twopi*semi*sqrt(semi/body(icm))
42 IF (tk*float(islow(isbin)).LT.dt.OR.isbin.EQ.1) go to 30
47 30
IF (isbin.EQ.imod) go to 100
52 semi = -0.5*body(icm)/h(ipair)
53 tk = twopi*semi*sqrt(semi/body(icm))
57 zeta = 1.0 - r(ipair)/semi
58 psi = tdot2(ipair)/sqrt(body(icm))
61 theta = atan2(psi/sqrt(semi),zeta)
64 dt = semi*sqrt(semi/body(icm))*(theta - psi/sqrt(semi))
76 40 y0 = dt - ((one6*tdot3(ipair)*dtu +
77 & 0.5*tdot2(ipair))*dtu + r(ipair))*dtu
78 ypr = -((0.5*tdot3(ipair)*dtu + tdot2(ipair))*dtu + r(ipair))
80 dt1 = ((one6*tdot3(ipair)*dtu + 0.5*tdot2(ipair))*dtu +
83 IF (abs(dt - dt1).GT.1.0d-10*step(i1).AND.iter.LT.5) go to 40
87 z = -0.5*h(ipair)*dtu**2
101 IF (isbin.GT.1) nksmod = nksmod + 1
114 IF (isbin.GE.6) kmod = 0