Changeset 19215
- Timestamp:
- 09/07/18 12:05:10 (6 years ago)
- Location:
- trunk/FACT++/src
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/FACT++/src/Time.cc
r18966 r19215 30 30 using namespace boost::posix_time; 31 31 32 #ifdef HAVE_ LIBNOVA32 #ifdef HAVE_NOVA 33 33 #include "externals/nova.h" 34 34 #endif … … 314 314 Time Time::GetPrevSunRise(double horizon, const string &obs) const 315 315 { 316 #ifdef HAVE_ LIBNOVA316 #ifdef HAVE_NOVA 317 317 const Nova::LnLatPosn posn(obs); 318 318 if (!posn.isValid()) … … 350 350 Time Time::GetNextSunRise(double horizon, const string &obs) const 351 351 { 352 #ifdef HAVE_ LIBNOVA352 #ifdef HAVE_NOVA 353 353 const Nova::LnLatPosn posn(obs); 354 354 if (!posn.isValid()) … … 377 377 Time Time::GetPrevSunRise(const string &obs) const 378 378 { 379 #ifdef HAVE_ LIBNOVA379 #ifdef HAVE_NOVA 380 380 return GetPrevSunRise(LN_SOLAR_STANDART_HORIZON, obs); 381 381 #else … … 390 390 Time Time::GetNextSunRise(const string &obs) const 391 391 { 392 #ifdef HAVE_ LIBNOVA392 #ifdef HAVE_NOVA 393 393 return GetNextSunRise(LN_SOLAR_STANDART_HORIZON, obs); 394 394 #else -
trunk/FACT++/src/datalogger.cc
r18815 r19215 86 86 #include "DimState.h" 87 87 88 #ifdef HAVE_ LIBNOVA88 #ifdef HAVE_NOVA 89 89 #include <libnova/solar.h> 90 90 #include <libnova/rise_set.h> … … 1278 1278 Time DataLogger::GetSunRise(const Time &time) 1279 1279 { 1280 #ifdef HAVE_ LIBNOVA1280 #ifdef HAVE_NOVA 1281 1281 const double lon = -(17.+53./60+26.525/3600); 1282 1282 const double lat = 28.+45./60+42.462/3600; -
trunk/FACT++/src/smartfact.cc
r19139 r19215 110 110 bool visible; 111 111 112 #ifdef HAVE_ LIBNOVA112 #ifdef HAVE_NOVA 113 113 Nova::RstTime Rst(double jd, double hrz=LN_SOLAR_STANDART_HORIZON) 114 114 { … … 135 135 Sun(const Time &t) : time(t) 136 136 { 137 #ifdef HAVE_ LIBNOVA137 #ifdef HAVE_NOVA 138 138 // get Julian day from local time 139 139 const double JD = time.JD(); … … 343 343 Moon(const Time &t) : time(t) 344 344 { 345 #ifdef HAVE_ LIBNOVA345 #ifdef HAVE_NOVA 346 346 const double JD = time.JD(); 347 347
Note:
See TracChangeset
for help on using the changeset viewer.