TimeDiagnosis.hxx

00001 // Copyright (C) 2006-2007, ENPC - INRIA - EDF R&D
00002 // Author(s): Irčne Korsakissok
00003 //
00004 // This file is part of AtmoData library, a tool for data processing in
00005 // atmospheric sciences.
00006 //
00007 // AtmoData is developed in the INRIA - ENPC joint project-team CLIME and in
00008 // the ENPC - EDF R&D joint laboratory CEREA.
00009 //
00010 // AtmoData is free software; you can redistribute it and/or modify it under
00011 // the terms of the GNU General Public License as published by the Free
00012 // Software Foundation; either version 2 of the License, or (at your option)
00013 // any later version.
00014 //
00015 // AtmoData is distributed in the hope that it will be useful, but WITHOUT ANY
00016 // WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS
00017 // FOR A PARTICULAR PURPOSE. See the GNU General Public License for more
00018 // details.
00019 //
00020 // For more information, visit the AtmoData home page:
00021 //      http://cerea.enpc.fr/polyphemus/atmodata.html
00022 
00023 
00024 #ifndef ATMODATA_FILE_TIMEDIAGNOSIS_HXX
00025 
00026 
00027 namespace AtmoData
00028 {
00029   template<class T>
00030   void ComputeDeclination(Date date, T ut, T& declination, T& time_equation);
00031 
00032   template<class T>
00033   void ComputeDeclination(int idate, T ut, T& declination, T& time_equation);
00034 
00035   template<class T>
00036   void ComputeSunHour(T lon, T lat, int idate,
00037                       T& sunrise_hour, T& sunset_hour);
00038 
00039   template<class T>
00040   T ComputeSunriseHour(T lon, T lat, int idate);
00041 
00042   template<class T>
00043   T ComputeSunsetHour(T lon, T lat, int idate);
00044 
00045   template<class T>
00046   bool IsDay(T lon, T lat, int idate, T ut);
00047 
00048   template<class T>
00049   bool IsDay(T lon, T lat, Date date);
00050 
00051 
00052 }  // namespace AtmoData.
00053 
00054 
00055 #define ATMODATA_FILE_TIMEDIAGNOSIS_HXX
00056 #endif

Generated on Tue Nov 17 11:51:45 2009 for AtmoData by  doxygen 1.5.1