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 12807 for NEMO/branches/2020/dev_r12558_HPC-08_epico_Extra_Halo/src/OCE/LBC/lbclnk.F90 – NEMO

Ignore:
Timestamp:
2020-04-23T15:14:45+02:00 (4 years ago)
Author:
smasson
Message:

Extra_Halo: input file only over inner domain + new variables names, see #2366

File:
1 edited

Legend:

Unmodified
Added
Removed
  • NEMO/branches/2020/dev_r12558_HPC-08_epico_Extra_Halo/src/OCE/LBC/lbclnk.F90

    r12377 r12807  
    248248      ! 
    249249      INTEGER ::   ji, jj, jr 
    250       INTEGER ::   ierr, itaille, ildi, ilei, iilb 
     250      INTEGER ::   ierr, itaille, iis0, iie0, iilb 
    251251      INTEGER ::   ipj, ij, iproc 
    252252      ! 
     
    282282      DO jr = 1, ndim_rank_north            ! recover the global north array 
    283283         iproc = nrank_north(jr) + 1 
    284          ildi = nldit (iproc) 
    285          ilei = nleit (iproc) 
     284         iis0 = nis0all(iproc) 
     285         iie0 = nie0all(iproc) 
    286286         iilb = nimppt(iproc) 
    287287         DO jj = 1-kextj, ipj+kextj 
    288             DO ji = ildi, ilei 
     288            DO ji = iis0, iie0 
    289289               ztab_e(ji+iilb-1,jj) = znorthgloio_e(ji,jj,jr) 
    290290            END DO 
     
    396396      SELECT CASE ( nbondi )      ! Read Dirichlet lateral conditions 
    397397      CASE ( -1, 0, 1 )                ! all exept 2 (i.e. close case) 
    398          iihom = jpi-nreci-kexti 
     398         iihom = jpi - (2 * nn_hls) - kexti 
    399399         DO jl = 1, ipreci 
    400400            r2dew(:,jl,1) = pt2d(nn_hls+jl,:) 
     
    453453      ! 
    454454      IF( nbondj /= 2 ) THEN      ! Read Dirichlet lateral conditions 
    455          ijhom = jpj-nrecj-kextj 
     455         ijhom = jpj - ( 2 * nn_hls ) -kextj 
    456456         DO jl = 1, iprecj 
    457457            r2dsn(:,jl,1) = pt2d(:,ijhom +jl) 
Note: See TracChangeset for help on using the changeset viewer.