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 8597 for branches/2017/dev_r8183_ICEMODEL/NEMOGCM/NEMO/LIM_SRC_3/iceitd.F90 – NEMO

Ignore:
Timestamp:
2017-10-05T16:44:46+02:00 (7 years ago)
Author:
clem
Message:

first step to make melt ponds compliant with the new code

File:
1 edited

Legend:

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

    r8565 r8597  
    293293            IF ( a_i_1d(ji) > epsi10 .AND. h_i_1d(ji) < rn_himin ) THEN 
    294294               a_i_1d (ji) = a_i_1d(ji) * h_i_1d(ji) / rn_himin  
    295                ! MV MP 2016 
    296                IF ( nn_pnd_scheme > 0 ) THEN 
    297                   a_ip_1d(ji) = a_ip_1d(ji) * h_i_1d(ji) / rn_himin 
    298                ENDIF 
    299                ! END MV MP 2016 
     295               IF ( ln_pnd_H12 )    a_ip_1d(ji) = a_ip_1d(ji) * h_i_1d(ji) / rn_himin 
    300296               h_i_1d(ji) = rn_himin 
    301297            ENDIF 
     
    457453               zaTsfn(ji,jl2)  = zaTsfn(ji,jl2) + ztrans 
    458454               !   
    459                ! MV MP 2016  
    460                IF ( nn_pnd_scheme > 0 ) THEN 
     455               IF ( ln_pnd_H12 ) THEN 
    461456                  !                                                  ! Pond fraction 
    462457                  ztrans          = a_ip_2d(ji,jl1) * pdaice(ji,jl) !!clem: should be * zworka(ji) but it does not work 
     
    468463                  v_ip_2d(ji,jl2) = v_ip_2d(ji,jl2) + ztrans 
    469464               ENDIF 
    470                ! END MV MP 2016 
    471465               ! 
    472466            ENDIF   ! jl1 >0 
Note: See TracChangeset for help on using the changeset viewer.