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 9118 for branches/2017/dev_merge_2017/NEMOGCM/NEMO/LIM_SRC_3/icevar.F90 – NEMO

Ignore:
Timestamp:
2017-12-18T16:17:44+01:00 (6 years ago)
Author:
clem
Message:

debug ice test cases with thermo or dynamics only

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/2017/dev_merge_2017/NEMOGCM/NEMO/LIM_SRC_3/icevar.F90

    r9019 r9118  
    124124         tm_si(:,:) = SUM( t_si(:,:,:) * a_i(:,:,:) , dim=3 ) * z1_at_i(:,:) 
    125125         om_i (:,:) = SUM( oa_i(:,:,:)              , dim=3 ) * z1_at_i(:,:) 
     126         sm_i (:,:) = SUM( sv_i(:,:,:)              , dim=3 ) * z1_vt_i(:,:) 
    126127         ! 
    127128         tm_i(:,:) = 0._wp 
    128          sm_i(:,:) = 0._wp 
    129129         DO jl = 1, jpl 
    130130            DO jk = 1, nlay_i 
    131131               tm_i(:,:) = tm_i(:,:) + r1_nlay_i * t_i (:,:,jk,jl) * v_i(:,:,jl) * z1_vt_i(:,:) 
    132                sm_i(:,:) = sm_i(:,:) + r1_nlay_i * sz_i(:,:,jk,jl) * v_i(:,:,jl) * z1_vt_i(:,:) 
    133132            END DO 
    134133         END DO 
     
    298297         !            !---------------------------------------! 
    299298         sz_i(:,:,:,:) = rn_icesal 
    300          s_i(:,:,:)   = rn_icesal 
     299         s_i (:,:,:)   = rn_icesal 
    301300         ! 
    302301         !            !---------------------------------------------! 
     
    313312         !                                      ! Slope of the linear profile  
    314313         WHERE( h_i(:,:,:) > epsi20 )   ;   z_slope_s(:,:,:) = 2._wp * s_i(:,:,:) / h_i(:,:,:) 
    315          ELSEWHERE                       ;   z_slope_s(:,:,:) = 0._wp 
     314         ELSEWHERE                      ;   z_slope_s(:,:,:) = 0._wp 
    316315         END WHERE 
    317316         ! 
Note: See TracChangeset for help on using the changeset viewer.