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

    r247 r258  
    3737   USE lbclnk          ! ocean lateral boundary conditions (or mpp link) 
    3838   USE cla_dynspg      ! cross land advection 
     39   USE prtctl          ! Print control 
    3940 
    4041   IMPLICIT NONE 
     
    354355         END DO 
    355356 
    356          IF(l_ctl) THEN         ! print sum trends (used for debugging) 
    357             WRITE(numout,*) ' spg  - Ua: ', SUM( ua(2:nictl,2:njctl,1:jpkm1)*umask(2:nictl,2:njctl,1:jpkm1) ),  & 
    358                &                   ' Va: ', SUM( va(2:nictl,2:njctl,1:jpkm1)*vmask(2:nictl,2:njctl,1:jpkm1) ) 
     357         IF(ln_ctl) THEN         ! print sum trends (used for debugging) 
     358            CALL prt_ctl(tab3d_1=ua, clinfo1=' spg  - Ua: ', mask1=umask, & 
     359               &         tab3d_2=va, clinfo2=' Va: ', mask2=vmask) 
    359360         ENDIF 
    360361 
     
    398399      CALL lbc_lnk( sshn, 'T', 1. ) 
    399400 
    400       IF(l_ctl) THEN         ! print sum trends (used for debugging) 
    401          WRITE(numout,*) ' spg - ssh:', SUM( sshn(2:nictl,2:njctl)*tmask(2:nictl,2:njctl,1) ) 
     401      IF(ln_ctl) THEN         ! print sum trends (used for debugging) 
     402         CALL prt_ctl(tab2d_1=sshn, clinfo1=' spg  - ssh: ', mask1=tmask) 
    402403      ENDIF 
    403404 
Note: See TracChangeset for help on using the changeset viewer.