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_lap.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_lap.F90

    r247 r258  
    1717   USE in_out_manager  ! I/O manager 
    1818   USE diaptr          ! poleward transport diagnostics 
     19   USE prtctl          ! Print control 
    1920 
    2021 
     
    157158      ENDIF 
    158159 
    159       IF(l_ctl) THEN         ! print mean trends (used for debugging) 
    160          zta = SUM( ta(2:nictl,2:njctl,1:jpkm1) * tmask(2:nictl,2:njctl,1:jpkm1) ) 
    161          zsa = SUM( sa(2:nictl,2:njctl,1:jpkm1) * tmask(2:nictl,2:njctl,1:jpkm1) ) 
    162          WRITE(numout,*) ' ldf  - Ta: ', zta-t_ctl, ' Sa: ', zsa-s_ctl 
    163          t_ctl = zta   ;   s_ctl = zsa 
     160      IF(ln_ctl) THEN         ! print mean trends (used for debugging) 
     161         CALL prt_ctl(tab3d_1=ta, clinfo1=' ldf  - Ta: ', mask1=tmask, & 
     162            &         tab3d_2=sa, clinfo2=' Sa: ', mask2=tmask, clinfo3='tra') 
    164163      ENDIF 
    165164 
Note: See TracChangeset for help on using the changeset viewer.