Changeset 3483 for trunk/LMDZ.PLUTO/libf/phypluto/surfprop.F90
- Timestamp:
- Oct 24, 2024, 1:10:51 PM (4 weeks ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/LMDZ.PLUTO/libf/phypluto/surfprop.F90
r3377 r3483 1 subroutine surfprop(ngrid,nq,pfra,qsurf,tsurface, &2 tidat,capcal,adjust,dist,albedo,emis,fluold, &3 ptimestep,zls)1 subroutine surfprop(ngrid,nq,pfra,qsurf,tsurface, & 2 capcal,adjust,dist,fluold,ptimestep,zls, & 3 albedo,emis,therm_inertia) 4 4 5 5 ! use comgeomfi_h, only: … … 43 43 ! albedo(ngrid) 44 44 ! emis(ngrid) 45 ! therm_inertia(ngrid,nsoilmx) 45 46 ! 46 47 ! Both … … 56 57 ! Arguments 57 58 59 58 60 INTEGER ngrid, nq 61 REAL,INTENT(IN) :: pfra(ngrid) 59 62 REAL,INTENT(IN) :: qsurf(ngrid,nq) 63 REAL,INTENT(IN) :: tsurface(ngrid) 60 64 REAL,INTENT(IN) :: fluold(ngrid,nq) 61 65 REAL,INTENT(IN) :: ptimestep 62 66 REAL,INTENT(IN) :: zls 63 REAL,INTENT(IN) :: tsurface(ngrid)64 67 REAL,INTENT(IN) :: capcal(ngrid) 65 68 REAL,INTENT(IN) :: adjust … … 67 70 REAL,INTENT(OUT) :: albedo(ngrid,L_NSPECTV) 68 71 REAL,INTENT(OUT) :: emis(ngrid) 69 REAL,INTENT(OUT) :: tidat(ngrid,nsoilmx) 70 REAL,INTENT(IN) :: pfra(ngrid) 72 REAL,INTENT(OUT) :: therm_inertia(ngrid,nsoilmx) ! therm_inertia = inertiedat 71 73 !----------------------------------------------------------------------- 72 74 ! Local variables … … 448 450 do isoil=0,nsoilmx-1 449 451 if (mlayer(isoil).le.emin) then ! diurnal TI 450 t idat(ig,isoil+1)=tid452 therm_inertia(ig,isoil+1)=tid 451 453 else if (isoil.gt.0.and.(mlayer(isoil).gt.emin).and.(mlayer(isoil-1).lt.emin)) then ! still diurnal TI 452 t idat(ig,isoil+1)=tid454 therm_inertia(ig,isoil+1)=tid 453 455 else if ((mlayer(isoil).gt.emin).and.(mlayer(isoil).le.emax)) then ! TI N2 454 t idat(ig,isoil+1)=ITN2456 therm_inertia(ig,isoil+1)=ITN2 455 457 else if ((mlayer(isoil).gt.emin).and.(mlayer(isoil).le.emax2)) then 456 t idat(ig,isoil+1)=ITCH4458 therm_inertia(ig,isoil+1)=ITCH4 457 459 else 458 t idat(ig,isoil+1)=ITH2O460 therm_inertia(ig,isoil+1)=ITH2O 459 461 endif 460 462 … … 465 467 466 468 DO ig=1,ngrid 467 t idat(ig,:)=inertiedat(ig,:)469 therm_inertia(ig,:)=inertiedat(ig,:) 468 470 ENDDO 469 471
Note: See TracChangeset
for help on using the changeset viewer.