Main Page   Namespace List   Compound List   File List   Compound Members   File Members  

EarthOrbit.h

Go to the documentation of this file.
00001 //
00002 #ifndef astro_EarthOrbit_H
00003 #define astro_EarthOrbit_H
00004 
00005 
00006 #include "astro/JulianDate.h"
00007 
00008 #include "CLHEP/Vector/ThreeVector.h"
00009 namespace astro {
00010 
00017 class EarthOrbit   {
00018 public:
00019     
00020     EarthOrbit();
00021 
00025     void initialize();
00026 
00031     Hep3Vector position(JulianDate jd)const;
00032 
00033 private:
00034 
00038     static double Kepler(double MeanAnomaly,double Eccentricity);
00039 
00040     double m_M0;
00041     double m_dMdt;
00042     double m_Omega0;
00043     double m_dOmegadt;
00044     double m_w0;
00045     double m_dwdt;
00046 
00047     double m_a, m_alt;
00048 
00049 
00050     static double s_altitude; //<! nominal altitude (km)
00051     static double s_incl;     //<! orbit inclination in degrees
00052     static double s_e;        //<! eccentricity
00053 
00054     static double s_radius;   //<! Radius of earth
00055 
00056 };
00057 
00058 }
00059 #endif

Generated on Wed Aug 14 10:09:35 2002 for astro by doxygen1.2.11.1 written by Dimitri van Heesch, © 1997-2001