home *** CD-ROM | disk | FTP | other *** search
/ Simtel MSDOS - Coast to Coast / simteldosarchivecoasttocoast2.iso / astrnomy / de118i.zip / SSYSTEM.H < prev    next >
C/C++ Source or Header  |  1992-05-24  |  910b  |  53 lines

  1. /* Configuration settings for ssystem.c
  2.  */
  3. #define DE200 0
  4. #define DE102 0
  5. #define DE118 1
  6.  
  7. /* Compute relativity corrections, or not: */
  8. #define DOREL 1
  9.  
  10. /* Include the Moon as a separate body, or not: */
  11. #define MOON 1
  12. #define LIBRAT 1
  13.  
  14. /* Include the five asteroids that are in JPL's model, or not: */
  15. #define AROIDS 1
  16.  
  17. /* Index to first mass. The lunar librattion angles
  18.  * are the first items in the array.
  19.  */
  20. #if LIBRAT
  21. #define FMASS 1
  22. #else
  23. #define FMASS 0
  24. #endif
  25.  
  26. #if MOON
  27. #define NBODY 11
  28. #define IMOON (9+FMASS)
  29. #else
  30. #undef LIBRAT
  31. #define LIBRAT 0
  32. #undef FMASS
  33. #define FMASS 0
  34. #define NBODY 10
  35. #endif
  36.  
  37. #define IAROIDS (NBODY+FMASS)
  38. #if AROIDS
  39. #define NTOTAL (NBODY+FMASS+5)
  40. #endif
  41.  
  42. #ifndef NTOTAL
  43. #define NTOTAL (NBODY+FMASS)
  44. #endif
  45.  
  46. #define IEARTH (2+FMASS)
  47. #define ISUN (NBODY+FMASS-1)
  48.  
  49. #define NEQ (6*NTOTAL)
  50.  
  51. #define NEQC (6*(NBODY+FMASS))
  52.  
  53.