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 8106 for branches/2016/dev_r6859_LIM3_meltponds/NEMOGCM/NEMO/LIM_SRC_3/limistate.F90 – NEMO

Ignore:
Timestamp:
2017-06-01T09:54:36+02:00 (7 years ago)
Author:
vancop
Message:

Follow up on melt ponds and albedo

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/2016/dev_r6859_LIM3_meltponds/NEMOGCM/NEMO/LIM_SRC_3/limistate.F90

    r8098 r8106  
    383383 
    384384            DO jl = 1, jpl 
    385                a_ip(:,:,jl) = 0.1 * zswitch(:,:) 
    386                v_ip(:,:,jl) = 0.1 * zswitch(:,:) * a_ip(:,:,jl) 
     385 
     386               a_ip_frac(:,:,jl) = 0.2 *  zswitch(:,:) 
     387               h_ip     (:,:,jl) = 0.05 * zswitch(:,:) 
     388               a_ip(:,:,jl)      = a_ip_frac(:,:,jl) * a_i (:,:,jl)  
     389               v_ip(:,:,jl)      = h_ip     (:,:,jl) * a_ip(:,:,jl) 
     390 
    387391            END DO 
    388392 
    389393         ELSE 
    390394 
    391             a_ip = 0._wp 
    392             v_ip = 0._wp 
     395            a_ip(:,:,:)      = 0._wp 
     396            v_ip(:,:,:)      = 0._wp 
     397            a_ip_frac(:,:,:) = 0._wp 
     398            h_ip     (:,:,:) = 0._wp 
    393399 
    394400         ENDIF 
     
    418424         END DO 
    419425 
    420          ! MV MP 2016 
    421426         a_ip(:,:,:)      = 0._wp 
    422427         v_ip(:,:,:)      = 0._wp 
    423          ! END MV MP 2016 
     428         a_ip_frac(:,:,:) = 0._wp 
     429         h_ip     (:,:,:) = 0._wp 
    424430 
    425431      ENDIF ! ln_limini 
Note: See TracChangeset for help on using the changeset viewer.