Changeset 13295 for NEMO/trunk/src/ICE/icevar.F90
- Timestamp:
- 2020-07-10T20:24:21+02:00 (4 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
NEMO/trunk/src/ICE/icevar.F90
r13226 r13295 243 243 zlay_i = REAL( nlay_i , wp ) ! number of layers 244 244 DO jl = 1, jpl 245 DO_3D _11_11(1, nlay_i )245 DO_3D( 1, 1, 1, 1, 1, nlay_i ) 246 246 IF ( v_i(ji,jj,jl) > epsi20 ) THEN !--- icy area 247 247 ! … … 347 347 z1_dS = 1._wp / ( zsi1 - zsi0 ) 348 348 DO jl = 1, jpl 349 DO_2D _11_11349 DO_2D( 1, 1, 1, 1 ) 350 350 zalpha(ji,jj,jl) = MAX( 0._wp , MIN( ( zsi1 - s_i(ji,jj,jl) ) * z1_dS , 1._wp ) ) 351 351 ! ! force a constant profile when SSS too low (Baltic Sea) … … 356 356 ! Computation of the profile 357 357 DO jl = 1, jpl 358 DO_3D _11_11(1, nlay_i )358 DO_3D( 1, 1, 1, 1, 1, nlay_i ) 359 359 ! ! linear profile with 0 surface value 360 360 zs0 = z_slope_s(ji,jj,jl) * ( REAL(jk,wp) - 0.5_wp ) * h_i(ji,jj,jl) * r1_nlay_i … … 486 486 ! Zap ice energy and use ocean heat to melt ice 487 487 !----------------------------------------------------------------- 488 DO_3D _11_11(1, nlay_i )488 DO_3D( 1, 1, 1, 1, 1, nlay_i ) 489 489 ! update exchanges with ocean 490 490 hfx_res(ji,jj) = hfx_res(ji,jj) - (1._wp - zswitch(ji,jj) ) * e_i(ji,jj,jk,jl) * r1_Dt_ice ! W.m-2 <0 … … 493 493 END_3D 494 494 ! 495 DO_3D _11_11(1, nlay_s )495 DO_3D( 1, 1, 1, 1, 1, nlay_s ) 496 496 ! update exchanges with ocean 497 497 hfx_res(ji,jj) = hfx_res(ji,jj) - (1._wp - zswitch(ji,jj) ) * e_s(ji,jj,jk,jl) * r1_Dt_ice ! W.m-2 <0 … … 503 503 ! zap ice and snow volume, add water and salt to ocean 504 504 !----------------------------------------------------------------- 505 DO_2D _11_11505 DO_2D( 1, 1, 1, 1 ) 506 506 ! update exchanges with ocean 507 507 sfx_res(ji,jj) = sfx_res(ji,jj) + (1._wp - zswitch(ji,jj) ) * sv_i(ji,jj,jl) * rhoi * r1_Dt_ice … … 574 574 ! zap ice energy and send it to the ocean 575 575 !---------------------------------------- 576 DO_3D _11_11(1, nlay_i )576 DO_3D( 1, 1, 1, 1, 1, nlay_i ) 577 577 IF( pe_i(ji,jj,jk,jl) < 0._wp .OR. pa_i(ji,jj,jl) <= 0._wp ) THEN 578 578 hfx_res(ji,jj) = hfx_res(ji,jj) - pe_i(ji,jj,jk,jl) * z1_dt ! W.m-2 >0 … … 581 581 END_3D 582 582 ! 583 DO_3D _11_11(1, nlay_s )583 DO_3D( 1, 1, 1, 1, 1, nlay_s ) 584 584 IF( pe_s(ji,jj,jk,jl) < 0._wp .OR. pa_i(ji,jj,jl) <= 0._wp ) THEN 585 585 hfx_res(ji,jj) = hfx_res(ji,jj) - pe_s(ji,jj,jk,jl) * z1_dt ! W.m-2 <0 … … 591 591 ! zap ice and snow volume, add water and salt to ocean 592 592 !----------------------------------------------------- 593 DO_2D _11_11593 DO_2D( 1, 1, 1, 1 ) 594 594 IF( pv_i(ji,jj,jl) < 0._wp .OR. pa_i(ji,jj,jl) <= 0._wp ) THEN 595 595 wfx_res(ji,jj) = wfx_res(ji,jj) + pv_i (ji,jj,jl) * rhoi * z1_dt
Note: See TracChangeset
for help on using the changeset viewer.