Changeset 269 for LMDZ.3.3/trunk/libf/dyn3d/conf_dat2d.F
- Timestamp:
- Sep 5, 2001, 3:28:02 PM (23 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
LMDZ.3.3/trunk/libf/dyn3d/conf_dat2d.F
r259 r269 45 45 ALLOCATE( xtemp(lons) ) 46 46 ALLOCATE( ytemp(lats) ) 47 ALLOCATE( champf(lons,lats) ) 47 48 48 49 DO i = 1, lons … … 108 109 IF ( invlon ) THEN 109 110 110 ALLOCATE(champf(lons,lats)) 111 alloc = .TRUE. 111 DO j = 1, lats 112 DO i = 1,lons 113 champf(i,j) = champd(i,j) 114 ENDDO 115 ENDDO 112 116 113 117 DO i = 1 ,lons … … 164 168 IF ( invlat ) THEN 165 169 166 IF(.NOT.alloc) THEN167 ALLOCATE(champf(lons,lats))168 alloc = .TRUE.169 ENDIF170 171 170 DO j = 1,lats 172 171 yf(j) = ytemp(j) … … 205 204 ENDIF 206 205 c 207 IF(alloc)DEALLOCATE(champf)206 DEALLOCATE(champf) 208 207 209 208 DO i = 1, lons
Note: See TracChangeset
for help on using the changeset viewer.