New URL for NEMO forge!   http://forge.nemo-ocean.eu

Since March 2022 along with NEMO 4.2 release, the code development moved to a self-hosted GitLab.
This present forge is now archived and remained online for history.
Changeset 11782 for NEMO/branches/2019/dev_r11756_text_output/src/OCE/ZDF/zdftke.F90 – NEMO

Ignore:
Timestamp:
2019-10-24T10:30:30+02:00 (5 years ago)
Author:
andmirek
Message:

Ticket #2320 print levels in ICE/OCE

File:
1 edited

Legend:

Unmodified
Added
Removed
  • NEMO/branches/2019/dev_r11756_text_output/src/OCE/ZDF/zdftke.F90

    r11536 r11782  
    663663      READ  ( numnam_cfg, namzdf_tke, IOSTAT = ios, ERR = 902 ) 
    664664902   IF( ios >  0 ) CALL ctl_nam ( ios , 'namzdf_tke in configuration namelist' ) 
    665       IF(lwm) WRITE ( numond, namzdf_tke ) 
     665      IF(lwm.AND. nprint > 2) WRITE ( numond, namzdf_tke ) 
    666666      ! 
    667667      ri_cri   = 2._wp    / ( 2._wp + rn_ediss / rn_ediff )   ! resulting critical Richardson number 
     
    797797      ELSEIF( TRIM(cdrw) == 'WRITE' ) THEN   ! Create restart file 
    798798         !                                   ! ------------------- 
    799          IF(lwp) WRITE(numout,*) '---- tke_rst ----' 
     799         IF(lwp .AND. nprint > 0) WRITE(numout,*) '---- tke_rst ----' 
    800800         IF( lwxios ) CALL iom_swap(      cwxios_context          )  
    801801         CALL iom_rstput( kt, nitrst, numrow, 'en'   , en   , ldxios = lwxios ) 
Note: See TracChangeset for help on using the changeset viewer.