orsa_file_jpl.h File Reference

#include <string>
#include <map>
#include <list>
#include "orsa_units.h"
#include "orsa_coord.h"

Include dependency graph for orsa_file_jpl.h:

This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Namespaces

namespace  orsa

Enumerations

enum  JPL_planets {
  NONE = 0, MERCURY = 1, VENUS = 2, EARTH = 3,
  MARS = 4, JUPITER = 5, SATURN = 6, URANUS = 7,
  NEPTUNE = 8, PLUTO = 9, MOON = 10, SUN = 11,
  SOLAR_SYSTEM_BARYCENTER = 12, EARTH_MOON_BARYCENTER = 13, NUTATIONS = 14, LIBRATIONS = 15,
  EARTH_AND_MOON = 1000
}

Functions

void convert (JPL_planets &jp, const unsigned int i)

Variables

JPLFile * jpl_file = 0
JPLCache * jpl_cache = 0


Enumeration Type Documentation

enum JPL_planets
 

Enumeration values:
NONE 
MERCURY 
VENUS 
EARTH 
MARS 
JUPITER 
SATURN 
URANUS 
NEPTUNE 
PLUTO 
MOON 
SUN 
SOLAR_SYSTEM_BARYCENTER 
EARTH_MOON_BARYCENTER 
NUTATIONS 
LIBRATIONS 
EARTH_AND_MOON 

Definition at line 30 of file orsa_file_jpl.h.

00030                    {
00031     NONE=0,
00032     MERCURY=1,
00033     VENUS=2,
00034     EARTH=3,
00035     MARS=4,
00036     JUPITER=5,
00037     SATURN=6,
00038     URANUS=7,
00039     NEPTUNE=8,
00040     PLUTO=9,
00041     MOON=10,
00042     SUN=11,
00043     SOLAR_SYSTEM_BARYCENTER=12,
00044     EARTH_MOON_BARYCENTER=13,
00045     NUTATIONS=14,
00046     LIBRATIONS=15,
00047     EARTH_AND_MOON=1000
00048   };


Function Documentation

void convert JPL_planets jp,
const unsigned int  i
[inline]
 

Definition at line 71 of file orsa_file_jpl.h.

References orsa::EARTH, orsa::EARTH_AND_MOON, orsa::EARTH_MOON_BARYCENTER, orsa::JUPITER, orsa::LIBRATIONS, orsa::MARS, orsa::MERCURY, orsa::MOON, orsa::NEPTUNE, orsa::NONE, orsa::NUTATIONS, ORSA_ERROR, orsa::PLUTO, orsa::SATURN, orsa::SOLAR_SYSTEM_BARYCENTER, orsa::SUN, orsa::URANUS, and orsa::VENUS.

00071                                                                {
00072     switch(i) {
00073     case 0:  jp = NONE;                    break;
00074       //
00075     case 1:  jp = MERCURY;                 break;
00076     case 2:  jp = VENUS;                   break;
00077     case 3:  jp = EARTH;                   break;
00078     case 4:  jp = MARS;                    break;
00079     case 5:  jp = JUPITER;                 break;
00080     case 6:  jp = SATURN;                  break;
00081     case 7:  jp = URANUS;                  break;
00082     case 8:  jp = NEPTUNE;                 break;
00083     case 9:  jp = PLUTO;                   break;
00084     case 10: jp = MOON;                    break;
00085     case 11: jp = SUN;                     break;
00086     case 12: jp = SOLAR_SYSTEM_BARYCENTER; break;
00087     case 13: jp = EARTH_MOON_BARYCENTER;   break;
00088     case 14: jp = NUTATIONS;               break;
00089     case 15: jp = LIBRATIONS;              break;
00090       //
00091     case 1000: jp = EARTH_AND_MOON;        break;
00092       //
00093     default:
00094       ORSA_ERROR("conversion problem: i = %i",i);    
00095       break;
00096     }
00097   }


Variable Documentation

JPLCache * jpl_cache = 0
 

Definition at line 51 of file orsa_universe.cc.

Referenced by orsa::Compute_Gauss(), and orsa::SetupSolarSystem().

JPLFile * jpl_file = 0
 

Definition at line 48 of file orsa_universe.cc.

Referenced by JPLBody::JPLBody(), orsa::local_C22(), orsa::local_C31(), orsa::local_C32(), orsa::local_C33(), orsa::local_C41(), orsa::local_C42(), orsa::local_C43(), orsa::local_C44(), orsa::local_J2(), orsa::local_J3(), orsa::local_J4(), orsa::local_mass(), orsa::local_S31(), orsa::local_S32(), orsa::local_S33(), orsa::local_S41(), orsa::local_S42(), orsa::local_S43(), orsa::local_S44(), JPLBody::SetEpoch(), and orsa::SetupSolarSystem().


Generated on Tue Jan 11 15:26:54 2005 for liborsa by  doxygen 1.4.0