/[PAMELA software]/chewbacca/YodaProfiler/src/sgp4.cpp
ViewVC logotype

Diff of /chewbacca/YodaProfiler/src/sgp4.cpp

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 1.1 by mocchiut, Tue Sep 23 07:20:33 2008 UTC revision 1.4 by mocchiut, Tue May 15 14:04:42 2012 UTC
# Line 2  Line 2 
2  // globals.cpp  // globals.cpp
3  //  //
4  #include <sgp4.h>  #include <sgp4.h>
5    #include <cstring>
6    
7  //////////////////////////////////////////////////////////////////////////////  //////////////////////////////////////////////////////////////////////////////
8  double sqr(const double x)  double sqr(const double x)
# Line 230  void cJulian::Initialize(int year, doubl Line 231  void cJulian::Initialize(int year, doubl
231    // 1582 A.D.: 10 days removed from calendar    // 1582 A.D.: 10 days removed from calendar
232    // 3000 A.D.: Arbitrary error checking limit    // 3000 A.D.: Arbitrary error checking limit
233    assert((year > 1582) && (year < 3000));    assert((year > 1582) && (year < 3000));
234    assert((day >= 0.0) && (day <= 366.5));    assert((day >= 0.0) && (day <= 366.7)); // 366.5
235    
236    // Now calculate Julian date    // Now calculate Julian date
237    
# Line 1432  bool cNoradSDP4::DeepInit(double *eosq, Line 1433  bool cNoradSDP4::DeepInit(double *eosq,
1433     double cc  = c1ss;     double cc  = c1ss;
1434     double zn  = zns;     double zn  = zns;
1435     double ze  = zes;     double ze  = zes;
1436     double zmo = dp_zmos;     //   double zmo = dp_zmos;
1437     double xnoi = 1.0 / m_xnodp;     double xnoi = 1.0 / m_xnodp;
1438    
1439     double a1;  double a3;  double a7;  double a8;  double a9;  double a10;     double a1;  double a3;  double a7;  double a8;  double a9;  double a10;
# Line 1544  bool cNoradSDP4::DeepInit(double *eosq, Line 1545  bool cNoradSDP4::DeepInit(double *eosq,
1545           zn = znl;           zn = znl;
1546           cc = c1l;           cc = c1l;
1547           ze = zel;           ze = zel;
1548           zmo = dp_zmol;           //         zmo = dp_zmol;
1549        }        }
1550     }     }
1551    

Legend:
Removed from v.1.1  
changed lines
  Added in v.1.4

  ViewVC Help
Powered by ViewVC 1.1.23