Changeset 1356 for trunk/LMDZ.TITAN/libf/phytitan/heating.F
- Timestamp:
- Oct 8, 2014, 9:26:28 AM (10 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/LMDZ.TITAN/libf/phytitan/heating.F
r495 r1356 1 SUBROUTINE heating(dist,rmu0,fract,falbe,sol_htg,swnet,icld) 1 SUBROUTINE heating(dist,rmu0,fract,falbe,sol_htg,zswup,zswdn, 2 . icld) 2 3 3 4 … … 23 24 c ------- 24 25 c sol_htg-----output-R- echauffement atmospherique (visible) (K/s) 25 c swnet-------output-R- flux solaire net (+ vers le bas) (W/m2) 26 c zswup-------output-R- flux solaire upward (+ vers le haut) (W/m2) 27 c zswdn-------output-R- flux solaire downward (+ vers le bas) (W/m2) 26 28 c 27 29 c======================================================================= … … 51 53 52 54 real sol_htg(klon,klev) 53 real swnet(klon,klev+1) 55 real zswup(klon,klev+1) 56 real zswdn(klon,klev+1) 54 57 55 58 c Local: … … 87 90 fnetv = 0.0 88 91 sol_htg= 0.0 89 swnet = 0.0 92 zswup = 0.0 93 zswdn = 0.0 90 94 c pour sorties dans gfluxv... 91 95 iprint = 0 … … 101 105 CALL sfluxv(iprint,ig,dist,falbe,icld) ! #3 102 106 103 fnetv(ig,:) = fnetv(ig,:) *fract(ig) ! >0 vers le haut 104 c >0 vers le bas + conversion en W/m2: 105 swnet(ig,:) = -1.e-3*fnetv(ig,:) 107 do K=1,NSPECV 108 zswup(ig,:) = zswup(ig,:)+FUPV(ig,:,K)*fract(ig) ! >0 up 109 zswdn(ig,:) = zswdn(ig,:)+FDV(ig,:,K) *fract(ig) ! >0 down 110 enddo 111 fnetv(ig,:) = fnetv(ig,:) *fract(ig) ! >0 up 112 113 c conversion en W/m2: 114 zswup(ig,:) = 1.e-3*zswup(ig,:) 115 zswdn(ig,:) = 1.e-3*zswdn(ig,:) 106 116 107 117 DO j=1,nlayer
Note: See TracChangeset
for help on using the changeset viewer.