Changeset 11268 for NEMO/branches/2019/dev_r10984_HPC-13_IRRMANN_BDY_optimization/src/OCE/BDY/bdydta.F90
- Timestamp:
- 2019-07-15T15:20:49+02:00 (5 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
NEMO/branches/2019/dev_r10984_HPC-13_IRRMANN_BDY_optimization/src/OCE/BDY/bdydta.F90
r11224 r11268 331 331 LOGICAL :: ln_full_vel ! =T => full velocities in 3D boundary data 332 332 ! ! =F => baroclinic velocities in 3D boundary data 333 INTEGER :: ipk,ipl ! 333 LOGICAL :: ln_zinterp ! =T => requires a vertical interpolation of the bdydta 334 INTEGER :: ipk,ipl ! 334 335 INTEGER :: idvar ! variable ID 335 336 INTEGER :: indims ! number of dimensions of the variable … … 348 349 NAMELIST/nambdy_dta/ cn_dir, bn_tem, bn_sal, bn_u3d, bn_v3d, bn_ssh, bn_u2d, bn_v2d 349 350 NAMELIST/nambdy_dta/ bn_a_i, bn_h_i, bn_h_s 350 NAMELIST/nambdy_dta/ ln_full_vel 351 NAMELIST/nambdy_dta/ ln_full_vel, ln_zinterp 351 352 !!--------------------------------------------------------------------------- 352 353 ! … … 361 362 ENDIF 362 363 bf(:,:)%clrootname = 'NOT USED' ! default definition used as a flag in fld_read to do nothing. 363 bf(:,:)%ltotvel = .FALSE. ! default definition 364 bf(:,:)%lzint = .FALSE. ! default definition 365 bf(:,:)%ltotvel = .FALSE. ! default definition 364 366 365 367 ! Read namelists … … 521 523 CALL fld_fill( bf_alias, bn_alias, cn_dir, 'bdy_dta', cl3//' '//ctmp1, ctmp2 ) ! use namelist info 522 524 IF( bf_alias(1)%ln_tint ) ALLOCATE( bf_alias(1)%fdta( iszdim, 1, ipk, 2 ) ) 523 bf_alias(1)%imap => idx_bdy(jbdy)%nbmap(1:iszdim,igrd)! associate the mapping used for this bdy524 bf_alias(1)%igrd = igrd! used only for vertical integration of 3D arrays525 bf_alias(1)%imap => idx_bdy(jbdy)%nbmap(1:iszdim,igrd) ! associate the mapping used for this bdy 526 bf_alias(1)%igrd = igrd ! used only for vertical integration of 3D arrays 525 527 bf_alias(1)%ltotvel = ln_full_vel ! T if u3d is full velocity 528 bf_alias(1)%lzint = ln_zinterp ! T if it requires a vertical interpolation 526 529 ENDIF 527 530
Note: See TracChangeset
for help on using the changeset viewer.