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 15033 for NEMO/trunk/src/OCE/LBC – NEMO

Ignore:
Timestamp:
2021-06-21T12:24:45+02:00 (3 years ago)
Author:
smasson
Message:

trunk: suppress jpim1 et jpjm1, #2699

Location:
NEMO/trunk/src/OCE/LBC
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • NEMO/trunk/src/OCE/LBC/mpp_lnk_icb_generic.h90

    r14433 r15033  
    5656      !                                           !* Cyclic east-west 
    5757      IF( l_Iperio ) THEN 
    58          pt2d(1-kexti:     1   ,:) = pt2d(jpim1-kexti: jpim1 ,:)       ! east 
     58         pt2d(1-kexti:     1   ,:) = pt2d(jpi-1-kexti: jpi-1 ,:)       ! east 
    5959         pt2d(  jpi  :jpi+kexti,:) = pt2d(     2     :2+kexti,:)       ! west 
    6060         ! 
     
    7070      !                                      ! North-South boundaries 
    7171      IF( l_Jperio ) THEN                         !* cyclic (only with no mpp j-split) 
    72          pt2d(:,1-kextj:     1   ) = pt2d(:,jpjm1-kextj:  jpjm1)       ! north 
     72         pt2d(:,1-kextj:     1   ) = pt2d(:,jpj-1-kextj:  jpj-1)       ! north 
    7373         pt2d(:,  jpj  :jpj+kextj) = pt2d(:,     2     :2+kextj)       ! south 
    7474      ELSE                                        !* closed 
  • NEMO/trunk/src/OCE/LBC/mppini.F90

    r15023 r15033  
    13381338      Nj_0 = Nje0 - Njs0 + 1 
    13391339      ! 
    1340       ! old indices to be removed... 
    1341       jpim1 = jpi-1                             ! inner domain indices 
    1342       jpjm1 = jpj-1                             !   "           " 
    13431340      jpkm1 = jpk-1                             !   "           " 
    13441341      ! 
Note: See TracChangeset for help on using the changeset viewer.