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/LIM_SRC/limhdf.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/LIM_SRC/limhdf.F90

    r247 r258  
    1818   USE lbclnk 
    1919   USE lib_mpp 
     20   USE prtctl          ! Print control 
    2021 
    2122   IMPLICIT NONE 
     
    6768      INTEGER ::  & 
    6869         its, iter            ! temporary integers 
     70      CHARACTER (len=55) :: charout 
    6971      REAL(wp) ::  & 
    7072         zalfa, zrlxint, zconv, zeps   ! temporary scalars 
     
    168170 
    169171      ptab(:,:) = ptab(:,:) 
    170  
    171       IF(l_ctl)   WRITE(numout,*) ' lim_hdf  : ', SUM( ptab(2:nictl,2:njctl)-ptab0(2:nictl,2:njctl) ), & 
    172       &                                        ' zconv= ', zconv, ' iter= ', iter 
     172      IF(ln_ctl)   THEN 
     173         zrlx(:,:) = ptab(:,:) - ptab0(:,:) 
     174         WRITE(charout,FMT="(' lim_hdf  : zconv =',D23.16, ' iter =',I4,2X)") zconv, iter 
     175         CALL prt_ctl(tab2d_1=zrlx, clinfo1=charout) 
     176      ENDIF 
    173177 
    174178   END SUBROUTINE lim_hdf 
Note: See TracChangeset for help on using the changeset viewer.