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 6584 for branches/2016/dev_v3_6_STABLE_r6506_AGRIF_LIM3/NEMOGCM/NEMO/LIM_SRC_3/limvar.F90 – NEMO

Ignore:
Timestamp:
2016-05-20T11:54:18+02:00 (8 years ago)
Author:
clem
Message:

LIM3 and Agrif compatibility

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/2016/dev_v3_6_STABLE_r6506_AGRIF_LIM3/NEMOGCM/NEMO/LIM_SRC_3/limvar.F90

    r6515 r6584  
    8989      vt_s (:,:) = SUM( v_s, dim=3 ) 
    9090      at_i (:,:) = SUM( a_i, dim=3 ) 
     91      et_s(:,:)  = SUM( SUM( e_s(:,:,:,:), dim=4 ), dim=3 ) 
     92      et_i(:,:)  = SUM( SUM( e_i(:,:,:,:), dim=4 ), dim=3 ) 
    9193 
    9294      ! open water fraction 
     
    98100 
    99101      IF( kn > 1 ) THEN 
    100          et_s(:,:)  = SUM( SUM( e_s(:,:,:,:), dim=4 ), dim=3 )  ! snow heat content 
    101          et_i(:,:)  = SUM( SUM( e_i(:,:,:,:), dim=4 ), dim=3 )  ! ice  heat content 
    102102 
    103103         ! mean ice/snow thickness 
Note: See TracChangeset for help on using the changeset viewer.