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

    r247 r258  
    2121   USE ldfslp          ! iso-neutral slopes 
    2222   USE diaptr          ! poleward transport diagnostics 
     23   USE prtctl          ! Print control 
    2324 
    2425 
     
    279280      ENDIF 
    280281 
    281       IF(l_ctl) THEN         ! print mean trends (used for debugging) 
    282          zta = SUM( ta(2:nictl,2:njctl,1:jpkm1) * tmask(2:nictl,2:njctl,1:jpkm1) ) 
    283          zsa = SUM( sa(2:nictl,2:njctl,1:jpkm1) * tmask(2:nictl,2:njctl,1:jpkm1) ) 
    284          WRITE(numout,*) ' ldf  - Ta: ', zta-t_ctl, ' Sa: ', zsa-s_ctl 
    285          t_ctl = zta   ;   s_ctl = zsa 
     282      IF(ln_ctl) THEN         ! print mean trends (used for debugging) 
     283         CALL prt_ctl(tab3d_1=ta, clinfo1=' ldf  - Ta: ', mask1=tmask, & 
     284            &         tab3d_2=sa, clinfo2=' Sa: ', mask2=tmask, clinfo3='tra') 
    286285      ENDIF 
    287286 
Note: See TracChangeset for help on using the changeset viewer.