Changeset 1071 for trunk/LMDZ.COMMON/libf/dyn3d
- Timestamp:
- Oct 14, 2013, 7:15:25 PM (11 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/LMDZ.COMMON/libf/dyn3d/calfis.F
r1056 r1071 195 195 ! to allow for 2D computation of microphys and chemistry 196 196 LOGICAL,save :: flag_moyzon 197 REAL, dimension(iip1,llm) :: tmpvar198 REAL, dimension(iip1,llmp1) :: tmpvarp1199 REAL, dimension(llm) :: tmpvarbar200 REAL, dimension(llmp1) :: tmpvarbarp1197 REAL,allocatable :: tmpvar(:,:) 198 REAL,allocatable :: tmpvarp1(:,:) 199 REAL,allocatable :: tmpvarbar(:) 200 REAL,allocatable :: tmpvarbarp1(:) 201 201 202 202 c----------------------------------------------------------------------- … … 222 222 if(moyzon_ch.or.moyzon_mu) then 223 223 flag_moyzon = .true. 224 allocate(tmpvar(iip1,llm)) 225 allocate(tmpvarp1(iip1,llmp1)) 226 allocate(tmpvarbar(llm)) 227 allocate(tmpvarbarp1(llmp1)) 224 228 endif 229 225 230 if (flag_moyzon) call moyzon_init 226 231 227 232 c---------------------------------------------- 228 233 c moyennes globales pour le profil de pression 234 if(planet_type.eq."titan") then 229 235 ALLOCATE(plevmoy(llm+1)) 230 236 ALLOCATE(playmoy(llm)) … … 252 258 playmoy = preff * (pkmoy/cpp) ** unskap 253 259 call tpot2t(llm,tetamoy,tmoy,pkmoy) 254 c------------------- ---------------------------260 c------------------- 255 261 c + lat index 256 allocate(klat(ngridmx)) 257 klat=0 258 klat(1) = 1 259 ig0 = 2 260 DO j = 2,jjm 261 do i=0,iim-1 262 klat(ig0+i) = j 263 enddo 264 ig0 = ig0+iim 265 ENDDO 266 klat(ngridmx) = jjp1 262 allocate(klat(ngridmx)) 263 klat=0 264 klat(1) = 1 265 ig0 = 2 266 DO j = 2,jjm 267 do i=0,iim-1 268 klat(ig0+i) = j 269 enddo 270 ig0 = ig0+iim 271 ENDDO 272 klat(ngridmx) = jjp1 273 endif ! planet_type=titan 267 274 c---------------------------------------------- 268 275 ELSE
Note: See TracChangeset
for help on using the changeset viewer.