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 14757 for NEMO/branches/2021/dev_r14393_HPC-03_Mele_Comm_Cleanup/src/OCE/DYN/dynldf_lap_blp.F90 – NEMO

Ignore:
Timestamp:
2021-04-27T17:33:44+02:00 (3 years ago)
Author:
francesca
Message:

Fortran 77 '.EQ.' operator replacement in conditional statements; [comm_cleanup] tags removal - ticket #2607

File:
1 edited

Legend:

Unmodified
Added
Removed
  • NEMO/branches/2021/dev_r14393_HPC-03_Mele_Comm_Cleanup/src/OCE/DYN/dynldf_lap_blp.F90

    r14682 r14757  
    8383         DO jk = 1, jpkm1                                 ! Horizontal slab 
    8484            ! 
    85             ! [comm_cleanup] ! DO_2D( 0, 1, 0, 1 )  
    8685            DO_2D( nn_hls-1, nn_hls, nn_hls-1, nn_hls ) 
    8786               !                                      ! ahm * e3 * curl  (computed from 1 to jpim1/jpjm1) 
     
    9594            END_2D 
    9695            ! 
    97             ! [comm_cleanup] ! DO_2D( 0, 0, 0, 0 )                       ! - curl( curl) + grad( div )  
    9896            DO_2D( nn_hls-1, nn_hls-1, nn_hls-1, nn_hls-1 )                       ! - curl( curl) + grad( div ) 
    9997               pu_rhs(ji,jj,jk) = pu_rhs(ji,jj,jk) + zsign * umask(ji,jj,jk) * (    &    ! * by umask is mandatory for dyn_ldf_blp use 
     
    116114         DO jk = 1, jpkm1                                 ! Horizontal slab 
    117115            ! 
    118             ! [comm_cleanup] ! DO_2D( 0, 1, 0, 1 )  
    119116            DO_2D( nn_hls-1, nn_hls, nn_hls-1, nn_hls ) 
    120117               !                                      ! shearing stress component (F-point)   NB : ahmf has already been multiplied by fmask 
     
    132129            END_2D 
    133130            ! 
    134             ! [comm_cleanup] ! DO_2D( 0, 0, 0, 0 )  
    135131            DO_2D( nn_hls-1, nn_hls-1, nn_hls-1, nn_hls-1 ) 
    136132               pu_rhs(ji,jj,jk) = pu_rhs(ji,jj,jk) + zsign * r1_e1e2u(ji,jj) / e3u(ji,jj,jk,Kmm)                               & 
     
    189185      CALL dyn_ldf_lap( kt, Kbb, Kmm, pu, pv, zulap, zvlap, 1 )   ! rotated laplacian applied to pt (output in zlap,Kbb) 
    190186      ! 
    191       IF (nn_hls.eq.1) CALL lbc_lnk( 'dynldf_lap_blp', zulap, 'U', -1.0_wp, zvlap, 'V', -1.0_wp )             ! Lateral boundary conditions 
     187      IF (nn_hls==1) CALL lbc_lnk( 'dynldf_lap_blp', zulap, 'U', -1.0_wp, zvlap, 'V', -1.0_wp )             ! Lateral boundary conditions 
    192188      ! 
    193189      CALL dyn_ldf_lap( kt, Kbb, Kmm, zulap, zvlap, pu_rhs, pv_rhs, 2 )   ! rotated laplacian applied to zlap (output in pt(:,:,:,:,Krhs)) 
Note: See TracChangeset for help on using the changeset viewer.