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 14834 for NEMO/trunk/src/OCE/SBC/sbcssr.F90 – NEMO

Ignore:
Timestamp:
2021-05-11T11:24:44+02:00 (3 years ago)
Author:
hadcv
Message:

#2600: Merge in dev_r14273_HPC-02_Daley_Tiling

File:
1 edited

Legend:

Unmodified
Added
Removed
  • NEMO/trunk/src/OCE/SBC/sbcssr.F90

    r14718 r14834  
    9898            ! 
    9999            IF( nn_sstr == 1 ) THEN                                   !* Temperature restoring term 
    100                DO_2D( 1, 1, 1, 1 ) 
     100               DO_2D( nn_hls, nn_hls, nn_hls, nn_hls ) 
    101101                  zqrp = rn_dqdt * ( sst_m(ji,jj) - sf_sst(1)%fnow(ji,jj,1) ) * tmask(ji,jj,1) 
    102102                  qns(ji,jj) = qns(ji,jj) + zqrp 
     
    108108              ! use fraction of ice ( fr_i ) to adjust relaxation under ice if nn_sssr_ice .ne. 1 
    109109              ! n.b. coefice is initialised and fixed to 1._wp if nn_sssr_ice = 1 
    110                DO_2D( 1, 1, 1, 1 ) 
     110               DO_2D( nn_hls, nn_hls, nn_hls, nn_hls ) 
    111111                  SELECT CASE ( nn_sssr_ice ) 
    112112                    CASE ( 0 )    ;  coefice(ji,jj) = 1._wp - fr_i(ji,jj)              ! no/reduced damping under ice 
     
    118118            IF( nn_sssr == 1 ) THEN                                   !* Salinity damping term (salt flux only (sfx)) 
    119119               zsrp = rn_deds / rday                                  ! from [mm/day] to [kg/m2/s] 
    120                DO_2D( 1, 1, 1, 1 ) 
     120               DO_2D( nn_hls, nn_hls, nn_hls, nn_hls ) 
    121121                  zerp = zsrp * ( 1. - 2.*rnfmsk(ji,jj) )   &      ! No damping in vicinity of river mouths 
    122122                     &        *   coefice(ji,jj)            &      ! Optional control of damping under sea-ice 
     
    129129               zsrp = rn_deds / rday                                  ! from [mm/day] to [kg/m2/s] 
    130130               zerp_bnd = rn_sssr_bnd / rday                          !       -              -     
    131                DO_2D( 1, 1, 1, 1 ) 
     131               DO_2D( nn_hls, nn_hls, nn_hls, nn_hls ) 
    132132                  zerp = zsrp * ( 1. - 2.*rnfmsk(ji,jj) )   &      ! No damping in vicinity of river mouths 
    133133                     &        *   coefice(ji,jj)            &      ! Optional control of damping under sea-ice 
Note: See TracChangeset for help on using the changeset viewer.