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 10986 for NEMO/branches/UKMO/NEMO_4.0_mirror_text_diagnostics/src/OCE/TRA/trabbl.F90 – NEMO

Ignore:
Timestamp:
2019-05-16T15:23:56+02:00 (5 years ago)
Author:
andmirek
Message:

GMED 462 add flush

File:
1 edited

Legend:

Unmodified
Added
Removed
  • NEMO/branches/UKMO/NEMO_4.0_mirror_text_diagnostics/src/OCE/TRA/trabbl.F90

    r10968 r10986  
    335335      !!---------------------------------------------------------------------- 
    336336      ! 
    337       IF( kt == kit000 )  THEN 
    338          IF(lwp)  WRITE(numout,*) 
    339          IF(lwp)  WRITE(numout,*) 'trabbl:bbl : Compute bbl velocities and diffusive coefficients in ', cdtype 
    340          IF(lwp)  WRITE(numout,*) '~~~~~~~~~~' 
     337      IF( kt == kit000 .AND. lwp)  THEN 
     338         WRITE(numout,*) 
     339         WRITE(numout,*) 'trabbl:bbl : Compute bbl velocities and diffusive coefficients in ', cdtype 
     340         WRITE(numout,*) '~~~~~~~~~~' 
     341         IF(lflush) CALL FLUSH(numout) 
    341342      ENDIF 
    342343      !                                        !* bottom variables (T, S, alpha, beta, depth, velocity) 
     
    500501         WRITE(numout,*) '       Namelist nambbl : set bbl parameters' 
    501502         WRITE(numout,*) '          bottom boundary layer flag          ln_trabbl  = ', ln_trabbl 
     503         IF(lflush) CALL FLUSH(numout) 
    502504      ENDIF 
    503505      IF( .NOT.ln_trabbl )   RETURN 
     
    508510         WRITE(numout,*) '          diffusive bbl coefficient           rn_ahtbbl  = ', rn_ahtbbl, ' m2/s' 
    509511         WRITE(numout,*) '          advective bbl coefficient           rn_gambbl  = ', rn_gambbl, ' s' 
     512         IF(lflush) CALL FLUSH(numout) 
    510513      ENDIF 
    511514      ! 
     
    513516      IF( tra_bbl_alloc() /= 0 )   CALL ctl_stop( 'STOP', 'tra_bbl_init : unable to allocate arrays' ) 
    514517      ! 
    515       IF( nn_bbl_adv == 1 )    WRITE(numout,*) '       * Advective BBL using upper velocity' 
    516       IF( nn_bbl_adv == 2 )    WRITE(numout,*) '       * Advective BBL using velocity = F( delta rho)' 
     518      IF(lwp) THEN 
     519         IF( nn_bbl_adv == 1 )    WRITE(numout,*) '       * Advective BBL using upper velocity' 
     520         IF( nn_bbl_adv == 2 )    WRITE(numout,*) '       * Advective BBL using velocity = F( delta rho)' 
     521      ENDIF 
    517522      ! 
    518523      !                             !* vertical index of  "deep" bottom u- and v-points 
Note: See TracChangeset for help on using the changeset viewer.