New URL for NEMO forge!   http://forge.nemo-ocean.eu

Since March 2022 along with NEMO 4.2 release, the code development moved to a self-hosted GitLab.
This present forge is now archived and remained online for history.
Changeset 8482 for branches/2017/dev_r8127_AGRIF_LIM3_GHOST – NEMO

Ignore:
Timestamp:
2017-09-01T12:02:50+02:00 (7 years ago)
Author:
clem
Message:

bug fix following #1937

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/2017/dev_r8127_AGRIF_LIM3_GHOST/NEMOGCM/NEMO/LIM_SRC_3/limthd.F90

    r7813 r8482  
    205205      IF( .NOT. ln_limdO )  qlead(:,:) = 0._wp 
    206206      ! In case we bypass growing/melting from top and bottom: we suppose ice is impermeable => ocean is isolated from atmosphere 
    207       IF( .NOT. ln_limdH )  hfx_in(:,:) = pfrld(:,:) * ( qns_oce(:,:) + qsr_oce(:,:) ) + qemp_oce(:,:) 
    208       IF( .NOT. ln_limdH )  fhtur (:,:) = 0._wp  ;  fhld  (:,:) = 0._wp 
     207      IF( .NOT. ln_limdH ) THEN 
     208         hfx_in(:,:) = pfrld(:,:) * ( qns_oce(:,:) + qsr_oce(:,:) ) + qemp_oce(:,:) 
     209         fhtur (:,:) = 0._wp 
     210         fhld  (:,:) = 0._wp 
     211      ENDIF 
    209212 
    210213      ! --------------------------------------------------------------------- 
Note: See TracChangeset for help on using the changeset viewer.