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 258 for trunk/NEMO/OPA_SRC/daymod.F90 – NEMO

Ignore:
Timestamp:
2005-09-02T17:48:36+02:00 (19 years ago)
Author:
opalod
Message:

nemo_v1_update_004 : CT : Integration of the control print option for debugging work

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/NEMO/OPA_SRC/daymod.F90

    r247 r258  
    1212   USE phycst          ! physical constants 
    1313   USE in_out_manager  ! I/O manager 
     14   USE prtctl          ! Print control 
    1415 
    1516   IMPLICIT NONE 
     
    6970      INTEGER  ::   iend, iday0, iday1   ! temporary integers 
    7071      REAL(wp) :: zadatrjn, zadatrjb     ! adatrj at timestep kt-1 and kt-2  
     72      CHARACTER (len=25) :: charout 
    7173      !!---------------------------------------------------------------------- 
    7274 
     
    153155      ENDIF 
    154156 
    155       IF(l_ctl) WRITE(numout,*)' kt =', kt, 'd/m/y =', nday, nmonth, nyear 
     157      IF(ln_ctl) THEN 
     158         WRITE(charout,FMT="('kt =', I4,'  d/m/y =',I2,I2,I4)") kt, nday, nmonth, nyear 
     159         CALL prt_ctl_info(charout) 
     160      ENDIF 
    156161 
    157162   END SUBROUTINE day 
Note: See TracChangeset for help on using the changeset viewer.