Changeset 13601 for NEMO/trunk/src/ICE/icecor.F90
- Timestamp:
- 2020-10-14T17:59:34+02:00 (4 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
NEMO/trunk/src/ICE/icecor.F90
r13497 r13601 95 95 zsal = sv_i(ji,jj,jl) 96 96 sv_i(ji,jj,jl) = MIN( MAX( rn_simin*v_i(ji,jj,jl) , sv_i(ji,jj,jl) ) , rn_simax*v_i(ji,jj,jl) ) 97 sfx_res(ji,jj) = sfx_res(ji,jj) - ( sv_i(ji,jj,jl) - zsal ) * zzc ! associated salt flux 97 IF( kn /= 0 ) & ! no ice-ocean exchanges if kn=0 (for bdy for instance) otherwise conservation diags will fail 98 & sfx_res(ji,jj) = sfx_res(ji,jj) - ( sv_i(ji,jj,jl) - zsal ) * zzc ! associated salt flux 98 99 END_2D 99 100 END DO 100 101 ENDIF 101 ! !-----------------------------------------------------102 CALL ice_var_zapsmall ! Zap small values !103 ! !-----------------------------------------------------104 102 103 IF( kn /= 0 ) THEN ! no zapsmall if kn=0 (for bdy for instance) because we do not want ice-ocean exchanges (wfx,sfx,hfx) 104 ! otherwise conservation diags will fail 105 ! !----------------------------------------------------- 106 CALL ice_var_zapsmall ! Zap small values ! 107 ! !----------------------------------------------------- 108 ENDIF 105 109 ! !----------------------------------------------------- 106 110 IF( kn == 2 ) THEN ! Ice drift case: Corrections to avoid wrong values !
Note: See TracChangeset
for help on using the changeset viewer.