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

    r10888 r10986  
    7878         WRITE(numout,*) 'stp_ctl : time-stepping control' 
    7979         WRITE(numout,*) '~~~~~~~' 
     80         IF(lflush) CALL FLUSH(numout) 
    8081         !                                ! open time.step file 
    8182         IF( lwm ) CALL ctl_opn( numstp, 'time.step', 'REPLACE', 'FORMATTED', 'SEQUENTIAL', -1, numout, lwp, narea ) 
     
    133134      IF( ll_wrtruns ) THEN 
    134135         WRITE(numrun,9500) kt, zmax(1), zmax(2), -zmax(3), zmax(4) 
     136         IF(lflush) CALL flush(numrun) 
    135137         istatus = NF90_PUT_VAR( idrun, idssh, (/ zmax(1)/), (/kt/), (/1/) ) 
    136138         istatus = NF90_PUT_VAR( idrun,   idu, (/ zmax(2)/), (/kt/), (/1/) ) 
Note: See TracChangeset for help on using the changeset viewer.