- Timestamp:
- 2020-07-08T13:34:28+02:00 (4 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
NEMO/branches/2020/tickets_2494_2375/src/OCE/ICB/icbini.F90
r12489 r13265 82 82 ff_e(:,:) = 0._wp ; tt_e(:,:) = 0._wp ; 83 83 fr_e(:,:) = 0._wp ; 84 ! prepration to Nacho work 85 ! e3t_e 86 ! tt3d_e 87 ! uo3d_e 88 ! vo3d_e 89 ! 84 90 #if defined key_si3 85 91 hi_e(:,:) = 0._wp ; … … 242 248 CALL lbc_lnk_icb( 'icbini', umask_e, 'T', +1._wp, 1, 1 ) 243 249 CALL lbc_lnk_icb( 'icbini', vmask_e, 'T', +1._wp, 1, 1 ) 244 ! 250 251 ! definition of extended lat/lon array needed by icb_bilin_h 252 rlon_e(:,:) = 0._wp ; rlon_e(1:jpi,1:jpj) = glamt(:,:) 253 rlat_e(:,:) = 0._wp ; rlat_e(1:jpi,1:jpj) = gphit(:,:) 254 CALL lbc_lnk_icb( 'icbini', rlon_e, 'T', +1._wp, 1, 1 ) 255 CALL lbc_lnk_icb( 'icbini', rlat_e, 'T', +1._wp, 1, 1 ) 256 ! 257 ! definnitionn of extennded ff_f array needed by icb_utl_interp 258 ff_e(:,:) = 0._wp ; ff_e(1:jpi,1:jpj) = ff_f(:,:) 259 CALL lbc_lnk_icb( 'icbini', ff_e, 'F', +1._wp, 1, 1 ) 260 245 261 ! assign each new iceberg with a unique number constructed from the processor number 246 262 ! and incremented by the total number of processors … … 338 354 localpt%xi = REAL( mig(ji), wp ) 339 355 localpt%yj = REAL( mjg(jj), wp ) 340 localpt%lon = icb_utl_bilin(glamt, localpt%xi, localpt%yj, 'T' ) 341 localpt%lat = icb_utl_bilin(gphit, localpt%xi, localpt%yj, 'T' ) 356 CALL icb_utl_interp( localpt%xi, localpt%yj, plat=localpt%lat, plon=localpt%lon ) 342 357 localpt%mass = rn_initial_mass (iberg) 343 358 localpt%thickness = rn_initial_thickness(iberg)
Note: See TracChangeset
for help on using the changeset viewer.