swift.inc 1.6 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152
  1. c*************************************************************************
  2. c SWIFT.INC
  3. c*************************************************************************
  4. C Include file for SWIFT
  5. c
  6. c Author: Hal Levison
  7. c Date: 2/2/93
  8. c Last revision: 3/7/93
  9. implicit NONE ! you got it baby
  10. c... Version of Swift
  11. real*8 VER_NUM
  12. parameter(VER_NUM=2.0d0)
  13. c... Maximum array size
  14. integer NPLMAX, NTPMAX
  15. c parameter (NPLMAX = 21) ! max number of planets, including the Sun
  16. parameter (NPLMAX = 51) ! max number of planets, including the Sun
  17. parameter (NTPMAX = 1001) ! max number of test particles
  18. c... Size of the test particle integer status flag
  19. integer NSTATP ! Number of status parameters
  20. parameter (NSTATP = 3)
  21. integer NSTAT ! Number of status parameters
  22. parameter (NSTAT = NSTATP + NPLMAX - 1) ! include one for @ planet
  23. c... Size of the test particle integer status flag
  24. integer NSTATR
  25. parameter (NSTATR = NSTAT) ! io_init_tp assumes NSTAT==NSTATR
  26. c... convergence criteria for danby
  27. real*8 DANBYAC , DANBYB
  28. parameter (DANBYAC= 1.0d-14, DANBYB = 1.0d-13)
  29. c... loop limits in the Laguerre attempts
  30. integer NLAG1, NLAG2
  31. parameter(NLAG1 = 50, NLAG2 = 400)
  32. c... A small number
  33. real*8 TINY
  34. PARAMETER(TINY=4.D-15)
  35. c... trig stuff
  36. real*8 PI,TWOPI,PIBY2,DEGRAD
  37. parameter (PI = 3.14159265358979D0)
  38. parameter (TWOPI = 2.0D0 * PI)
  39. parameter (PIBY2 = PI/2.0D0)
  40. parameter (DEGRAD = 180.0D0 / PI)
  41. c-------------------------------------------------------------------------