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/DYN/wzvmod.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/DYN/wzvmod.F90

    r247 r258  
    1212   USE dom_oce         ! ocean space and time domain variables  
    1313   USE in_out_manager  ! I/O manager 
     14   USE prtctl          ! Print control 
    1415 
    1516   IMPLICIT NONE 
     
    8081      !                                                ! =============== 
    8182 
    82       IF(l_ctl) THEN                ! print mean trends (used for debugging) 
    83          WRITE(numout,*) ' w**2 -   : ', SUM( wn(2:nictl,2:njctl,1:jpkm1) * wn   (2:nictl,2:njctl,1:jpkm1) ) 
    84       ENDIF 
     83      IF(ln_ctl)   CALL prt_ctl(tab3d_1=wn, clinfo1=' w**2 -   : ', mask1=wn) 
    8584 
    8685   END SUBROUTINE wzv 
     
    131130      END DO 
    132131 
    133       IF(l_ctl) THEN                ! print mean trends (used for debugging) 
    134          WRITE(numout,*) ' w**2 -   : ', SUM( wn(2:nictl,2:njctl,1:jpkm1) * wn   (2:nictl,2:njctl,1:jpkm1) ) 
    135       ENDIF 
     132      IF(ln_ctl)   CALL prt_ctl(tab3d_1=wn, clinfo1=' w**2 -   : ', mask1=wn) 
    136133 
    137134   END SUBROUTINE wzv 
Note: See TracChangeset for help on using the changeset viewer.