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 8586 for branches/2017/dev_r7881_ENHANCE09_RK3/NEMOGCM/NEMO/OPA_SRC/TRA – NEMO

Ignore:
Timestamp:
2017-10-04T09:19:23+02:00 (7 years ago)
Author:
gm
Message:

#1911 (ENHANCE-09): PART I.3 - phasing with branch dev_r8183_ICEMODEL revision 8575

Location:
branches/2017/dev_r7881_ENHANCE09_RK3/NEMOGCM/NEMO/OPA_SRC/TRA
Files:
4 edited

Legend:

Unmodified
Added
Removed
  • branches/2017/dev_r7881_ENHANCE09_RK3/NEMOGCM/NEMO/OPA_SRC/TRA/traadv_qck.F90

    r8568 r8586  
    346346         END DO 
    347347         !                                 ! trend diagnostics 
    348          IF( l_trd )                     CALL trd_tra( kt, cdtype, jn, jptra_yad, zwy, pvn, ptn(:,:,:,jn) ) 
     348         IF( l_trd )   CALL trd_tra( kt, cdtype, jn, jptra_yad, zwy, pvn, ptn(:,:,:,jn) ) 
    349349         !                                 ! "Poleward" heat and salt transports (contribution of upstream fluxes) 
    350          IF( l_ptr )                     CALL dia_ptr_hst( jn, 'adv', zwy(:,:,:) ) 
     350         IF( l_ptr )   CALL dia_ptr_hst( jn, 'adv', zwy(:,:,:) ) 
    351351         ! 
    352352      END DO 
  • branches/2017/dev_r7881_ENHANCE09_RK3/NEMOGCM/NEMO/OPA_SRC/TRA/traadv_ubs.F90

    r8568 r8586  
    2020   USE diaptr         ! poleward transport diagnostics 
    2121   USE diaar5         ! AR5 diagnostics 
    22  
    2322   ! 
    24    USE iom            ! XIOS library 
     23   USE iom            ! I/O library 
    2524   USE lib_mpp        ! massively parallel library 
    2625   USE lbclnk         ! ocean lateral boundary condition (or mpp link) 
  • branches/2017/dev_r7881_ENHANCE09_RK3/NEMOGCM/NEMO/OPA_SRC/TRA/traqsr.F90

    r8568 r8586  
    4747   LOGICAL , PUBLIC ::   ln_qsr_2bd   !: 2 band         light absorption flag 
    4848   LOGICAL , PUBLIC ::   ln_qsr_bio   !: bio-model      light absorption flag 
    49    LOGICAL , PUBLIC ::   ln_qsr_ice   !: light penetration for ice-model LIM3 (clem) 
    5049   INTEGER , PUBLIC ::   nn_chldta    !: use Chlorophyll data (=1) or not (=0) 
    5150   REAL(wp), PUBLIC ::   rn_abs       !: fraction absorbed in the very near surface (RGB & 2 bands) 
     
    268267      END DO 
    269268      ! 
    270       IF( ln_qsr_ice ) THEN      ! sea-ice: store the 1st ocean level attenuation coefficient 
    271          DO jj = 2, jpjm1  
    272             DO ji = fs_2, fs_jpim1   ! vector opt. 
    273                IF( qsr(ji,jj) /= 0._wp ) THEN   ;   fraqsr_1lev(ji,jj) = qsr_hc(ji,jj,1) / ( r1_rau0_rcp * qsr(ji,jj) ) 
    274                ELSE                             ;   fraqsr_1lev(ji,jj) = 1._wp 
    275                ENDIF 
    276             END DO 
    277          END DO 
    278          ! Update haloes since lim_thd needs fraqsr_1lev to be defined everywhere 
    279          CALL lbc_lnk( fraqsr_1lev(:,:), 'T', 1._wp ) 
    280       ENDIF 
     269      ! sea-ice: store the 1st ocean level attenuation coefficient 
     270      DO jj = 2, jpjm1  
     271         DO ji = fs_2, fs_jpim1   ! vector opt. 
     272            IF( qsr(ji,jj) /= 0._wp ) THEN   ;   fraqsr_1lev(ji,jj) = qsr_hc(ji,jj,1) / ( r1_rau0_rcp * qsr(ji,jj) ) 
     273            ELSE                             ;   fraqsr_1lev(ji,jj) = 1._wp 
     274            ENDIF 
     275         END DO 
     276      END DO 
     277      CALL lbc_lnk( fraqsr_1lev(:,:), 'T', 1._wp ) 
    281278      ! 
    282279      IF( iom_use('qsr3d') ) THEN      ! output the shortwave Radiation distribution 
     
    333330      TYPE(FLD_N)        ::   sn_chl   ! informations about the chlorofyl field to be read 
    334331      !! 
    335       NAMELIST/namtra_qsr/  sn_chl, cn_dir, ln_qsr_rgb, ln_qsr_2bd, ln_qsr_bio, ln_qsr_ice, & 
     332      NAMELIST/namtra_qsr/  sn_chl, cn_dir, ln_qsr_rgb, ln_qsr_2bd, ln_qsr_bio, & 
    336333         &                  nn_chldta, rn_abs, rn_si0, rn_si1 
    337334      !!---------------------------------------------------------------------- 
     
    356353         WRITE(numout,*) '      2 band               light penetration       ln_qsr_2bd = ', ln_qsr_2bd 
    357354         WRITE(numout,*) '      bio-model            light penetration       ln_qsr_bio = ', ln_qsr_bio 
    358          WRITE(numout,*) '      light penetration for ice-model (LIM3)       ln_qsr_ice = ', ln_qsr_ice 
    359355         WRITE(numout,*) '      RGB : Chl data (=1) or cst value (=0)        nn_chldta  = ', nn_chldta 
    360356         WRITE(numout,*) '      RGB & 2 bands: fraction of light (rn_si1)    rn_abs     = ', rn_abs 
  • branches/2017/dev_r7881_ENHANCE09_RK3/NEMOGCM/NEMO/OPA_SRC/TRA/trazdf.F90

    r8568 r8586  
    5050      !! ** Purpose :   compute the vertical ocean tracer physics. 
    5151      !!--------------------------------------------------------------------- 
    52       INTEGER, INTENT( in ) ::   kt      ! ocean time-step index 
    53       ! 
    54       INTEGER  ::   jk                   ! Dummy loop indices 
     52      INTEGER, INTENT(in) ::   kt   ! ocean time-step index 
     53      ! 
     54      INTEGER  ::   jk   ! Dummy loop indices 
    5555      REAL(wp), DIMENSION(:,:,:), ALLOCATABLE ::   ztrdt, ztrds   ! 3D workspace 
    5656      !!--------------------------------------------------------------------- 
Note: See TracChangeset for help on using the changeset viewer.