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/TRA/tranxt.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/TRA/tranxt.F90

    r247 r258  
    1515   USE lbclnk          ! ocean lateral boundary conditions (or mpp link) 
    1616   USE obctra          ! open boundary condition (obc_tra routine) 
     17   USE prtctl          ! Print control 
    1718 
    1819   IMPLICIT NONE 
     
    165166      !                                                ! =============== 
    166167 
    167       IF(l_ctl) THEN         ! print mean field (used for debugging) 
    168          WRITE(numout,*) ' nxt  - Tn: ', SUM(tn(2:nictl,2:njctl,1:jpkm1)*tmask(2:nictl,2:njctl,1:jpkm1)), & 
    169          &                      ' Sn: ', SUM(sn(2:nictl,2:njctl,1:jpkm1)*tmask(2:nictl,2:njctl,1:jpkm1))  
     168      IF(ln_ctl) THEN         ! print mean field (used for debugging) 
     169         CALL prt_ctl(tab3d_1=tn, clinfo1=' nxt  - Tn: ', mask1=tmask, & 
     170            &         tab3d_2=sn, clinfo2=' Sn: ', mask2=tmask) 
    170171      ENDIF 
    171172 
Note: See TracChangeset for help on using the changeset viewer.