Changeset 8483


Ignore:
Timestamp:
2017-09-01T12:03:38+02:00 (3 years ago)
Author:
clem
Message:

bug fix following #1937

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/2017/dev_r8183_ICEMODEL/NEMOGCM/NEMO/LIM_SRC_3/icethd.F90

    r8426 r8483  
    182182      IF( .NOT. ln_limdO )  qlead(:,:) = 0._wp 
    183183      ! In case we bypass growing/melting from top and bottom: we suppose ice is impermeable => ocean is isolated from atmosphere 
    184       IF( .NOT. ln_limdH )  hfx_in(:,:) = ( 1._wp - at_i_b(:,:) ) * ( qns_oce(:,:) + qsr_oce(:,:) ) + qemp_oce(:,:) 
    185       IF( .NOT. ln_limdH )  fhtur (:,:) = 0._wp  ;  fhld  (:,:) = 0._wp 
     184      IF( .NOT. ln_limdH ) THEN 
     185         hfx_in(:,:) = ( 1._wp - at_i_b(:,:) ) * ( qns_oce(:,:) + qsr_oce(:,:) ) + qemp_oce(:,:) 
     186         fhtur (:,:) = 0._wp 
     187         fhld  (:,:) = 0._wp 
     188      ENDIF 
    186189 
    187190      ! --------------------------------------------------------------------- 
Note: See TracChangeset for help on using the changeset viewer.