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 11580 – NEMO

Changeset 11580


Ignore:
Timestamp:
2019-09-20T10:10:54+02:00 (5 years ago)
Author:
jchanut
Message:

#2199, remove useless boundary data interpolation at domain edges (used previously with 1 ghost cell and near boundary filtering)

File:
1 edited

Legend:

Unmodified
Added
Removed
  • NEMO/branches/2019/dev_r10973_AGRIF-01_jchanut_small_jpi_jpj/src/NST/agrif_user.F90

    r11564 r11580  
    324324      ! 3. Location of interpolation 
    325325      !----------------------------- 
    326       CALL Agrif_Set_bc(       tsn_id, (/0,ind1/) ) 
    327       CALL Agrif_Set_bc( un_interp_id, (/0,ind1/) ) 
    328       CALL Agrif_Set_bc( vn_interp_id, (/0,ind1/) ) 
     326      CALL Agrif_Set_bc(       tsn_id, (/0,ind1-1/) ) 
     327      CALL Agrif_Set_bc( un_interp_id, (/0,ind1-1/) ) 
     328      CALL Agrif_Set_bc( vn_interp_id, (/0,ind1-1/) ) 
    329329 
    330330      CALL Agrif_Set_bc( tsn_sponge_id, (/-nn_sponge_len*Agrif_irhox()-1,0/) )  ! if west and rhox=3 and sponge=2 and ghost=1: columns 2 to 9  
     
    594594      ! 3. Location of interpolation 
    595595      !----------------------------- 
    596       CALL Agrif_Set_bc(trn_id,(/0,ind1/)) 
     596      CALL Agrif_Set_bc(trn_id,(/0,ind1-1/)) 
    597597      CALL Agrif_Set_bc(trn_sponge_id,(/-nn_sponge_len*Agrif_irhox()-1,0/)) 
    598598 
Note: See TracChangeset for help on using the changeset viewer.