1 #ifndef MARS_Prediction 2 #define MARS_Prediction 17 const double sin_malt = so.
fMoonHrz.alt<0 ? 0 : sin(so.
fMoonHrz.alt*M_PI/180);
18 const double cos_mdist = cos(angle*M_PI/180);
19 const double cos_salt = cos(so.
fSunHrz.alt*M_PI/180);
21 const double c0 = pow(so.
fMoonDisk, 2.63);
22 const double c1 = pow(sin_malt, 0.60);
23 const double c2 = pow(edist, -2.00);
24 const double c3 = exp(0.67*cos_mdist*cos_mdist*cos_mdist*cos_mdist);
25 const double c4 = exp(-97.8+105.8*cos_salt*cos_salt);
27 return 6.2 + 95.7*c0*c1*c2*c3 + c4;
Namespace to help with some general things in the program initialization.
double GetAngularSeparation(const EquPosn &p1, const EquPosn &p2)
double PredictI(const Nova::SolarObjects &so, const Nova::EquPosn &srcEqu)