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/trc_oce.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/trc_oce.F90

    r10888 r10986  
    8686         WRITE(numout,*) '   trc_oce_rgb : Initialisation of the optical look-up table' 
    8787         WRITE(numout,*) '   ~~~~~~~~~~~ ' 
     88         IF(lflush) CALL FLUSH(numout) 
    8889      ENDIF 
    8990      ! 
     
    154155      ! 
    155156      r_si2 = 1.e0 / zrgb(2, 1)        ! blue with the smallest chlorophyll concentration) 
    156       IF(lwp) WRITE(numout,*) '      RGB longest depth of extinction    r_si2 = ', r_si2 
     157      IF(lwp) THEN 
     158         WRITE(numout,*) '      RGB longest depth of extinction    r_si2 = ', r_si2 
     159         IF(lflush) CALL FLUSH(numout) 
     160      ENDIF 
    157161      ! 
    158162      DO jc = 1, 61                         ! check 
    159163         zchl = zrgb(1,jc) 
    160164         irgb = NINT( 41 + 20.* LOG10( zchl ) + 1.e-15 ) 
    161          IF(lwp .AND. nn_print >= 1 ) WRITE(numout,*) '    jc =', jc, '  Chl = ', zchl, '  irgb = ', irgb 
     165         IF(lwp .AND. nn_print >= 1 ) THEN 
     166            WRITE(numout,*) '    jc =', jc, '  Chl = ', zchl, '  irgb = ', irgb 
     167            IF(lflush) CALL FLUSH(numout) 
     168         ENDIF 
    162169         IF( irgb /= jc ) THEN 
    163170            IF(lwp) WRITE(numout,*) '    jc =', jc, '  Chl = ', zchl, '  Chl class = ', irgb 
Note: See TracChangeset for help on using the changeset viewer.