Changeset 1048 for trunk/LMDZ.TITAN/libf/phytitan/interface_surf.F90
- Timestamp:
- Sep 23, 2013, 7:02:50 PM (11 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/LMDZ.TITAN/libf/phytitan/interface_surf.F90
r495 r1048 45 45 & tsol_rad, tsurf_new, alb_new) 46 46 47 use write_field_phy 48 use cpdet_mod, only: cpdet 49 50 IMPLICIT none 47 51 48 52 ! Cette routine sert d'aiguillage entre l'atmosphere et la surface en general … … 141 145 142 146 if (check) write(*,*) 'Entree ', modname 143 147 144 148 ! Initialisations diverses 145 149 ! … … 149 153 150 154 ! ADAPTATION GCM POUR CP(T) 151 zcp(1:klon) = cpdet(tsurf(1:klon)) 155 do ii=1,klon 156 zcp(ii)=cpdet(tsurf(ii)) 157 enddo 152 158 153 159 IF (soil_model) THEN 154 160 CALL soil(dtime, knon, tsurf, tsoil,soilcap, soilflux) 155 161 cal(1:knon) = zcp(1:knon) / soilcap(1:knon) 162 ! for tests: 163 ! call writefield_phy('interfsurf_hq_zcp',zcp,1) 164 ! call writefield_phy('interfsurf_hq_cal',cal,1) 165 ! call writefield_phy('interfsurf_hq_soilcap',soilcap,1) 156 166 ! print*,"DIAGNOSTIC SOIL" 157 167 ! print*,"soilcap=",soilcap … … 186 196 & tsurf_new, fluxsens, dflux_s) 187 197 198 use write_field_phy 199 use cpdet_mod, only: t2tpot, tpot2t 200 201 IMPLICIT none 202 188 203 ! Cette routine calcule les fluxs en h a l'interface et eventuellement 189 204 ! une temperature de surface (au cas ou ok_veget = false) … … 317 332 ENDDO 318 333 334 ! for tests: write output fields... 335 ! call writefield_phy('calcul_fluxs_d_ts',d_ts,1) 336 ! call writefield_phy('calcul_fluxs_fluxsens',fluxsens,1) 337 ! call writefield_phy('calcul_fluxs_dflux_s',dflux_s,1) 338 319 339 END SUBROUTINE calcul_fluxs 320 340 !
Note: See TracChangeset
for help on using the changeset viewer.