StelCore.hpp   StelCore.hpp 
skipping to change at line 142 skipping to change at line 142
JPLHorizons, //!< JPL Horizons algori thm for DeltaT JPLHorizons, //!< JPL Horizons algori thm for DeltaT
MeeusSimons, //!< Meeus & Simons (200 0) algorithm for DeltaT MeeusSimons, //!< Meeus & Simons (200 0) algorithm for DeltaT
MontenbruckPfleger, //!< Montenbruck & Pfleg er (2000) algorithm for DeltaT MontenbruckPfleger, //!< Montenbruck & Pfleg er (2000) algorithm for DeltaT
ReingoldDershowitz, //!< Reingold & Dershowi tz (2002, 2007) algorithm for DeltaT ReingoldDershowitz, //!< Reingold & Dershowi tz (2002, 2007) algorithm for DeltaT
MorrisonStephenson2004, //!< Morrison & Stephens on (2004, 2005) algorithm for DeltaT MorrisonStephenson2004, //!< Morrison & Stephens on (2004, 2005) algorithm for DeltaT
Reijs, //!< Reijs (2006) algori thm for DeltaT Reijs, //!< Reijs (2006) algori thm for DeltaT
EspenakMeeus, //!< Espenak & Meeus (20 06) algorithm for DeltaT (Recommended, default) EspenakMeeus, //!< Espenak & Meeus (20 06) algorithm for DeltaT (Recommended, default)
EspenakMeeusZeroMoonAccel, //!< Espenak & Meeus (20 06) algorithm for DeltaT (but without additional Lunar acceleration. FOR TE STING ONLY, NONPUBLIC) EspenakMeeusZeroMoonAccel, //!< Espenak & Meeus (20 06) algorithm for DeltaT (but without additional Lunar acceleration. FOR TE STING ONLY, NONPUBLIC)
Banjevic, //!< Banjevic (2006) alg orithm for DeltaT Banjevic, //!< Banjevic (2006) alg orithm for DeltaT
IslamSadiqQureshi, //!< Islam, Sadiq & Qure shi (2008 + revisited 2013) algorithm for DeltaT (6 polynomials) IslamSadiqQureshi, //!< Islam, Sadiq & Qure shi (2008 + revisited 2013) algorithm for DeltaT (6 polynomials)
KhalidSultanaZaidi, //!< M. Khalid, Mariam S KhalidSultanaZaidi, //!< M. Khalid, Mariam S
ultana and Faheem Zaidi polinomial approximation of time period 1620-2013 ( ultana and Faheem Zaidi polynomial approximation of time period 1620-2013 (
2014) 2014)
StephensonMorrisonHohenkerk2016, //!< Stephenson, Morriso
n, Hohenkerk (2016) RSPA paper provides spline fit to observations for -720
..2016 and else parabolic fit.
Custom //!< User defined coeffi cients for quadratic equation for DeltaT Custom //!< User defined coeffi cients for quadratic equation for DeltaT
}; };
StelCore(); StelCore();
virtual ~StelCore(); virtual ~StelCore();
//! Init and load all main core components. //! Init and load all main core components.
void init(); void init();
//! Update all the objects with respect to the time. //! Update all the objects with respect to the time.
skipping to change at line 221 skipping to change at line 222
//! Set vision direction //! Set vision direction
void lookAtJ2000(const Vec3d& pos, const Vec3d& up); void lookAtJ2000(const Vec3d& pos, const Vec3d& up);
Vec3d altAzToEquinoxEqu(const Vec3d& v, RefractionMode refMode=Refra ctionAuto) const; Vec3d altAzToEquinoxEqu(const Vec3d& v, RefractionMode refMode=Refra ctionAuto) const;
Vec3d equinoxEquToAltAz(const Vec3d& v, RefractionMode refMode=Refra ctionAuto) const; Vec3d equinoxEquToAltAz(const Vec3d& v, RefractionMode refMode=Refra ctionAuto) const;
Vec3d altAzToJ2000(const Vec3d& v, RefractionMode refMode=Refraction Auto) const; Vec3d altAzToJ2000(const Vec3d& v, RefractionMode refMode=Refraction Auto) const;
Vec3d j2000ToAltAz(const Vec3d& v, RefractionMode refMode=Refraction Auto) const; Vec3d j2000ToAltAz(const Vec3d& v, RefractionMode refMode=Refraction Auto) const;
void j2000ToAltAzInPlaceNoRefraction(Vec3f* v) const {v->transfo4d(m atJ2000ToAltAz);} void j2000ToAltAzInPlaceNoRefraction(Vec3f* v) const {v->transfo4d(m atJ2000ToAltAz);}
Vec3d galacticToJ2000(const Vec3d& v) const; Vec3d galacticToJ2000(const Vec3d& v) const;
Vec3d supergalacticToJ2000(const Vec3d& v) const; Vec3d supergalacticToJ2000(const Vec3d& v) const;
Vec3d equinoxEquToJ2000(const Vec3d& v) const; //! Transform position vector v from equatorial coordinates of date
(which may also include atmospheric refraction) to those of J2000.
//! Use refMode=StelCore::RefractionOff if you don't want any atmosp
here correction.
//! Use refMode=StelCore::RefractionOn to create observed (apparent)
coordinates (which are subject to refraction).
//! Use refMode=StelCore::RefractionAuto to correct coordinates for
refraction only when atmosphere is active.
Vec3d equinoxEquToJ2000(const Vec3d& v, RefractionMode refMode=Refra
ctionAuto) const;
//! Use fixed matrix to allow fast transformation of positions relat
ed to the IAU constellation borders.
Vec3d j2000ToJ1875(const Vec3d& v) const; Vec3d j2000ToJ1875(const Vec3d& v) const;
Vec3d j2000ToEquinoxEqu(const Vec3d& v) const; //! Transform position vector v from equatorial coordinates J2000 to
those of date (optionally corrected by refraction).
//! Use refMode=StelCore::RefractionOff if you don't want any atmosp
here correction.
//! Use refMode=StelCore::RefractionOn to correct observed (apparent
) coordinates (which are subject to refraction).
//! Use refMode=StelCore::RefractionAuto to correct coordinates for
refraction only when atmosphere is active.
Vec3d j2000ToEquinoxEqu(const Vec3d& v, RefractionMode refMode=Refra
ctionAuto) const;
Vec3d j2000ToGalactic(const Vec3d& v) const; Vec3d j2000ToGalactic(const Vec3d& v) const;
Vec3d j2000ToSupergalactic(const Vec3d& v) const; Vec3d j2000ToSupergalactic(const Vec3d& v) const;
//! Transform vector from heliocentric ecliptic coordinate to altazi muthal //! Transform vector from heliocentric ecliptic coordinate to altazi muthal
Vec3d heliocentricEclipticToAltAz(const Vec3d& v, RefractionMode ref Mode=RefractionAuto) const; Vec3d heliocentricEclipticToAltAz(const Vec3d& v, RefractionMode ref Mode=RefractionAuto) const;
//! Transform from heliocentric coordinate to equatorial at current equinox (for the planet where the observer stands) //! Transform from heliocentric coordinate to equatorial at current equinox (for the planet where the observer stands)
Vec3d heliocentricEclipticToEquinoxEqu(const Vec3d& v) const; Vec3d heliocentricEclipticToEquinoxEqu(const Vec3d& v) const;
// //! Transform vector from heliocentric coordinate to false equatoria l : equatorial // //! Transform vector from heliocentric coordinate to false equatoria l : equatorial
// //! coordinate but centered on the observer position (useful for obj ects close to earth) // //! coordinate but centered on the observer position (useful for obj ects close to earth)
skipping to change at line 273 skipping to change at line 283
//! Rotation matrix from ecliptic (VSOP87A) to equatorial J2000. //! Rotation matrix from ecliptic (VSOP87A) to equatorial J2000.
static const Mat4d matVsop87ToJ2000; static const Mat4d matVsop87ToJ2000;
//! Rotation matrix from J2000 to Galactic reference frame, using FI TS convention. //! Rotation matrix from J2000 to Galactic reference frame, using FI TS convention.
static const Mat4d matJ2000ToGalactic; static const Mat4d matJ2000ToGalactic;
//! Rotation matrix from Galactic to J2000 reference frame, using FI TS convention. //! Rotation matrix from Galactic to J2000 reference frame, using FI TS convention.
static const Mat4d matGalacticToJ2000; static const Mat4d matGalacticToJ2000;
//! Rotation matrix from J2000 to Supergalactic reference frame. //! Rotation matrix from J2000 to Supergalactic reference frame.
static const Mat4d matJ2000ToSupergalactic; static const Mat4d matJ2000ToSupergalactic;
//! Rotation matrix from Supergalactic to J2000 reference frame. //! Rotation matrix from Supergalactic to J2000 reference frame.
static const Mat4d matSupergalacticToJ2000; static const Mat4d matSupergalacticToJ2000;
//! Precession matrix for IAU constellation lookup.
static Mat4d matJ2000ToJ1875;
//! Return the observer heliocentric ecliptic position //! Return the observer heliocentric ecliptic position (GZ: presumab ly J2000)
Vec3d getObserverHeliocentricEclipticPos() const; Vec3d getObserverHeliocentricEclipticPos() const;
//! Get the informations on the current location //! Get the informations on the current location
const StelLocation& getCurrentLocation() const; const StelLocation& getCurrentLocation() const;
//! Get the UTC offset on the current location (in hours) //! Get the UTC offset on the current location (in hours)
float getUTCOffset(const double JD) const; float getUTCOffset(const double JD) const;
QString getCurrentTimeZone() const; QString getCurrentTimeZone() const;
void setCurrentTimeZone(const QString& tz); void setCurrentTimeZone(const QString& tz);
skipping to change at line 361 skipping to change at line 369
//! Get the current Mapping used by the Projection //! Get the current Mapping used by the Projection
QString getCurrentProjectionTypeKey(void) const; QString getCurrentProjectionTypeKey(void) const;
//! Set the current ProjectionType to use from its key //! Set the current ProjectionType to use from its key
void setCurrentProjectionTypeKey(QString type); void setCurrentProjectionTypeKey(QString type);
QString getCurrentProjectionNameI18n() const; QString getCurrentProjectionNameI18n() const;
//! Get the list of all the available projections //! Get the list of all the available projections
QStringList getAllProjectionTypeKeys() const; QStringList getAllProjectionTypeKeys() const;
//! Set the current algorithm for time correction (DeltaT) //! Set the current algorithm and nDot used therein for time correct
void setCurrentDeltaTAlgorithm(DeltaTAlgorithm algorithm) { currentD ion (DeltaT)
eltaTAlgorithm=algorithm; } void setCurrentDeltaTAlgorithm(DeltaTAlgorithm algorithm);
//! Get the current algorithm for time correction (DeltaT) //! Get the current algorithm for time correction (DeltaT)
DeltaTAlgorithm getCurrentDeltaTAlgorithm() const { return currentDe ltaTAlgorithm; } DeltaTAlgorithm getCurrentDeltaTAlgorithm() const { return currentDe ltaTAlgorithm; }
//! Get description of the current algorithm for time correction //! Get description of the current algorithm for time correction
QString getCurrentDeltaTAlgorithmDescription(void) const; QString getCurrentDeltaTAlgorithmDescription(void) const;
//! Get the current algorithm used by the DeltaT //! Get the current algorithm used by the DeltaT
QString getCurrentDeltaTAlgorithmKey(void) const; QString getCurrentDeltaTAlgorithmKey(void) const;
//! Set the current algorithm to use from its key //! Set the current algorithm to use from its key
void setCurrentDeltaTAlgorithmKey(QString type); void setCurrentDeltaTAlgorithmKey(QString type);
//! Set the mask type. //! Set the mask type.
skipping to change at line 457 skipping to change at line 465
//! Get solution of equation of time //! Get solution of equation of time
//! Source: J. Meeus "Astronomical Algorithms" (2nd ed., with correc tions as of August 10, 2009) p.183-187. //! Source: J. Meeus "Astronomical Algorithms" (2nd ed., with correc tions as of August 10, 2009) p.183-187.
//! @param JDE JD in Dynamical Time (previously called Ephemeris Tim e) //! @param JDE JD in Dynamical Time (previously called Ephemeris Tim e)
//! @return time in minutes //! @return time in minutes
double getSolutionEquationOfTime(const double JDE) const; double getSolutionEquationOfTime(const double JDE) const;
bool getUseDST() const; bool getUseDST() const;
void setUseDST(const bool b); void setUseDST(const bool b);
bool getUseCustomTimeZone(void) const;
void setUseCustomTimeZone(const bool b);
//! Set the current date in Modified Julian Day (UT). //! Set the current date in Modified Julian Day (UT).
//! MJD is simply JD-2400000.5, getting rid of large numbers and sta rting days at midnight. //! MJD is simply JD-2400000.5, getting rid of large numbers and sta rting days at midnight.
//! It is mostly used in satellite contexts. //! It is mostly used in satellite contexts.
void setMJDay(double MJD); void setMJDay(double MJD);
//! Get the current date in Modified Julian Day (UT) //! Get the current date in Modified Julian Day (UT)
double getMJDay() const; double getMJDay() const;
//! Compute Delta-T estimation for a given date. //! Compute DeltaT estimation for a given date.
//! DeltaT is the accumulated effect of earth's rotation slowly gett ing slower, mostly caused by tidal braking by the Moon. //! DeltaT is the accumulated effect of earth's rotation slowly gett ing slower, mostly caused by tidal braking by the Moon.
//! For accurate positioning of objects in the sky, we must compute earth-based clock-dependent things like earth rotation, hour angles etc. //! For accurate positioning of objects in the sky, we must compute earth-based clock-dependent things like earth rotation, hour angles etc.
//! using plain UT, but all orbital motions or rotation of the other planets must be computed in TT, which is a regular time frame. //! using plain UT, but all orbital motions or rotation of the other planets must be computed in TT, which is a regular time frame.
//! Also satellites are computed in the UT frame because (1) they ar e short-lived and (2) must follow paths over earth ground. //! Also satellites are computed in the UT frame because (1) they ar e short-lived and (2) must follow paths over earth ground.
//! (Note that we make no further difference between TT and DT, thos e are regarded equivalent for our purpose.) //! (Note that we make no further difference between TT and DT, thos e might differ by milliseconds at best but are regarded equivalent for our purpose.)
//! @param JD the date and time expressed as a Julian Day //! @param JD the date and time expressed as a Julian Day
//! @return DeltaT in seconds //! @return DeltaT in seconds
//! @note Thanks to Rob van Gent which create a collection from many formulas for calculation of Delta-T: http://www.staff.science.uu.nl/~gent0 113/deltat/deltat.htm //! @note Thanks to Rob van Gent who created a collection from many formulas for calculation of DeltaT: http://www.staff.science.uu.nl/~gent011 3/deltat/deltat.htm
//! @note Use this only if needed, prefer calling getDeltaT() for ac cess to the current value. //! @note Use this only if needed, prefer calling getDeltaT() for ac cess to the current value.
double computeDeltaT(const double JD) const; //! @note Up to V0.15.1, if the requested year was outside validity
range, we returned zero or some useless value.
//! Starting with V0.15.2 the value from the edge of the defin
ed range is returned instead if not explicitly zero is given in the source.
//! Limits can be queried with getCurrentDeltaTAlgorithmValidR
angeDescription()
double computeDeltaT(const double JD);
//! Get current DeltaT. //! Get current DeltaT.
double getDeltaT() const; double getDeltaT() const;
//! @return whether nutation is currently used. //! @return whether nutation is currently used.
bool getUseNutation() const {return flagUseNutation;} bool getUseNutation() const {return flagUseNutation;}
//! Set whether you want computation and simulation of nutation (a s light wobble of Earth's axis, just a few arcseconds). //! Set whether you want computation and simulation of nutation (a s light wobble of Earth's axis, just a few arcseconds).
void setUseNutation(bool use) { if (flagUseNutation != use) { flagUs eNutation=use; emit flagUseNutationChanged(use); }} void setUseNutation(bool use) { if (flagUseNutation != use) { flagUs eNutation=use; emit flagUseNutationChanged(use); }}
//! @return whether topocentric coordinates are currently used. //! @return whether topocentric coordinates are currently used.
bool getUseTopocentricCoordinates() const {return flagUseTopocentric Coordinates;} bool getUseTopocentricCoordinates() const {return flagUseTopocentric Coordinates;}
skipping to change at line 651 skipping to change at line 666
void addSolarDays(double d); void addSolarDays(double d);
//! Add a number of sidereal days to the current simulation time, //! Add a number of sidereal days to the current simulation time,
//! based on the observer body's rotational period. //! based on the observer body's rotational period.
//! @param d the decimal number of sidereal days to add (use negativ e values to subtract) //! @param d the decimal number of sidereal days to add (use negativ e values to subtract)
void addSiderealDays(double d); void addSiderealDays(double d);
//! Move the observer to the selected object. This will only do some thing if //! Move the observer to the selected object. This will only do some thing if
//! the selected object is of the correct type - i.e. a planet. //! the selected object is of the correct type - i.e. a planet.
void moveObserverToSelected(); void moveObserverToSelected();
//! Set central year for custom equation for calculation of Delta-T //! Set central year for custom equation for calculation of DeltaT
//! @param y the year, e.g. 1820 //! @param y the year, e.g. 1820
void setDeltaTCustomYear(float y) { deltaTCustomYear=y; } void setDeltaTCustomYear(float y) { deltaTCustomYear=y; }
//! Set n-dot for custom equation for calculation of Delta-T //! Set n-dot for custom equation for calculation of DeltaT
//! @param v the n-dot value, e.g. -26.0 //! @param v the n-dot value, e.g. -26.0
void setDeltaTCustomNDot(float v) { deltaTCustomNDot=v; } void setDeltaTCustomNDot(float v) { deltaTCustomNDot=v; }
//! Set coefficients for custom equation for calculation of Delta-T //! Set coefficients for custom equation for calculation of DeltaT
//! @param c the coefficients, e.g. -20,0,32 //! @param c the coefficients, e.g. -20,0,32
void setDeltaTCustomEquationCoefficients(Vec3f c) { deltaTCustomEqua tionCoeff=c; } void setDeltaTCustomEquationCoefficients(Vec3f c) { deltaTCustomEqua tionCoeff=c; }
//! Get central year for custom equation for calculation of Delta-T //! Get central year for custom equation for calculation of DeltaT
float getDeltaTCustomYear() const { return deltaTCustomYear; } float getDeltaTCustomYear() const { return deltaTCustomYear; }
//! Get n-dot for custom equation for calculation of Delta-T //! Get n-dot for custom equation for calculation of DeltaT
float getDeltaTCustomNDot() const { return deltaTCustomNDot; } float getDeltaTCustomNDot() const { return deltaTCustomNDot; }
//! Get coefficients for custom equation for calculation of Delta-T //! Get n-dot for current DeltaT algorithm
float getDeltaTnDot() const { return deltaTnDot; }
//! Get coefficients for custom equation for calculation of DeltaT
Vec3f getDeltaTCustomEquationCoefficients() const { return deltaTCus tomEquationCoeff; } Vec3f getDeltaTCustomEquationCoefficients() const { return deltaTCus tomEquationCoeff; }
//! initialize ephemerides calculation functions //! initialize ephemerides calculation functions
void initEphemeridesFunctions(); void initEphemeridesFunctions();
bool de430IsAvailable(); //!< true if DE430 ephemeris fil e has been found bool de430IsAvailable(); //!< true if DE430 ephemeris fil e has been found
bool de431IsAvailable(); //!< true if DE431 ephemeris fil e has been found bool de431IsAvailable(); //!< true if DE431 ephemeris fil e has been found
bool de430IsActive(); //!< true if DE430 ephemeris is in use bool de430IsActive(); //!< true if DE430 ephemeris is in use
bool de431IsActive(); //!< true if DE431 ephemeris is in use bool de431IsActive(); //!< true if DE431 ephemeris is in use
void setDe430Active(bool status); //!< switch DE430 use to @param status (if de430IsAvailable()). DE430 is only used if date is within range of DE430. void setDe430Active(bool status); //!< switch DE430 use to @param status (if de430IsAvailable()). DE430 is only used if date is within range of DE430.
skipping to change at line 741 skipping to change at line 758
void registerMathMetaTypes(); void registerMathMetaTypes();
// Matrices used for every coordinate transfo // Matrices used for every coordinate transfo
Mat4d matHeliocentricEclipticJ2000ToAltAz; // Transform from helioce ntric ecliptic Cartesian (VSOP87A) to topocentric (StelObserver) altazimuth al coordinate Mat4d matHeliocentricEclipticJ2000ToAltAz; // Transform from helioce ntric ecliptic Cartesian (VSOP87A) to topocentric (StelObserver) altazimuth al coordinate
Mat4d matAltAzToHeliocentricEclipticJ2000; // Transform from topocen tric (StelObserver) altazimuthal coordinate to heliocentric ecliptic Cartes ian (VSOP87A) Mat4d matAltAzToHeliocentricEclipticJ2000; // Transform from topocen tric (StelObserver) altazimuthal coordinate to heliocentric ecliptic Cartes ian (VSOP87A)
Mat4d matAltAzToEquinoxEqu; // Transform from topocen tric altazimuthal coordinate to Earth Equatorial Mat4d matAltAzToEquinoxEqu; // Transform from topocen tric altazimuthal coordinate to Earth Equatorial
Mat4d matEquinoxEquToAltAz; // Transform from Earth E quatorial to topocentric (StelObserver) altazimuthal coordinate Mat4d matEquinoxEquToAltAz; // Transform from Earth E quatorial to topocentric (StelObserver) altazimuthal coordinate
Mat4d matHeliocentricEclipticToEquinoxEqu; // Transform from helioce ntric ecliptic Cartesian (VSOP87A) to earth equatorial coordinate Mat4d matHeliocentricEclipticToEquinoxEqu; // Transform from helioce ntric ecliptic Cartesian (VSOP87A) to earth equatorial coordinate
Mat4d matEquinoxEquToJ2000; // For Earth, this is alm ost the inverse precession matrix, =Rz(VSOPbias)Rx(eps0)Rz(-psiA)Rx(-omA)Rz (chiA) Mat4d matEquinoxEquToJ2000; // For Earth, this is alm ost the inverse precession matrix, =Rz(VSOPbias)Rx(eps0)Rz(-psiA)Rx(-omA)Rz (chiA)
Mat4d matJ2000ToEquinoxEqu; // precession matrix Mat4d matJ2000ToEquinoxEqu; // precession matrix
static Mat4d matJ2000ToJ1875; // Precession matrix for IAU constellation lookup.
Mat4d matJ2000ToAltAz; Mat4d matJ2000ToAltAz;
Mat4d matAltAzToJ2000;
Mat4d matAltAzModelView; // Modelview matrix for observer- centric altazimuthal drawing Mat4d matAltAzModelView; // Modelview matrix for observer- centric altazimuthal drawing
Mat4d invertMatAltAzModelView; // Inverted modelview matrix for observer-centric altazimuthal drawing Mat4d invertMatAltAzModelView; // Inverted modelview matrix for observer-centric altazimuthal drawing
// Position variables // Position variables
StelObserver* position; StelObserver* position;
// The ID of the default startup location // The ID of the default startup location
QString defaultLocationID; QString defaultLocationID;
// flag to indicate we want to use nutation (the small-scale wobble of earth's axis) // flag to indicate we want to use nutation (the small-scale wobble of earth's axis)
skipping to change at line 770 skipping to change at line 789
QPair<double,double> JD; // From 0.14 on: JD.first=JD_UT, JD.seco nd=DeltaT=TT-UT. To gain JD_TT, compute JDE=JD.first+JD.second or better ju st call getJDE() QPair<double,double> JD; // From 0.14 on: JD.first=JD_UT, JD.seco nd=DeltaT=TT-UT. To gain JD_TT, compute JDE=JD.first+JD.second or better ju st call getJDE()
// Use is best with calls getJD()/setJD( ) and getJDE()/setJDE() to explicitly state which flavour of JD you need. // Use is best with calls getJD()/setJD( ) and getJDE()/setJDE() to explicitly state which flavour of JD you need.
double presetSkyTime; double presetSkyTime;
QTime initTodayTime; QTime initTodayTime;
QString startupTimeMode; QString startupTimeMode;
double milliSecondsOfLastJDUpdate; // Time in seconds when the ti me rate or time last changed double milliSecondsOfLastJDUpdate; // Time in seconds when the ti me rate or time last changed
double jdOfLastJDUpdate; // JD when the time rate or time la st changed double jdOfLastJDUpdate; // JD when the time rate or time la st changed
QString currentTimeZone; QString currentTimeZone;
bool flagUseDST; bool flagUseDST;
bool flagUseCTZ; // custom time zone
// Variables for custom equation of Delta-T // Variables for equations of DeltaT
Vec3f deltaTCustomEquationCoeff; Vec3f deltaTCustomEquationCoeff;
float deltaTCustomNDot; float deltaTCustomNDot;
float deltaTCustomYear; float deltaTCustomYear;
float deltaTnDot; // The currently applied nDot correction. (differe
nt per algorithm, and displayed in status line.)
bool deltaTdontUseMoon; // true if the currenctly selected algorith
m does not do a lunar correction (?????)
double (*deltaTfunc)(const double JD); // This is a function pointer
which must be set to a function which computes DeltaT(JD).
int deltaTstart; // begin year of validity range for the selected
DeltaT algorithm. (SET INT_MIN to mark infinite)
int deltaTfinish; // end year of validity range for the selected
DeltaT algorithm. (Set INT_MAX to mark infinite)
// Variables for DE430/431 ephem calculation // Variables for DE430/431 ephem calculation
bool de430Available; // ephem file found bool de430Available; // ephem file found
bool de431Available; // ephem file found bool de431Available; // ephem file found
bool de430Active; // available and user-activated. bool de430Active; // available and user-activated.
bool de431Active; // available and user-activated. bool de431Active; // available and user-activated.
}; };
#endif // _STELCORE_HPP_ #endif // _STELCORE_HPP_
 End of changes. 22 change blocks. 
22 lines changed or deleted 68 lines changed or added

This html diff was produced by rfcdiff 1.41. The latest version is available from http://tools.ietf.org/tools/rfcdiff/