README.stat 3.6 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778
  1. There are 2 status arrays for the test particles: istat is an integer and
  2. rstat is a real.
  3. The array istat is a 2D array. It is dimensioned istat(NTPMAX,NSTAT),
  4. where NTPMAX is the maximum number of test particles and NSTAT is the
  5. number of integers that are needed to give the status of the particle.
  6. NTPMAX,NSTAT are defined in mvs.inc
  7. The flag's have the follow definition:
  8. if istat(i,1) = 0 particle is active
  9. ==> istat(i,2) = 0 if not currently suffering and encounter
  10. = +n if currently in outer region on pl n
  11. = -n if currently in inner region on pl n
  12. if istat(i,1) = 1 particle is NOT active
  13. ==> if istat(i,2) = -1 Danby did not converge
  14. ==> if istat(i,2) = -2 a<0 & r_helio>rmax_a
  15. ==> if istat(i,2) = -3 r_helio>rmax
  16. ==> if istat(i,2) = -4 q<qmin
  17. ==> if istat(i,2) = 1 r_helio<rmin
  18. ==> if istat(i,2) = n too close to planet n
  19. ==> istat(i,j>2) is not used
  20. In the RMVS routines, independent of other istat flags:
  21. istat(i,3) the pl# of last encounter
  22. istat(i,m>3) = the number of times tp # i encountered
  23. planet k (m=k+2; k>1). By encounter we mean
  24. within a Hill sphere.
  25. This is only used in RMVS.
  26. -------------------------------------
  27. rstat is again a 2D array with the same dimensions as istat.
  28. It has the following values:
  29. if istat(i,1) = 0 particle is active
  30. ==> rstat(i,1) not used
  31. ==> rstat(i,2) perihelion distance IF checking
  32. if istat(i,1) = 1 particle is NOT active
  33. ==> rstat(i,1) time the particle was discarded
  34. if istat(i,2) = 1 particles pertihelion distance was
  35. too close to the Sun
  36. ==> rstat(i,2) = 0 if physically too close to Sun
  37. (r<r_min)
  38. = perihelion distance; if q<q_min
  39. In the RMVS routines, independent of other istat flags:
  40. rstat(i,3) = pericenter distance of a particle with
  41. respect to a planet if that particle is in
  42. the inner encounter region and went through
  43. peri during last timestep.
  44. rstat(i,m>3) = the smallest pericenter distance that
  45. tp # i had to planet k (m=k+2; k!=1).
  46. It is used if and only if q<r_hill.
  47. if istat(i,1) = 1
  48. ==> rstat(i,2) =
  49. if > 0
  50. closest approach distance tp #i to
  51. planet # istat(i,2), as predicted
  52. by our extrapolation routines, if
  53. discarded due to a predicted close
  54. approach to that planet.
  55. if < 0
  56. pericenter distance of tp #i to
  57. planet # istat(i,2), if the tp was
  58. discarded due to a close approach to
  59. that planet.
  60. In the LYAP2 routines, independent of other istat flags:
  61. rstat(i,3), rstat(i,3), rstat(i,5) = the dx(1)-dx(3) from the
  62. difference equations
  63. rstat(i,6), rstat(i,7), rstat(i,8) = the dv(1)-dv(3) from the
  64. difference equations