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 3816 – NEMO

Changeset 3816


Ignore:
Timestamp:
2013-02-20T16:30:12+01:00 (11 years ago)
Author:
clevy
Message:

Bugfix on articifial ice source, see ticket:#1054

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/2012/dev_v3_4_STABLE_2012/NEMOGCM/NEMO/LIM_SRC_3/limupdate.F90

    r3558 r3816  
    8181      INTEGER ::   i_ice_switch 
    8282      INTEGER ::   ind_im, layer      ! indices for internal melt 
    83       REAL(wp) ::   zweight, zesum, zhimax, z_da_i, z_dv_i 
     83      REAL(wp) ::   zweight, zesum, zhimax, z_da_i 
    8484      REAL(wp) ::   zindb, zindsn, zindic, zacrith 
    8585      REAL(wp) ::   zrtt, zindg, zh, zdvres, zviold 
     
    823823               zindb   =  MAX( rzero, SIGN( rone, v_i(ji,jj,jl) ) )  
    824824               z_da_i = a_i(ji,jj,jl) * z_da_ex / MAX( at_i(ji,jj), epsi06 ) * zindb 
    825                z_dv_i = v_i(ji,jj,jl) * z_da_i  / MAX( at_i(ji,jj), epsi06 ) 
    826825               a_i(ji,jj,jl) = a_i(ji,jj,jl) - z_da_i 
    827                v_i(ji,jj,jl) = v_i(ji,jj,jl) + z_dv_i 
    828826            END DO 
    829827 
Note: See TracChangeset for help on using the changeset viewer.