Changeset 747 for trunk/LMDZ.GENERIC/libf
- Timestamp:
- Jul 27, 2012, 1:32:45 AM (12 years ago)
- Location:
- trunk/LMDZ.GENERIC/libf/phystd
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/LMDZ.GENERIC/libf/phystd/aerosol_mod.F90
r741 r747 1 1 !================================================================== 2 2 module aerosol_mod 3 implicit none 4 save 3 5 !================================================================== 4 6 5 ! aerosol indexes: these are initialized in iniaerosol.F and shouldbe 0 if the7 ! aerosol indexes: these are initialized to be 0 if the 6 8 ! corresponding aerosol was not activated in callphys.def 7 integer, save :: iaero_co2 8 integer, save :: iaero_h2o 9 integer, save :: iaero_dust 10 integer, save :: iaero_h2so4 11 logical, save :: noaero 9 ! -- otherwise a value is given in iniaerosol 10 integer :: iaero_co2 = 0 11 integer :: iaero_h2o = 0 12 integer :: iaero_dust = 0 13 integer :: iaero_h2so4 = 0 14 logical :: noaero = .false. 12 15 13 16 !================================================================== -
trunk/LMDZ.GENERIC/libf/phystd/iniaerosol.F
r741 r747 21 21 integer ia 22 22 23 ! Initialize aerosol indexes to zero:24 ! NB: iaero_* indexes are in module aerosol_mod25 26 iaero_co2 =027 iaero_h2o =028 iaero_dust =029 iaero_h2so4 =030 noaero = .false.31 32 23 ia=0 33 24 if (aeroco2) then 34 25 ia=ia+1 35 26 iaero_co2=ia 36 write(*,*) 'CO2 aerosol = ', iaero_co237 27 endif 28 write(*,*) '--- CO2 aerosol = ', iaero_co2 38 29 39 30 if (aeroh2o) then 40 31 ia=ia+1 41 32 iaero_h2o=ia 42 write(*,*) 'H2O aerosol = ', iaero_h2o43 33 endif 34 write(*,*) '--- H2O aerosol = ', iaero_h2o 44 35 45 36 if (dusttau.gt.0) then 46 37 ia=ia+1 47 38 iaero_dust=ia 48 write(*,*) 'Dust aerosol = ', iaero_dust49 39 endif 40 write(*,*) '--- Dust aerosol = ', iaero_dust 50 41 51 42 if (aeroh2so4) then 52 43 ia=ia+1 53 44 iaero_h2so4=ia 54 write(*,*) 'H2SO4 aerosol = ', iaero_h2so455 45 endif 46 write(*,*) '--- H2SO4 aerosol = ', iaero_h2so4 56 47 57 write(*,*) ' Number of aerosols= ', ia48 write(*,*) '=== Number of aerosols= ', ia 58 49 59 50 ! For the zero aerosol case, we currently make a dummy co2 aerosol which is zero everywhere.
Note: See TracChangeset
for help on using the changeset viewer.