00001
00002
00003
00004
00005
00006
00007
00008
00009
00010
00011
00012
00013
00014
00015
00016
00017
00018
00019
00020
00021
00022
00023
00024
00025 #ifndef ATMODATA_FILE_TIMEDIAGNOSIS_HXX
00026
00027
00028 namespace AtmoData
00029 {
00030 template<class T>
00031 void ComputeDeclination(Date date, T ut, T& declination, T& time_equation);
00032
00033 template<class T>
00034 void ComputeDeclination(int idate, T ut, T& declination, T& time_equation);
00035
00036 template<class T>
00037 void ComputeSunHour(T lon, T lat, int idate,
00038 T& sunrise_hour, T& sunset_hour);
00039
00040 template<class T>
00041 T ComputeSunriseHour(T lon, T lat, int idate);
00042
00043 template<class T>
00044 T ComputeSunsetHour(T lon, T lat, int idate);
00045
00046 template<class T>
00047 bool IsDay(T lon, T lat, int idate, T ut);
00048
00049 template<class T>
00050 bool IsDay(T lon, T lat, Date date);
00051
00052
00053 }
00054
00055
00056 #define ATMODATA_FILE_TIMEDIAGNOSIS_HXX
00057 #endif