- Timestamp:
- Jun 19, 2013, 2:24:47 PM (11 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
LMDZ5/trunk/libf/phylmd/iophy.F90
r1674 r1775 328 328 implicit none 329 329 include 'dimensions.h' 330 include 'iniprint.h' 330 331 331 332 integer,intent(in) :: nid … … 349 350 ALLOCATE(index2d(iim*jj_nb)) 350 351 ALLOCATE(fieldok(iim*jj_nb)) 352 IF (prt_level >= 9) write(lunout,*)'Sending ',name,' to IOIPSL' 351 353 CALL histwrite(nid,name,itau,Field2d,iim*jj_nb,index2d) 354 IF (prt_level >= 9) write(lunout,*)'Finished sending ',name,' to IOIPSL' 352 355 else 353 356 ALLOCATE(fieldok(npstn)) … … 369 372 ENDDO 370 373 endif 374 IF (prt_level >= 9) write(lunout,*)'Sending ',name,' to IOIPSL' 371 375 CALL histwrite(nid,name,itau,fieldok,npstn,index2d) 376 IF (prt_level >= 9) write(lunout,*)'Finished sending ',name,' to IOIPSL' 372 377 ! 373 378 endif … … 384 389 implicit none 385 390 include 'dimensions.h' 391 include 'iniprint.h' 386 392 387 393 integer,intent(in) :: nid … … 411 417 ALLOCATE(index3d(iim*jj_nb*nlev)) 412 418 ALLOCATE(fieldok(iim*jj_nb,nlev)) 419 IF (prt_level >= 9) write(lunout,*)'Sending ',name,' to IOIPSL' 413 420 CALL histwrite(nid,name,itau,Field3d,iim*jj_nb*nlev,index3d) 414 else 421 IF (prt_level >= 9) write(lunout,*)'Finished sending ',name,' to IOIPSL' 422 else 415 423 nlev=size(field,2) 416 424 ALLOCATE(index3d(npstn*nlev)) … … 435 443 ENDDO 436 444 endif 445 IF (prt_level >= 9) write(lunout,*)'Sending ',name,' to IOIPSL' 437 446 CALL histwrite(nid,name,itau,fieldok,npstn*nlev,index3d) 447 IF (prt_level >= 9) write(lunout,*)'Finished sending ',name,' to IOIPSL' 438 448 endif 439 449 deallocate(index3d)
Note: See TracChangeset
for help on using the changeset viewer.