- Timestamp:
- 2020-10-01T13:33:30+02:00 (4 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
NEMO/branches/2020/dev_r13383_HPC-02_Daley_Tiling/src/ICE/icecor.F90
r13295 r13553 81 81 DO jl = 1, jpl 82 82 WHERE( at_i(:,:) > rn_amax_2d(:,:) ) a_i(:,:,jl) = a_i(:,:,jl) * rn_amax_2d(:,:) / at_i(:,:) 83 END DO 84 83 END DO 84 ! !----------------------------------------------------- 85 ! ! Rebin categories with thickness out of bounds ! 86 ! !----------------------------------------------------- 87 IF ( jpl > 1 ) CALL ice_itd_reb( kt ) 88 ! 85 89 ! !----------------------------------------------------- 86 90 IF ( nn_icesal == 2 ) THEN ! salinity must stay in bounds [Simin,Simax] ! … … 96 100 ENDIF 97 101 ! !----------------------------------------------------- 98 ! ! Rebin categories with thickness out of bounds !99 ! !-----------------------------------------------------100 IF ( jpl > 1 ) CALL ice_itd_reb( kt )101 102 ! !-----------------------------------------------------103 102 CALL ice_var_zapsmall ! Zap small values ! 104 103 ! !----------------------------------------------------- … … 106 105 ! !----------------------------------------------------- 107 106 IF( kn == 2 ) THEN ! Ice drift case: Corrections to avoid wrong values ! 108 DO_2D( 0, 0, 0, 0 ) 107 DO_2D( 0, 0, 0, 0 ) !----------------------------------------------------- 109 108 IF ( at_i(ji,jj) == 0._wp ) THEN ! what to do if there is no ice 110 109 IF ( at_i(ji+1,jj) == 0._wp ) u_ice(ji ,jj) = 0._wp ! right side
Note: See TracChangeset
for help on using the changeset viewer.