Changeset 14200 for NEMO/branches/2020/dev_r14116_HPC-04_mcastril_Mixed_Precision_implementation_final/src/OCE/DIA/diawri.F90
- Timestamp:
- 2020-12-17T15:36:44+01:00 (4 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
NEMO/branches/2020/dev_r14116_HPC-04_mcastril_Mixed_Precision_implementation_final/src/OCE/DIA/diawri.F90
r14086 r14200 215 215 ENDIF 216 216 217 #if ! defined key_qco 218 CALL iom_put( "rhop", rhop(:,:,:) ) ! 3D potential density (sigma0) 219 #endif 217 IF( .NOT.lk_SWE ) CALL iom_put( "rhop", rhop(:,:,:) ) ! 3D potential density (sigma0) 220 218 221 219 IF ( iom_use("taubot") ) THEN ! bottom stress … … 360 358 ENDIF 361 359 ! 362 IF ( iom_use("s KEf") ) THEN ! surface kinetic energy at F point360 IF ( iom_use("ssKEf") ) THEN ! surface kinetic energy at F point 363 361 z2d(:,:) = 0._wp ! CAUTION : only valid in SWE, not with bathymetry 364 362 DO_2D( 0, 0, 0, 0 ) … … 370 368 END_2D 371 369 CALL lbc_lnk( 'diawri', z2d, 'F', 1. ) 372 CALL iom_put( "s KEf", z2d )370 CALL iom_put( "ssKEf", z2d ) 373 371 ENDIF 374 372 ! … … 473 471 IF (ln_dia25h) CALL dia_25h( kt, Kmm ) ! 25h averaging 474 472 475 ! Output of vorticity terms476 IF ( iom_use(" relvor") .OR. iom_use("plavor") .OR. &477 & iom_use(" relpotvor") .OR. iom_use("abspotvor") .OR. &478 & iom_use(" Ens") ) THEN473 ! Output of surface vorticity terms 474 IF ( iom_use("ssrelvor") .OR. iom_use("ssplavor") .OR. & 475 & iom_use("ssrelpotvor") .OR. iom_use("ssabspotvor") .OR. & 476 & iom_use("ssEns") ) THEN 479 477 ! 480 478 z2d(:,:) = 0._wp … … 485 483 END_2D 486 484 CALL lbc_lnk( 'diawri', z2d, 'F', 1. ) 487 CALL iom_put( " relvor", z2d ) ! relative vorticity ( zeta )488 ! 489 CALL iom_put( " plavor", ff_f ) ! planetary vorticity ( f )485 CALL iom_put( "ssrelvor", z2d ) ! relative vorticity ( zeta ) 486 ! 487 CALL iom_put( "ssplavor", ff_f ) ! planetary vorticity ( f ) 490 488 ! 491 489 DO_2D( 1, 0, 1, 0 ) … … 498 496 END_2D 499 497 CALL lbc_lnk( 'diawri', z2d, 'F', 1. ) 500 CALL iom_put( " relpotvor", z2d ) ! relative potential vorticity (zeta/h)498 CALL iom_put( "ssrelpotvor", z2d ) ! relative potential vorticity (zeta/h) 501 499 ! 502 500 DO_2D( 1, 0, 1, 0 ) … … 509 507 END_2D 510 508 CALL lbc_lnk( 'diawri', z2d, 'F', 1. ) 511 CALL iom_put( " abspotvor", z2d ) ! absolute potential vorticity ( q )509 CALL iom_put( "ssabspotvor", z2d ) ! absolute potential vorticity ( q ) 512 510 ! 513 511 DO_2D( 1, 0, 1, 0 ) … … 515 513 END_2D 516 514 CALL lbc_lnk( 'diawri', z2d, 'F', 1. ) 517 CALL iom_put( " Ens", z2d ) ! potential enstrophy ( 1/2*q2 )515 CALL iom_put( "ssEns", z2d ) ! potential enstrophy ( 1/2*q2 ) 518 516 ! 519 517 ENDIF
Note: See TracChangeset
for help on using the changeset viewer.