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

    r247 r258  
    2222   USE ldfslp          ! iso-neutral slopes available 
    2323   USE lbclnk          ! ocean lateral boundary conditions (or mpp link) 
     24   USE prtctl          ! Print control 
    2425 
    2526   IMPLICIT NONE 
     
    8182      !! * Local declarations 
    8283      INTEGER ::   ji, jj, jk                 ! dummy loop indices 
    83       REAL(wp) ::   zua, zva                  ! temporary scalars 
    8484      REAL(wp), DIMENSION(jpi,jpj,jpk) ::   & 
    8585         zwk1, zwk2                ! work array used for rotated biharmonic 
     
    138138      ENDIF 
    139139 
    140       IF(l_ctl) THEN         ! print sum trends (used for debugging) 
    141          zua = SUM( ua(2:nictl,2:njctl,1:jpkm1) * umask(2:nictl,2:njctl,1:jpkm1) ) 
    142          zva = SUM( va(2:nictl,2:njctl,1:jpkm1) * vmask(2:nictl,2:njctl,1:jpkm1) ) 
    143          WRITE(numout,*) ' ldf  - Ua: ', zua-u_ctl, ' Va: ', zva-v_ctl 
    144          u_ctl = zua   ;   v_ctl = zva 
     140      IF(ln_ctl) THEN         ! print sum trends (used for debugging) 
     141         CALL prt_ctl(tab3d_1=ua, clinfo1=' ldf  - Ua: ', mask1=umask, & 
     142            &         tab3d_2=va, clinfo2=' Va: ', mask2=vmask, clinfo3='dyn') 
    145143      ENDIF 
    146144 
Note: See TracChangeset for help on using the changeset viewer.