Changeset 12119 for NEMO/branches/2019/dev_r11233_AGRIF-05_jchanut_vert_coord_interp/src/NST/agrif_user.F90
- Timestamp:
- 2019-12-09T11:55:22+01:00 (4 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
NEMO/branches/2019/dev_r11233_AGRIF-05_jchanut_vert_coord_interp/src/NST/agrif_user.F90
r12048 r12119 259 259 ! check if masks and bathymetries match 260 260 IF(ln_chk_bathy) THEN 261 Agrif_UseSpecialValue = .FALSE. 261 262 ! 262 263 IF(lwp) WRITE(numout,*) ' ' … … 266 267 # if ! defined key_vertical 267 268 ! 268 ! check if umask agree with parent along western and eastern boundaries: 269 CALL Agrif_Bc_variable(umsk_id,calledweight=1.,procname=interpumsk) 270 ! check if vmask agree with parent along northern and southern boundaries: 271 CALL Agrif_Bc_variable(vmsk_id,calledweight=1.,procname=interpvmsk) 272 ! check if tmask and vertical scale factors agree with parent over first two coarse grid points: 269 ! check if tmask and vertical scale factors agree with parent in sponge area: 273 270 CALL Agrif_Bc_variable(e3t_id,calledweight=1.,procname=interpe3t) 274 271 ! … … 346 343 347 344 CALL agrif_declare_variable((/2,2,0/),(/ind3,ind3,0/),(/'x','y','N'/),(/1,1,1/),(/nlci,nlcj,jpk/),e3t_id) 348 CALL agrif_declare_variable((/1,2,0/),(/ind2,ind3,0/),(/'x','y','N'/),(/1,1,1/),(/nlci,nlcj,jpk/),umsk_id) 349 CALL agrif_declare_variable((/2,1,0/),(/ind3,ind2,0/),(/'x','y','N'/),(/1,1,1/),(/nlci,nlcj,jpk/),vmsk_id) 345 350 346 # if defined key_vertical 351 347 CALL agrif_declare_variable((/2,2/),(/ind3,ind3/),(/'x','y'/),(/1,1/),(/nlci,nlcj/),mbkt_id) … … 401 397 402 398 CALL Agrif_Set_bcinterp(e3t_id,interp=AGRIF_constant) 403 CALL Agrif_Set_bcinterp(umsk_id,interp=AGRIF_constant)404 CALL Agrif_Set_bcinterp(vmsk_id,interp=AGRIF_constant)405 399 406 400 # if defined key_vertical … … 427 421 CALL Agrif_Set_bc( vb2b_interp_id, (/0,ind1-1/) ) 428 422 429 CALL Agrif_Set_bc( e3t_id, (/-nn_sponge_len*Agrif_irhox(),ind1-1/) ) ! if west, rhox=3, nn_sponge_len=2 430 CALL Agrif_Set_bc( umsk_id, (/0,0/) ) ! and nbghost=3: 431 CALL Agrif_Set_bc( vmsk_id, (/0,0/) ) ! columns 2 to 10 423 ! CALL Agrif_Set_bc( e3t_id, (/-nn_sponge_len*Agrif_irhox(),ind1-1/) ) 424 ! JC: check near the boundary only until matching in sponge has been sorted out: 425 CALL Agrif_Set_bc( e3t_id, (/0,ind1-1/) ) 426 432 427 # if defined key_vertical 433 428 ! extend the interpolation zone by 1 more point than necessary:
Note: See TracChangeset
for help on using the changeset viewer.