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 12917 for NEMO/branches/UKMO/NEMO_4.0.1_biharmonic_GM/src/OCE/DYN/dynldf_lap_blp.F90 – NEMO

Ignore:
Timestamp:
2020-05-13T09:56:41+02:00 (4 years ago)
Author:
davestorkey
Message:

UKMO/NEMO_4.0.1_biharmonic_GM : remove redundant code (which breaks reproducibility).

File:
1 edited

Legend:

Unmodified
Added
Removed
  • NEMO/branches/UKMO/NEMO_4.0.1_biharmonic_GM/src/OCE/DYN/dynldf_lap_blp.F90

    r12788 r12917  
    174174 
    175175!CW: set boundary conditions: d/dz(del^2 u) = 0 at top and bottom, so that eddy-induced velocity, w*=0 
     176!DS: note that w*=0 next to topography is already set because of the use of wumask and wvmask above. 
    176177!     Surface 
    177178      zulapdz(:,:,1)   = 0._wp   ;   zvlapdz(:,:,1)   = 0._wp  
    178179!     Flat bottom case 
    179180      zulapdz(:,:,jpk) = 0._wp   ;   zvlapdz(:,:,jpk) = 0._wp 
    180 !     Variable bathymetry case, including z-partial steps, as in dynhpg.F90, subroutine hpg_zps 
    181         DO jj = 2, jpjm1 
    182             DO ji = 2, jpim1 
    183                 iku = mbku(ji,jj)+1 
    184                 ikv = mbkv(ji,jj)+1 
    185                 zulapdz(:,:,iku) = 0._wp 
    186                 zvlapdz(:,:,ikv) = 0._wp 
    187             ENDDO 
    188         ENDDO 
    189181 
    190182!!    calculate d/dz(-bhm * d/dz(del^2 u)) 
     
    199191         ENDDO 
    200192      ENDDO 
    201  
    202       ! ----- 
    203  
    204193    
    205194   END SUBROUTINE dyn_ldf_bgm 
Note: See TracChangeset for help on using the changeset viewer.