Main Page | User's Guide | Namespace List | Class List | File List | Namespace Members | Class Members

TimeDiagnosis.hxx

00001 // Copyright (C) 2006 CEREA
00002 //     Author: Irčne Korsakissok
00003 //
00004 // CEREA (http://www.enpc.fr/cerea) is a joint laboratory of
00005 // ENPC (http://www.enpc.fr) and EDF R&D (http://www.edf.fr).
00006 //
00007 // This file is part of AtmoData library.
00008 // AtmoData library is a tool for data processing in atmospheric
00009 // sciences.
00010 //
00011 // AtmoData is free software; you can redistribute it and/or modify
00012 // it under the terms of the GNU General Public License as published by
00013 // the Free Software Foundation; either version 2 of the License, or
00014 // (at your option) any later version.
00015 //
00016 // AtmoData is distributed in the hope that it will be useful,
00017 // but WITHOUT ANY WARRANTY; without even the implied warranty of
00018 // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
00019 // GNU General Public License (file "license") for more details.
00020 //
00021 // For more information, please see the AtmoData home page:
00022 //     http://www.enpc.fr/cerea/atmodata/
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 }  // namespace AtmoData.
00054 
00055 
00056 #define ATMODATA_FILE_TIMEDIAGNOSIS_HXX
00057 #endif

Generated on Wed Apr 25 11:28:00 2007 for AtmoData by  doxygen 1.4.2