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

Aerosol.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://www.enpc.fr/cerea/atmodata/
00023 
00024 
00025 #ifndef ATMODATA_FILE_AEROSOL_HXX
00026 
00027 #ifdef POLYPHEMUS_SINGLE_UNDERSCORE
00028 #undef POLYPHEMUS_DOUBLE_UNDERSCORE
00029 #elif defined(__GNUG__) && __GNUG__ < 4 && !defined(__INTEL_COMPILER)
00030 #undef POLYPHEMUS_DOUBLE_UNDERSCORE
00031 #define POLYPHEMUS_DOUBLE_UNDERSCORE
00032 #endif
00033 
00034 #ifdef POLYPHEMUS_DOUBLE_UNDERSCORE
00035 
00036 #define _compute_gas_diffusivity compute_gas_diffusivity__
00037 #define _gerber_wet_diameter gerber_wet_diameter__
00038 #define _compute_collision_integral compute_collision_integral__
00039 #define _compute_condensation_transfer_rate \
00040 compute_condensation_transfer_rate__
00041 #define _compute_quadratic_mean_velocity compute_quadratic_mean_velocity__
00042 #define _compute_saturation_concentration compute_saturation_concentration__
00043 #define _compute_kelvin_coefficient compute_kelvin_coefficient__
00044 
00045 #else
00046 
00047 #define _compute_gas_diffusivity compute_gas_diffusivity_
00048 #define _gerber_wet_diameter gerber_wet_diameter_
00049 #define _compute_collision_integral compute_collision_integral_
00050 #define _compute_condensation_transfer_rate \
00051 compute_condensation_transfer_rate_
00052 #define _compute_quadratic_mean_velocity compute_quadratic_mean_velocity_
00053 #define _compute_saturation_concentration compute_saturation_concentration_
00054 #define _compute_kelvin_coefficient compute_kelvin_coefficient_
00055 
00056 #endif
00057 
00058 extern "C"
00059 {
00060   void _compute_gas_diffusivity(const double*, const double*, const double*,
00061                                 const double*, const double*, double*);
00062   void _gerber_wet_diameter(const double*, const double*, const double*,
00063                             const double*);
00064   void _compute_collision_integral(const double*, const double*);
00065   void _compute_condensation_transfer_rate(const double*, const double*,
00066                                            const double*, const double*,
00067                                            double*);
00068   void _compute_quadratic_mean_velocity(const double*, const double*,
00069                                         double*);
00070   void _compute_saturation_concentration(const double*, const double*,
00071                                          const double*, const double*,
00072                                          double*);
00073   void _compute_kelvin_coefficient(const double*, const double*,
00074                                    const double*, const double*,
00075                                    const double*, double*);
00076 }
00077 
00078 #define ATMODATA_FILE_AEROSOL_HXX
00079 #endif

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