Ignore:
Timestamp:
Jul 28, 2024, 10:25:12 PM (3 months ago)
Author:
abarral
Message:

Put gradsdef.h, tracstoke.h, clesphys.h into modules

File:
1 edited

Legend:

Unmodified
Added
Removed
  • LMDZ6/branches/Amaury_dev/libf/phylmd/radiation_AR4.F90

    r5112 r5137  
    77  USE dimphy
    88  USE lmdz_print_control, ONLY: lunout
     9  USE lmdz_clesphys
     10
    911  IMPLICIT NONE
    1012
     
    4850  ! IM ctes ds clesphys.h   REAL(KIND=8) RCO2  ! concentration CO2 (IPCC:
    4951  ! 353.E-06*44.011/28.97)
    50   include "clesphys.h"
    5152
    5253  REAL (KIND=8) ppsol(kdlon) ! SURFACE PRESSURE (PA)
     
    313314  USE radiation_ar4_param, ONLY: zpdh2o, zpdumg, zprh2o, zprumg, rtdh2o, &
    314315    rtdumg, rth2o, rtumg
     316  USE lmdz_clesphys, ONLY: RCO2
     317
    315318  IMPLICIT NONE
    316319  include "radepsi.h"
     
    321324
    322325  REAL (KIND=8) psct
    323   ! IM ctes ds clesphys.h   REAL(KIND=8) RCO2
    324   include "clesphys.h"
     326
    325327  REAL (KIND=8) pcldsw(kdlon, kflev)
    326328  REAL (KIND=8) ppmb(kdlon, kflev+1)
     
    21262128  USE dimphy
    21272129  USE lmdz_print_control, ONLY: lunout
     2130    ! IM ctes ds clesphys.h
     2131  ! REAL(KIND=8) RCO2   ! CO2 CONCENTRATION (IPCC:353.E-06* 44.011/28.97)
     2132  ! REAL(KIND=8) RCH4   ! CH4 CONCENTRATION (IPCC: 1.72E-06* 16.043/28.97)
     2133  ! REAL(KIND=8) RN2O   ! N2O CONCENTRATION (IPCC: 310.E-09* 44.013/28.97)
     2134  ! REAL(KIND=8) RCFC11 ! CFC11 CONCENTRATION (IPCC: 280.E-12* 137.3686/28.97)
     2135  ! REAL(KIND=8) RCFC12 ! CFC12 CONCENTRATION (IPCC: 484.E-12* 120.9140/28.97)
     2136  USE lmdz_clesphys, ONLY: rco2, rch4, rn2o, rcfc11, rcfc12
     2137
    21282138  IMPLICIT NONE
    21292139  include "raddimlw.h"
     
    21592169  ! ORIGINAL : 89-07-14
    21602170  ! -----------------------------------------------------------------------
    2161   ! IM ctes ds clesphys.h
    2162   ! REAL(KIND=8) RCO2   ! CO2 CONCENTRATION (IPCC:353.E-06* 44.011/28.97)
    2163   ! REAL(KIND=8) RCH4   ! CH4 CONCENTRATION (IPCC: 1.72E-06* 16.043/28.97)
    2164   ! REAL(KIND=8) RN2O   ! N2O CONCENTRATION (IPCC: 310.E-09* 44.013/28.97)
    2165   ! REAL(KIND=8) RCFC11 ! CFC11 CONCENTRATION (IPCC: 280.E-12*
    2166   ! 137.3686/28.97)
    2167   ! REAL(KIND=8) RCFC12 ! CFC12 CONCENTRATION (IPCC: 484.E-12*
    2168   ! 120.9140/28.97)
    2169   include "clesphys.h"
     2171
    21702172  REAL (KIND=8) pcldld(kdlon, kflev) ! DOWNWARD EFFECTIVE CLOUD COVER
    21712173  REAL (KIND=8) pcldlu(kdlon, kflev) ! UPWARD EFFECTIVE CLOUD COVER
     
    23172319  USE chem_rep, ONLY: rch42d, rn2o2d, rcfc112d, rcfc122d, ok_rtime2d
    23182320#endif
     2321    ! IM ctes ds clesphys.h
     2322  ! REAL(KIND=8) RCO2
     2323  ! REAL(KIND=8) RCH4, RN2O, RCFC11, RCFC12
     2324  USE lmdz_clesphys, ONLY: rco2, rch4, rn2o, rcfc11, rcfc12
    23192325
    23202326  IMPLICIT NONE
     
    23522358  ! -----------------------------------------------------------------------
    23532359  ! * ARGUMENTS:
    2354   ! IM ctes ds clesphys.h
    2355   ! REAL(KIND=8) RCO2
    2356   ! REAL(KIND=8) RCH4, RN2O, RCFC11, RCFC12
    2357   include "clesphys.h"
    23582360  REAL (KIND=8) paer(kdlon, kflev, 5)
    23592361  REAL (KIND=8) pdp(kdlon, kflev)
Note: See TracChangeset for help on using the changeset viewer.