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 14644 for NEMO/branches/2020/dev_r14116_HPC-04_mcastril_Mixed_Precision_implementation_final/src/NST/agrif_user.F90 – NEMO

Ignore:
Timestamp:
2021-03-26T15:33:49+01:00 (3 years ago)
Author:
sparonuz
Message:

Merge trunk -r14642:HEAD

Location:
NEMO/branches/2020/dev_r14116_HPC-04_mcastril_Mixed_Precision_implementation_final
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • NEMO/branches/2020/dev_r14116_HPC-04_mcastril_Mixed_Precision_implementation_final

    • Property svn:externals
      •  

        old new  
        99 
        1010# SETTE 
        11 ^/utils/CI/sette_wave@13990         sette 
         11^/utils/CI/sette@14244        sette 
  • NEMO/branches/2020/dev_r14116_HPC-04_mcastril_Mixed_Precision_implementation_final/src/NST/agrif_user.F90

    r14200 r14644  
    6363! In case of East-West periodicity, prevent AGRIF interpolation at east and west boundaries 
    6464! The procnames will not be called at these boundaries 
    65       IF (jperio == 1) THEN 
     65      IF (l_Iperio) THEN 
    6666         CALL Agrif_Set_NearCommonBorderX(.TRUE.) 
    6767         CALL Agrif_Set_DistantCommonBorderX(.TRUE.) 
     
    209209      ENDIF 
    210210      ! 
    211       CALL lbc_lnk_multi( 'Agrif_Init_Domain', hu0_parent, 'U', 1.0_wp, hv0_parent, 'V', 1.0_wp ) 
     211      CALL lbc_lnk( 'Agrif_Init_Domain', hu0_parent, 'U', 1.0_wp, hv0_parent, 'V', 1.0_wp ) 
    212212      DO_2D( 0, 0, 0, 0 ) 
    213213         zk(ji,jj) = REAL( mbku_parent(ji,jj), wp ) 
     
    251251         ENDIF 
    252252 
    253          CALL lbc_lnk_multi( 'Agrif_Init_Domain', e3u0_parent, 'U', 1.0_wp, e3v0_parent, 'V', 1.0_wp ) 
     253         CALL lbc_lnk( 'Agrif_Init_Domain', e3u0_parent, 'U', 1.0_wp, e3v0_parent, 'V', 1.0_wp ) 
    254254      ENDIF 
    255255 
     
    272272                   
    273273            CALL Agrif_check_bat( kindic_agr )            
    274  
    275             CALL mpp_sum( 'agrif_InitValues_Domain', kindic_agr ) 
    276             IF( kindic_agr /= 0 ) THEN 
    277                CALL ctl_stop('==> Child Bathymetry is NOT correct near boundaries.') 
    278             ELSE 
    279                IF(lwp) WRITE(numout,*) '==> Child Bathymetry is ok near boundaries.' 
    280                IF(lwp) WRITE(numout,*) ' ' 
    281             ENDIF   
    282274         ENDIF 
     275         ! 
     276         CALL mpp_sum( 'agrif_InitValues_Domain', kindic_agr ) 
     277         IF( kindic_agr /= 0 ) THEN 
     278            CALL ctl_stop('==> Child Bathymetry is NOT correct near boundaries.') 
     279         ELSE 
     280            IF(lwp) WRITE(numout,*) '==> Child Bathymetry is ok near boundaries.' 
     281            IF(lwp) WRITE(numout,*) ' ' 
     282         ENDIF   
    283283      ENDIF 
    284284      ! 
     
    532532      CALL Agrif_Set_bc(   ub2b_cor_id, (/-imaxrho*nn_shift_bar,ind1/) ) 
    533533      CALL Agrif_Set_bc(   vb2b_cor_id, (/-imaxrho*nn_shift_bar,ind1/) ) 
    534       IF( ln_zdftke.OR.ln_zdfgls ) CALL Agrif_Set_bc( avm_id, (/0,ind1/) ) 
     534      IF( ln_zdftke.OR.ln_zdfgls ) CALL Agrif_Set_bc( avm_id, (/0,ind1-1/) ) 
    535535!!$      CALL Agrif_Set_bc(glamt_id, (/0,ind1-1/) )   
    536536!!$      CALL Agrif_Set_bc(gphit_id, (/0,ind1-1/) )   
     
    872872      nbghostcells_y_n = nbghostcells 
    873873      ! 
    874       IF(   jperio == 1  )   nbghostcells_x   = 0 
     874      IF(    l_Iperio    )   nbghostcells_x   = 0 
    875875      IF( .NOT. lk_south )   nbghostcells_y_s = 0 
    876876      IF( .NOT. lk_north )   nbghostcells_y_n = 0 
     
    889889 
    890890    
    891 # if defined key_mpp_mpi 
     891# if ! defined key_mpi_off 
    892892   SUBROUTINE Agrif_InvLoc( indloc, nprocloc, i, indglob ) 
    893893      !!---------------------------------------------------------------------- 
Note: See TracChangeset for help on using the changeset viewer.