Changeset 1983 for trunk/LMDZ.MARS/libf/phymars/lwmain_mod.F
- Timestamp:
- Aug 1, 2018, 3:35:24 PM (6 years ago)
- File:
-
- 1 moved
Legend:
- Unmodified
- Added
- Removed
-
trunk/LMDZ.MARS/libf/phymars/lwmain_mod.F
r1982 r1983 1 MODULE lwmain_mod 2 3 IMPLICIT NONE 4 5 CONTAINS 6 1 7 subroutine lwmain (ig0,icount,kdlon,kflev 2 8 . ,dp,dt0,emis … … 16 22 use yomlw_h, only: nlaylte, xi 17 23 implicit none 18 19 #include "callkeys.h" 20 #include "comg1d.h" 24 25 c declarations 26 c ------------- 27 include "callkeys.h" 28 include "comg1d.h" 21 29 22 30 c---------------------------------------------------------------------- 23 31 c 0.1 arguments 24 32 c --------- 25 c inputs:26 c 27 integer ig028 integer icount29 integer kdlon ! part of ngrid30 integer kflev ! part of nlayer31 32 real dp (ndlo2,kflev) ! layer pressure thickness (Pa)33 real dt0 (ndlo2) ! surface temperature discontinuity (K)34 real emis (ndlo2) ! surface emissivity35 real plev (ndlo2,kflev+1) ! level pressure (Pa)36 real tlev (ndlo2,kflev+1) ! level temperature (K)37 real tlay (ndlo2,kflev) ! layer temperature (K)38 real aerosol(ndlo2,kflev,naerkind) ! aerosol extinction optical33 c inputs/outputs: 34 c ------- 35 integer, intent(in) :: ig0 36 integer, intent(in) :: icount 37 integer, intent(in) :: kdlon ! part of ngrid 38 integer, intent(in) :: kflev ! part of nlayer 39 40 real, intent(in) :: dp (ndlo2,kflev) ! layer pressure thickness (Pa) 41 real, intent(in) :: dt0 (ndlo2) ! surface temperature discontinuity (K) 42 real, intent(in) :: emis (ndlo2) ! surface emissivity 43 real, intent(in) :: plev (ndlo2,kflev+1) ! level pressure (Pa) 44 real, intent(in) :: tlev (ndlo2,kflev+1) ! level temperature (K) 45 real, intent(in) :: tlay (ndlo2,kflev) ! layer temperature (K) 46 real, intent(in) :: aerosol(ndlo2,kflev,naerkind) ! aerosol extinction optical 39 47 c depth at reference wavelength "longrefvis" set 40 48 c in dimradmars_mod , in each layer, for one of … … 44 52 c outputs: 45 53 c -------- 46 real coolrate(ndlo2,kflev) ! cooling rate (K/s)47 real fluxground(ndlo2) ! downward ground flux (W/m2)48 real fluxtop(ndlo2) ! outgoing upward flux (W/m2) ("OLR")49 real netrad (ndlo2,kflev) ! radiative budget (W/m2)54 real, intent(out) :: coolrate(ndlo2,kflev) ! cooling rate (K/s) 55 real, intent(out) :: fluxground(ndlo2) ! downward ground flux (W/m2) 56 real, intent(out) :: fluxtop(ndlo2) ! outgoing upward flux (W/m2) ("OLR") 57 real, intent(out) :: netrad (ndlo2,kflev) ! radiative budget (W/m2) 50 58 c Aerosol optical properties 51 REAL:: QIRsQREF3d(ndlo2,kflev,nir,naerkind)52 REAL:: omegaIR3d(ndlo2,kflev,nir,naerkind)53 REAL:: gIR3d(ndlo2,kflev,nir,naerkind)54 59 real, intent(in) :: QIRsQREF3d(ndlo2,kflev,nir,naerkind) 60 real, intent(in) :: omegaIR3d(ndlo2,kflev,nir,naerkind) 61 real, intent(in) :: gIR3d(ndlo2,kflev,nir,naerkind) 62 real, intent(in) :: co2ice(ndlo2) ! co2 ice surface layer (kg.m-2) 55 63 c---------------------------------------------------------------------- 56 64 c 0.2 local arrays … … 75 83 real newcoolrate(ndlon,nflev) ! cooling rate (K/s) / with implicite scheme 76 84 77 REAL co2ice(ndlo2) ! co2 ice surface layer (kg.m-2) 78 REAL emis_gaz(ndlo2) ! emissivity for gaz computations 85 real emis_gaz(ndlo2) ! emissivity for gaz computations 79 86 80 87 integer jk,jkk,ja,jl … … 193 200 c---------------------------------------------------------------------- 194 201 195 return 196 end 202 END SUBROUTINE lwmain 203 204 END MODULE lwmain_mod 205
Note: See TracChangeset
for help on using the changeset viewer.