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

Emissions.hxx

00001 // Copyright (C) 2003-2005 CEREA
00002 //     Author: Vivien Mallet
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://spacetown.free.fr/lib/atmodata
00023 
00024 
00025 #ifndef ATMODATA_FILE_EMISSIONS_HXX
00026 
00027 #include <list>
00028 
00029 namespace AtmoData
00030 {
00031 
00032   template <class TL, class TD, class TEFI, class TEFT,
00033             class TEFN, class TI, class TT, class TN, class TG>
00034   void ComputeBiogenicRates(Data<TL, 3, TG>& LUC, Data<TD, 3, TG>& Density,
00035                             Data<TEFI, 1, TG>& EF_isoprene,
00036                             Data<TEFT, 1, TG>& EF_terpenes,
00037                             Data<TEFN, 1, TG>& EF_NO,
00038                             Data<TL, 3, TG>& Isoprene,
00039                             Data<TL, 3, TG>& Terpenes, 
00040                             Data<TL, 3, TG>& NO);
00041 
00042   template <class TTemp, class TP, class TL, class TD, class TEFI, class TEFT,
00043             class TEFN, class TI, class TT, class TN, class TG>
00044   void ComputeBiogenicEmissions(Data<TTemp, 3, TG>& Temperature,
00045                                 Data<TP, 3, TG>& PAR,
00046                                 Data<TL, 3, TG>& LUC,
00047                                 Data<TD, 3, TG>& Density,
00048                                 Data<TEFI, 1, TG>& EF_isoprene,
00049                                 Data<TEFT, 1, TG>& EF_terpenes,
00050                                 Data<TEFN, 1, TG>& EF_NO,
00051                                 Data<TL, 3, TG>& Isoprene,
00052                                 Data<TL, 3, TG>& Terpenes, 
00053                                 Data<TL, 3, TG>& NO);
00054 
00056   template <class T>
00057   class EmepCountryEmission
00058   {
00059   public:
00061     T emission_;
00063     int country_;
00064   public:
00065     EmepCountryEmission(T emission, int country);
00066   };
00067 
00069   class TimeZone
00070   {
00071 
00072   public:
00074     vector<int> countries_;
00076     vector<int> local_times_;
00077 
00078     TimeZone(int N);
00079     void Init(string file_name);
00080     int operator () (int i) const;
00081   };
00082 
00083 
00084 }  // namespace AtmoData.
00085 
00086 #define ATMODATA_FILE_EMISSIONS_HXX
00087 #endif

Generated on Tue Nov 7 14:58:48 2006 for AtmoData by  doxygen 1.4.2