Changeset 2748 for LMDZ5/trunk
- Timestamp:
- Jan 8, 2017, 1:47:25 PM (8 years ago)
- Location:
- LMDZ5/trunk/libf/phylmd/rrtm
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
LMDZ5/trunk/libf/phylmd/rrtm/aeropt_5wv_rrtm.F90
r2739 r2748 12 12 USE DIMPHY 13 13 USE aero_mod 14 USE phys_local_var_mod, only: od550aer,od865aer,ec550aer,od550lt1aer 14 USE phys_local_var_mod, ONLY: od550aer,od865aer,ec550aer,od550lt1aer 15 USE YOMCST, ONLY: RD,RG 15 16 16 17 ! … … 51 52 ! 52 53 IMPLICIT NONE 53 INCLUDE "YOMCST.h"54 54 ! 55 55 ! Input arguments: 56 56 ! 57 REAL, DIMENSION(klon,klev), INTENT( in) :: pdel58 REAL, DIMENSION(klon,klev,naero_tot), INTENT( in) :: m_allaer59 REAL, DIMENSION(klon,klev), INTENT( in) :: RHcl ! humidite relative ciel clair60 INTEGER,INTENT( in) :: flag_aerosol61 LOGICAL,INTENT( in) :: flag_bc_internal_mixture62 REAL, DIMENSION(klon,klev), INTENT( in) :: pplay63 REAL, DIMENSION(klon,klev), INTENT( in) :: t_seri57 REAL, DIMENSION(klon,klev), INTENT(IN) :: pdel 58 REAL, DIMENSION(klon,klev,naero_tot), INTENT(IN) :: m_allaer 59 REAL, DIMENSION(klon,klev), INTENT(IN) :: RHcl ! humidite relative ciel clair 60 INTEGER,INTENT(IN) :: flag_aerosol 61 LOGICAL,INTENT(IN) :: flag_bc_internal_mixture 62 REAL, DIMENSION(klon,klev), INTENT(IN) :: pplay 63 REAL, DIMENSION(klon,klev), INTENT(IN) :: t_seri 64 64 ! 65 65 ! Output arguments: 66 66 ! 67 REAL, DIMENSION(klon), INTENT( out) :: ai ! POLDER aerosol index68 REAL, DIMENSION(klon,nwave,naero_tot), INTENT( out) :: tausum69 REAL, DIMENSION(klon,klev,nwave,naero_tot), INTENT( out) :: tau67 REAL, DIMENSION(klon), INTENT(OUT) :: ai ! POLDER aerosol index 68 REAL, DIMENSION(klon,nwave,naero_tot), INTENT(OUT) :: tausum 69 REAL, DIMENSION(klon,klev,nwave,naero_tot), INTENT(OUT) :: tau 70 70 71 71 ! -
LMDZ5/trunk/libf/phylmd/rrtm/aeropt_6bands_rrtm.F90
r2739 r2748 11 11 USE aero_mod 12 12 USE phys_local_var_mod, only: absvisaer 13 USE YOMCST, ONLY: RG 13 14 14 15 ! Yves Balkanski le 12 avril 2006 … … 20 21 ! 21 22 IMPLICIT NONE 22 23 INCLUDE "YOMCST.h" 24 INCLUDE "clesphys.h" 25 23 ! 24 INCLUDE "clephys.h" 26 25 ! 27 26 ! Input arguments: 28 27 ! 29 REAL, DIMENSION(klon,klev), INTENT( in) :: pdel30 REAL, DIMENSION(klon,klev,naero_tot), INTENT( in) :: m_allaer31 REAL, DIMENSION(klon,klev,naero_tot), INTENT( in) :: m_allaer_pi32 REAL, DIMENSION(klon,klev), INTENT( in) :: RHcl ! humidite relative ciel clair33 INTEGER, INTENT( in) :: flag_aerosol34 LOGICAL, INTENT( in) :: flag_bc_internal_mixture35 REAL, DIMENSION(klon,klev), INTENT( in) :: zrho28 REAL, DIMENSION(klon,klev), INTENT(IN) :: pdel 29 REAL, DIMENSION(klon,klev,naero_tot), INTENT(IN) :: m_allaer 30 REAL, DIMENSION(klon,klev,naero_tot), INTENT(IN) :: m_allaer_pi 31 REAL, DIMENSION(klon,klev), INTENT(IN) :: RHcl ! humidite relative ciel clair 32 INTEGER, INTENT(IN) :: flag_aerosol 33 LOGICAL, INTENT(IN) :: flag_bc_internal_mixture 34 REAL, DIMENSION(klon,klev), INTENT(IN) :: zrho 36 35 ! 37 36 ! Output arguments: … … 39 38 ! 1= natural aerosols 40 39 ! 41 REAL, DIMENSION(klon,klev,2,nbands_sw_rrtm), INTENT(out) :: tau_allaer ! epaisseur optique aerosol 42 REAL, DIMENSION(klon,klev,2,nbands_sw_rrtm), INTENT(out) :: piz_allaer ! single scattering albedo aerosol 43 REAL, DIMENSION(klon,klev,2,nbands_sw_rrtm), INTENT(out) :: cg_allaer ! asymmetry parameter aerosol 44 40 REAL, DIMENSION(klon,klev,2,nbands_sw_rrtm), INTENT(OUT) :: tau_allaer ! epaisseur optique aerosol 41 REAL, DIMENSION(klon,klev,2,nbands_sw_rrtm), INTENT(OUT) :: piz_allaer ! single scattering albedo aerosol 42 REAL, DIMENSION(klon,klev,2,nbands_sw_rrtm), INTENT(OUT) :: cg_allaer ! asymmetry parameter aerosol 45 43 ! 46 44 ! Local … … 104 102 INTEGER :: aerindex, classbc, classbc_pi 105 103 REAL :: tmp_var, tmp_var_pi, BC_massfra, BC_massfra_pi 106 104 CHARACTER*20 :: modname 107 105 ! 108 106 REAL, PARAMETER :: tau_min = 1.e-7 … … 474 472 !----BEGINNING OF CALCULATIONS 475 473 474 modname='aeropt_6bands_rrtm' 475 476 476 spsol = 0 477 477 spinsol = 0 478 478 479 479 IF (NSW.NE.nbands_sw_rrtm) THEN 480 print *,'Erreur NSW doit etre egal a 6 pour cette routine' 481 stop 480 CALL abord_physic(modname,'Erreur NSW doit etre egal a 6 pour cette routine',1) 482 481 ENDIF 483 482 -
LMDZ5/trunk/libf/phylmd/rrtm/aeropt_lw_rrtm.F90
r2739 r2748 12 12 USE dimphy 13 13 USE aero_mod 14 USE phys_state_var_mod, ONLY 15 USE YOERAD, ONLY 16 USE YOMCST 14 USE phys_state_var_mod, ONLY: tau_aero_lw_rrtm 15 USE YOERAD, ONLY: NLW 16 USE YOMCST, ONLY: RG 17 17 18 18 IMPLICIT NONE … … 24 24 LOGICAL, INTENT(IN) :: ok_alw 25 25 INTEGER, INTENT(IN) :: flag_aerosol 26 REAL, DIMENSION(klon,klev), INTENT( in) :: pdel, zrho27 REAL, DIMENSION(klon,klev,naero_tot), INTENT( in) :: m_allaer, m_allaer_pi26 REAL, DIMENSION(klon,klev), INTENT(IN) :: pdel, zrho 27 REAL, DIMENSION(klon,klev,naero_tot), INTENT(IN) :: m_allaer, m_allaer_pi 28 28 ! 29 29 INTEGER inu, i, k 30 30 REAL :: zdh(klon,klev) 31 31 REAL :: tmp_var, tmp_var_pi 32 CHARACTER*20 modname 32 33 ! 33 34 !--absorption coefficient for CIDUST … … 37 38 0.017, 0.053, 0.031, 0.008, 0.010, 0.011, 0.013, 0.015 / 38 39 ! 40 modname='aeropt_lw_rrtm' 41 ! 39 42 IF (NLW.NE.nbands_lw_rrtm) THEN 40 PRINT *,'Erreur NLW doit etre egal a 16 pour cette routine' 41 STOP 43 CALL abort_physic(modname,'Erreur NLW doit etre egal a 16 pour cette routine',1) 42 44 ENDIF 43 45 !
Note: See TracChangeset
for help on using the changeset viewer.