1 real*8 function stability(mm1,mm2,mm3,ein,eout,inc)
3 * three-body
stability test(mardling & aarseth 1999)
5 implicit real*8 (a-h,m,o-z)
8 * employ the semi-analytical
stability criterion(ma 1999).
11 xfac = (1.0 + q)*(1.0 + eout)/sqrt(1.0 - eout)
17 * include the inclination fudge factor.
18 yfac = 1.0 - 0.3*inc/3.1415