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 13251 for NEMO/branches/2020/dev_r12558_HPC-08_epico_Extra_Halo/src/OCE – NEMO

Ignore:
Timestamp:
2020-07-05T16:59:00+02:00 (4 years ago)
Author:
smasson
Message:

Extra_Halo: bugfix following merge with trunk@13218, see #2366

Location:
NEMO/branches/2020/dev_r12558_HPC-08_epico_Extra_Halo/src/OCE
Files:
3 edited

Legend:

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

    r13248 r13251  
    222222         ! inside computational domain (cosmetic)  
    223223         DO jk = 1, jpkm1 
    224             ! --- West --- ! 
    225             IF( lk_west) THEN 
     224            IF( lk_west ) THEN                             ! --- West --- ! 
    226225               DO ji = mi0(2+nn_hls), mi1(2+nn_hls) 
    227226                  DO jj = 1, jpj 
     
    230229               END DO 
    231230            ENDIF 
    232             ! 
    233             ! --- East --- ! 
    234             IF( lk_east) THEN 
     231            IF( lk_east ) THEN                             ! --- East --- ! 
    235232               DO ji = mi0(jpiglo-1-nn_hls), mi1(jpiglo-1-nn_hls) 
    236233                  DO jj = 1, jpj 
     
    239236               END DO 
    240237            ENDIF 
    241             ! 
    242             ! --- South --- ! 
    243             IF( lk_south) THEN 
     238            IF( lk_south ) THEN                            ! --- South --- ! 
    244239               DO jj = mj0(2+nn_hls), mj1(2+nn_hls) 
    245240                  DO ji = 1, jpi 
     
    248243               END DO 
    249244            ENDIF 
    250             ! 
    251             ! --- North --- ! 
    252             IF( lk_north) THEN 
     245            IF( lk_north ) THEN                            ! --- North --- ! 
    253246               DO jj = mj0(jpjglo-1-nn_hls), mj1(jpjglo-1-nn_hls) 
    254247                  DO ji = 1, jpi 
  • NEMO/branches/2020/dev_r12558_HPC-08_epico_Extra_Halo/src/OCE/LBC/mppini.F90

    r13236 r13251  
    339339      IF( ierr /= 0 )   CALL ctl_stop( 'STOP', 'mpp_init: unable to allocate standard ocean arrays' ) 
    340340       
     341#if defined key_agrif 
     342      IF( .NOT. Agrif_Root() ) THEN       ! AGRIF children: specific setting (cf. agrif_user.F90) 
     343         CALL agrif_nemo_init() 
     344      ENDIF 
     345#endif 
    341346      ! 
    342347      !  2. Index arrays for subdomains 
     
    550555      njmpp = ijmppt(ii,ij) 
    551556      jpk = jpkglo                              ! third dim 
    552 #if defined key_agrif 
    553       ! simple trick to use same vertical grid as parent but different number of levels:  
    554       ! Save maximum number of levels in jpkglo, then define all vertical grids with this number. 
    555       ! Suppress once vertical online interpolation is ok 
    556 !!$      IF(.NOT.Agrif_Root())   jpkglo = Agrif_Parent( jpkglo ) 
    557 #endif 
    558557      ! 
    559558      CALL init_doloop                          ! set start/end indices of do-loop, depending on the halo width value (nn_hls)  
  • NEMO/branches/2020/dev_r12558_HPC-08_epico_Extra_Halo/src/OCE/USR/usrdef_nam.F90

    r13247 r13251  
    1414   !!   usr_def_hgr   : initialize the horizontal mesh  
    1515   !!---------------------------------------------------------------------- 
     16   USE dom_oce 
    1617   USE par_oce        ! ocean space and time domain 
    1718   USE phycst         ! physical constants 
     
    7374#if defined key_agrif 
    7475      IF( .NOT.Agrif_Root() ) THEN         ! Global Domain size: add 1 land point on each side 
    75          kpi  = nbcellsx + nbghostcells_x   + nbghostcells_x   + 2 
    76          kpj  = nbcellsy + nbghostcells_y_s + nbghostcells_y_n + 2 
     76         kpi  = nbcellsx + 2 * ( nbghostcells + 1 ) 
     77         kpj  = nbcellsy + 2 * ( nbghostcells + 1 ) 
     78!!$         kpi  = nbcellsx + nbghostcells_x   + nbghostcells_x   + 2 
     79!!$         kpj  = nbcellsy + nbghostcells_y_s + nbghostcells_y_n + 2 
    7780      ENDIF 
    7881#endif 
Note: See TracChangeset for help on using the changeset viewer.