Changeset 919 for trunk/LMDZ.GENERIC
- Timestamp:
- Mar 28, 2013, 5:29:00 PM (12 years ago)
- Location:
- trunk/LMDZ.GENERIC/libf/phystd
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/LMDZ.GENERIC/libf/phystd/bilinearbig.F90
r918 r919 30 30 if ((x.lt.x_arr(2)).or.(x.gt.x_arr(nX-2))) then 31 31 ind=-1 32 return33 32 else 34 33 i=1 -
trunk/LMDZ.GENERIC/libf/phystd/optcv.F90
r918 r919 289 289 290 290 DO NW=1,L_NSPECTV 291 DO L=1,L_NLAYRAD 291 DO L=1,L_NLAYRAD-1 292 292 K = 2*L+1 293 293 atemp(L,NW) = SUM(GVAER(K,NW,1:naerkind) * TAUAEROLK(K,NW,1:naerkind))+SUM(GVAER(K+1,NW,1:naerkind) * TAUAEROLK(K+1,NW,1:naerkind)) … … 297 297 COSBV(L,NW,1:L_NGAUSS) = atemp(L,NW)/btemp(L,NW) 298 298 END DO ! L vertical loop 299 300 !last level 301 L = L_NLAYRAD 302 K = 2*L+1 303 atemp(L,NW) = SUM(GVAER(K,NW,1:naerkind) * TAUAEROLK(K,NW,1:naerkind)) 304 btemp(L,NW) = SUM(TAUAEROLK(K,NW,1:naerkind)) 305 ctemp(L,NW) = btemp(L,NW) + 0.9999*TRAY(K,NW) 306 btemp(L,NW) = btemp(L,NW) + TRAY(K,NW) 307 COSBV(L,NW,1:L_NGAUSS) = atemp(L,NW)/btemp(L,NW) 308 309 299 310 END DO ! NW spectral loop 300 311 … … 313 324 L = L_NLAYRAD 314 325 K = 2*L+1 315 DTAUV(L,nw,ng) = DTAUKV(K,NW,NG) 316 WBARV(L,nw,ng) = ctemp(L,NW) / DTAUV(L,nw,ng) 326 DTAUV(L,nw,ng) = DTAUKV(K,NW,NG) 327 328 WBARV(L,NW,NG) = ctemp(L,NW) / DTAUV(L,NW,NG) 317 329 END DO ! NW spectral loop 318 330 END DO ! NG Gauss loop
Note: See TracChangeset
for help on using the changeset viewer.