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 14147 for NEMO/trunk/src/NST – NEMO

Changeset 14147 for NEMO/trunk/src/NST


Ignore:
Timestamp:
2020-12-10T13:58:47+01:00 (3 years ago)
Author:
jchanut
Message:

#2222, avoid using unitialized array

File:
1 edited

Legend:

Unmodified
Added
Removed
  • NEMO/trunk/src/NST/agrif_user.F90

    r14086 r14147  
    365365         use_sign_north = .TRUE. 
    366366         sign_north = -1. 
     367         CALL Agrif_Bc_variable(ub2b_interp_id,calledweight=1.,procname=interpub2b)   ! must be called before unb_id to define ubdy 
     368         CALL Agrif_Bc_variable(vb2b_interp_id,calledweight=1.,procname=interpvb2b)   ! must be called before vnb_id to define vbdy 
    367369         CALL Agrif_Bc_variable( unb_interp_id,calledweight=1.,procname=interpunb ) 
    368370         CALL Agrif_Bc_variable( vnb_interp_id,calledweight=1.,procname=interpvnb ) 
    369          CALL Agrif_Bc_variable(ub2b_interp_id,calledweight=1.,procname=interpub2b)   ! must be called before unb_id to define ubdy 
    370          CALL Agrif_Bc_variable(vb2b_interp_id,calledweight=1.,procname=interpvb2b)   ! must be called before vnb_id to define vbdy 
    371371         use_sign_north = .FALSE. 
    372372         ubdy(:,:) = 0._wp 
Note: See TracChangeset for help on using the changeset viewer.