Changeset 1539 for trunk/LMDZ.GENERIC/libf/phystd/dyn1d
- Timestamp:
- Apr 12, 2016, 4:12:59 PM (9 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/LMDZ.GENERIC/libf/phystd/dyn1d/rcm1d.F
r1536 r1539 71 71 c 72 72 INTEGER day0 ! date initial (sol ; =0 a Ls=0) 73 REAL day ! date durant le run73 REAL day ! date durant le run 74 74 REAL time ! time (0<time<1 ; time=0.5 a midi) 75 REAL play(llm) ! Pressure at the middle of the layers (Pa)76 REAL plev(llm+1) ! intermediate pressure levels (pa)75 REAL play(llm) ! Pressure at the middle of the layers (Pa) 76 REAL plev(llm+1) ! intermediate pressure levels (pa) 77 77 REAL psurf,tsurf(1) 78 REAL u(llm),v(llm) ! zonal, meridional wind79 REAL gru,grv ! prescribed "geostrophic" background wind80 REAL temp(llm) ! temperature at the middle of the layers81 REAL,ALLOCATABLE :: q(:,:) ! tracer mixing ratio (e.g. kg/kg)82 REAL,ALLOCATABLE :: qsurf(:) 83 REAL tsoil(nsoilmx) ! subsurface soiktemperature (K)84 ! REAL co2ice ! co2ice layer (kg.m-2) !not used anymore85 integer :: i_co2_ice=0 ! tracer index of co2 ice86 integer :: i_h2o_ice=0 ! tracer index of h2o ice87 integer :: i_h2o_vap=0 ! tracer index of h2o vapor88 REAL emis(1) ! surface layer89 REAL q2(llm+1) ! Turbulent Kinetic Energy90 REAL zlay(llm) ! altitude estimee dans les couches (km)78 REAL u(llm),v(llm) ! zonal, meridional wind 79 REAL gru,grv ! prescribed "geostrophic" background wind 80 REAL temp(llm) ! temperature at the middle of the layers 81 REAL,ALLOCATABLE :: q(:,:) ! tracer mixing ratio (e.g. kg/kg) 82 REAL,ALLOCATABLE :: qsurf(:) ! tracer surface budget (e.g. kg.m-2) 83 REAL,ALLOCATABLE :: tsoil(:) ! subsurface soil temperature (K) 84 ! REAL co2ice ! co2ice layer (kg.m-2) !not used anymore 85 integer :: i_co2_ice=0 ! tracer index of co2 ice 86 integer :: i_h2o_ice=0 ! tracer index of h2o ice 87 integer :: i_h2o_vap=0 ! tracer index of h2o vapor 88 REAL emis(1) ! surface layer 89 REAL q2(llm+1) ! Turbulent Kinetic Energy 90 REAL zlay(llm) ! altitude estimee dans les couches (km) 91 91 92 92 c Physical and dynamical tandencies (e.g. m.s-2, K/s, Pa/s) … … 159 159 IF (.not.ALLOCATED(sinlon)) ALLOCATE(sinlon(1)) 160 160 IF (.not.ALLOCATED(coslon)) ALLOCATE(coslon(1)) 161 !! those are defined in comsoil_h.F90162 IF (.not.ALLOCATED(layer)) ALLOCATE(layer(nsoilmx))163 IF (.not.ALLOCATED(mlayer)) ALLOCATE(mlayer(0:nsoilmx-1))164 IF (.not.ALLOCATED(inertiedat)) ALLOCATE(inertiedat(1,nsoilmx))165 161 !! those are defined in comgeomfi_h 166 162 IF (.not. ALLOCATED(lati)) ALLOCATE(lati(1)) … … 474 470 nlayer=llm 475 471 nlevel=nlayer+1 476 nsoil=nsoilmx477 472 478 473 day_step=48 ! default value for day_step … … 517 512 CALL inifis(1,llm,nq,day0,daysec,nday,dtphys, 518 513 . latitude,longitude,area,rad,g,r,cpp) 514 515 nsoil=nsoilmx 516 allocate(tsoil(nsoilmx)) 517 !! those are defined in comsoil_h.F90 518 IF (.not.ALLOCATED(layer)) ALLOCATE(layer(nsoilmx)) 519 IF (.not.ALLOCATED(mlayer)) ALLOCATE(mlayer(0:nsoilmx-1)) 520 IF (.not.ALLOCATED(inertiedat)) ALLOCATE(inertiedat(1,nsoilmx)) 519 521 520 522 ! At this point, both getin() and getin_p() functions have been used,
Note: See TracChangeset
for help on using the changeset viewer.