Changeset 5134 for trunk/NEMOGCM/NEMO/LIM_SRC_3/limupdate1.F90
- Timestamp:
- 2015-03-09T18:27:34+01:00 (9 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/NEMOGCM/NEMO/LIM_SRC_3/limupdate1.F90
r5123 r5134 69 69 IF( ln_limdiahsb ) CALL lim_cons_hsm(0, 'limupdate1', zvi_b, zsmv_b, zei_b, zfw_b, zfs_b, zft_b) 70 70 71 !-----------------72 ! zap small values73 !-----------------74 CALL lim_var_zapsmall75 76 71 CALL lim_var_glo2eqv 77 78 72 !---------------------------------------------------- 79 ! Rebin categories with thickness out of bounds 80 !---------------------------------------------------- 81 IF ( jpl > 1 ) CALL lim_itd_th_reb(1, jpl) 82 73 ! ice concentration should not exceed amax 74 !----------------------------------------------------- 83 75 at_i(:,:) = 0._wp 84 76 DO jl = 1, jpl … … 86 78 END DO 87 79 88 !----------------------------------------------------89 ! ice concentration should not exceed amax90 !-----------------------------------------------------91 80 DO jl = 1, jpl 92 81 DO jj = 1, jpj … … 94 83 IF( at_i(ji,jj) > rn_amax .AND. a_i(ji,jj,jl) > 0._wp ) THEN 95 84 a_i(ji,jj,jl) = a_i(ji,jj,jl) * ( 1._wp - ( 1._wp - rn_amax / at_i(ji,jj) ) ) 96 ht_i(ji,jj,jl) = v_i(ji,jj,jl) / a_i(ji,jj,jl)97 85 ENDIF 98 86 END DO 99 87 END DO 100 88 END DO 101 102 at_i(:,:) = 0._wp103 DO jl = 1, jpl104 at_i(:,:) = a_i(:,:,jl) + at_i(:,:)105 END DO106 89 107 ! 108 ! Final thickness distribution rebinning109 ! 90 !---------------------------------------------------- 91 ! Rebin categories with thickness out of bounds 92 !---------------------------------------------------- 110 93 IF ( jpl > 1 ) CALL lim_itd_th_reb(1, jpl) 111 94
Note: See TracChangeset
for help on using the changeset viewer.