Changeset 3372 for LMDZ6/trunk/libf/phylmd/cosp2
- Timestamp:
- Jul 15, 2018, 12:11:53 PM (6 years ago)
- Location:
- LMDZ6/trunk/libf/phylmd/cosp2
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
LMDZ6/trunk/libf/phylmd/cosp2/cosp.F90
r3358 r3372 1357 1357 if (use_vgrid) then 1358 1358 Nlvgrid = Nvgrid 1359 if (.not. allocated(vgrid_zl)) allocate(vgrid_zl(Nlvgrid)) 1360 if (.not. allocated(vgrid_zu)) allocate(vgrid_zu(Nlvgrid)) 1361 if (.not. allocated(vgrid_z)) allocate(vgrid_z(Nlvgrid)) 1362 1359 1363 print*,'allocation vgrid_zl zu z dans COSP_INIT' 1360 allocate(vgrid_zl(Nlvgrid),vgrid_zu(Nlvgrid),vgrid_z(Nlvgrid))1364 ! allocate(vgrid_zl(Nlvgrid),vgrid_zu(Nlvgrid),vgrid_z(Nlvgrid)) 1361 1365 ! CloudSat grid requested 1362 1366 if (luseCSATvgrid) zstep = 480._wp … … 1370 1374 else 1371 1375 Nlvgrid = Nlevels 1372 allocate(vgrid_zl(Nlvgrid),vgrid_zu(Nlvgrid),vgrid_z(Nlvgrid)) 1376 if (.not. allocated(vgrid_zl)) allocate(vgrid_zl(Nlvgrid)) 1377 if (.not. allocated(vgrid_zu)) allocate(vgrid_zu(Nlvgrid)) 1378 if (.not. allocated(vgrid_z)) allocate(vgrid_z(Nlvgrid)) 1373 1379 endif 1374 1380 … … 1393 1399 !%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% 1394 1400 subroutine cosp_cleanUp() 1395 deallocate(vgrid_zl,vgrid_zu,vgrid_z) 1401 if (allocated(vgrid_zl)) deallocate(vgrid_zl) 1402 if (allocated(vgrid_zu)) deallocate(vgrid_zu) 1403 if (allocated(vgrid_z)) deallocate(vgrid_z) 1396 1404 end subroutine cosp_cleanUp 1397 1405 -
LMDZ6/trunk/libf/phylmd/cosp2/cosp_read_otputkeys.F90
r3365 r3372 659 659 if (Lproftemp) cfg%out_list(i) = 'proftemp' !TIBO 660 660 661 if (i /=78) then661 if (i.gt.78) then 662 662 print *, 'COSP_IO: wrong number of output diagnostics' 663 663 print *, i,78
Note: See TracChangeset
for help on using the changeset viewer.