Changeset 7158 for branches/2016/dev_v3_6_STABLE_r6506_AGRIF_LIM3/NEMOGCM/NEMO/OPA_SRC/SBC/sbcice_lim.F90
- Timestamp:
- 2016-10-29T01:21:05+02:00 (7 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/2016/dev_v3_6_STABLE_r6506_AGRIF_LIM3/NEMOGCM/NEMO/OPA_SRC/SBC/sbcice_lim.F90
r7077 r7158 132 132 133 133 # if defined key_agrif 134 IF( .NOT. Agrif_Root() ) THEN 135 lim_nbstep = MOD( lim_nbstep, Agrif_irhot() * Agrif_Parent(nn_fsbc) / nn_fsbc ) + 1 136 ENDIF 134 IF( .NOT. Agrif_Root() ) lim_nbstep = MOD( lim_nbstep, Agrif_irhot() * Agrif_Parent(nn_fsbc) / nn_fsbc ) + 1 137 135 # endif 138 136 … … 180 178 CALL lim_rst_opn( kt ) ! Open Ice restart file 181 179 ! 182 #if defined key_agrif183 IF( .NOT. Agrif_Root() ) CALL agrif_interp_lim3('T')184 #endif185 180 ! --- zap this if no ice dynamics --- ! 186 181 IF( .NOT. lk_c1d .AND. ln_limdyn ) THEN … … 201 196 ! --- 202 197 #if defined key_agrif 203 IF( .NOT. Agrif_Root() )CALL agrif_interp_lim3('T')198 IF( .NOT. Agrif_Root() ) CALL agrif_interp_lim3('T') 204 199 #endif 205 200 #if defined key_bdy … … 270 265 CALL lim_var_agg( 2 ) ! necessary calls (at least for coupling) 271 266 ! 267 # if defined key_agrif 268 !! IF( .NOT. Agrif_Root() ) CALL Agrif_ChildGrid_To_ParentGrid() ! clem: should be called at the update frequency only (cf agrif_lim3_update) 269 # endif 272 270 CALL lim_sbc_flx( kt ) ! -- Update surface ocean mass, heat and salt fluxes 273 ! 271 # if defined key_agrif 272 !! IF( .NOT. Agrif_Root() ) CALL Agrif_ParentGrid_To_ChildGrid() ! clem: should be called at the update frequency only (cf agrif_lim3_update) 273 # endif 274 274 IF( ln_limdiahsb ) CALL lim_diahsb( kt ) ! -- Diagnostics and outputs 275 275 ! … … 438 438 ! 439 439 ! sea-ice timestep and inverse 440 rdt_ice = nn_fsbc * rdttra(1)440 rdt_ice = REAL(nn_fsbc) * rdt 441 441 r1_rdtice = 1._wp / rdt_ice 442 442 … … 448 448 IF( lwp .AND. ln_limdiachk ) CALL ctl_warn('online conservation check activated but it does not work with BDY') 449 449 #endif 450 ! 451 IF( lwp ) WRITE(numout,*) ' ice timestep rdt_ice = ', rdt_ice 450 452 ! 451 453 END SUBROUTINE ice_run
Note: See TracChangeset
for help on using the changeset viewer.