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 84 for trunk/NEMO/OPA_SRC/DYN/dynldf_bilapg.F90 – NEMO

Ignore:
Timestamp:
2004-04-22T15:32:41+02:00 (20 years ago)
Author:
opalod
Message:

CT : UPDATE057 : # General syntax, alignement, comments corrections

# l_ctl alone replace the set (l_ctl .AND. lwp)
# Add of diagnostics which are activated when using l_ctl logical

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/NEMO/OPA_SRC/DYN/dynldf_bilapg.F90

    r32 r84  
    7373      !! * Local declarations 
    7474      INTEGER ::   ji, jj, jk                 ! dummy loop indices 
     75      REAL(wp) ::   zua, zva                  ! temporary scalars 
    7576      REAL(wp), DIMENSION(jpi,jpj,jpk) ::   & 
    7677         wk1, wk2,            &  ! work array used for rotated biharmonic 
     
    126127      END DO                                           !   End of slab 
    127128      !                                                ! =============== 
     129 
     130      IF(l_ctl) THEN         ! print sum trends (used for debugging) 
     131         zua = SUM( ua(2:jpim1,2:jpjm1,1:jpkm1) * umask(2:jpim1,2:jpjm1,1:jpkm1) ) 
     132         zva = SUM( va(2:jpim1,2:jpjm1,1:jpkm1) * vmask(2:jpim1,2:jpjm1,1:jpkm1) ) 
     133         WRITE(numout,*) ' ldf  - Ua: ', zua-u_ctl, ' Va: ', zva-v_ctl 
     134         u_ctl = zua   ;   v_ctl = zva 
     135      ENDIF 
    128136 
    129137   END SUBROUTINE dyn_ldf_bilapg 
Note: See TracChangeset for help on using the changeset viewer.