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 9116 for branches/2017/dev_merge_2017/NEMOGCM/NEMO/NST_SRC/agrif_user.F90 – NEMO

Ignore:
Timestamp:
2017-12-18T15:24:31+01:00 (6 years ago)
Author:
jchanut
Message:

Finalize AGRIF ghost cells implementation: ensure compatibility with bdy smoothing or extrapolation

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/2017/dev_merge_2017/NEMOGCM/NEMO/NST_SRC/agrif_user.F90

    r9096 r9116  
    218218   Agrif_UseSpecialValue = .TRUE. 
    219219   CALL Agrif_Bc_variable(sshn_id,calledweight=1., procname=interpsshn ) 
    220    hbdy_w(:) = 0.e0 ; hbdy_e(:) = 0.e0 ; hbdy_n(:) = 0.e0 ; hbdy_s(:) = 0.e0 
     220   hbdy_w(:,:) = 0.e0 ; hbdy_e(:,:) = 0.e0 ; hbdy_n(:,:) = 0.e0 ; hbdy_s(:,:) = 0.e0 
    221221   ssha(:,:) = 0.e0 
    222222 
     
    227227      CALL Agrif_Bc_variable(ub2b_interp_id,calledweight=1.,procname=interpub2b) 
    228228      CALL Agrif_Bc_variable(vb2b_interp_id,calledweight=1.,procname=interpvb2b) 
    229       ubdy_w(:) = 0.e0 ; vbdy_w(:) = 0.e0 
    230       ubdy_e(:) = 0.e0 ; vbdy_e(:) = 0.e0 
    231       ubdy_n(:) = 0.e0 ; vbdy_n(:) = 0.e0 
    232       ubdy_s(:) = 0.e0 ; vbdy_s(:) = 0.e0 
     229      ubdy_w(:,:) = 0.e0 ; vbdy_w(:,:) = 0.e0 
     230      ubdy_e(:,:) = 0.e0 ; vbdy_e(:,:) = 0.e0 
     231      ubdy_n(:,:) = 0.e0 ; vbdy_n(:,:) = 0.e0 
     232      ubdy_s(:,:) = 0.e0 ; vbdy_s(:,:) = 0.e0 
    233233   ENDIF 
    234234 
Note: See TracChangeset for help on using the changeset viewer.