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 5051 for branches/2015/dev_r5044_CNRS_LIM3CLEAN/NEMOGCM/NEMO/LIM_SRC_3/limupdate2.F90 – NEMO

Ignore:
Timestamp:
2015-02-02T18:31:34+01:00 (9 years ago)
Author:
clem
Message:

LIM3 initialization is now called at the same time as other sbc fields

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/2015/dev_r5044_CNRS_LIM3CLEAN/NEMOGCM/NEMO/LIM_SRC_3/limupdate2.F90

    r4990 r5051  
    7878      ! zap small values 
    7979      !----------------- 
    80       CALL lim_itd_me_zapsmall 
    81  
     80      CALL lim_var_agg( 1 ) 
     81      CALL lim_var_zapsmall 
    8282      CALL lim_var_glo2eqv 
    8383 
     
    133133      ! zap small values 
    134134      !----------------- 
    135       CALL lim_itd_me_zapsmall 
     135      CALL lim_var_zapsmall 
    136136 
    137137      !--------------------- 
     
    176176      v_ice(:,:) = v_ice(:,:) * tmv(:,:) 
    177177  
     178      ! for outputs 
     179      CALL lim_var_glo2eqv            ! equivalent variables (outputs) 
     180      CALL lim_var_agg(2)             ! aggregate ice thickness categories 
     181 
    178182      ! ------------------------------------------------- 
    179183      ! Diagnostics 
    180184      ! ------------------------------------------------- 
     185      DO jl  = 1, jpl 
     186         afx_thd(:,:) = afx_thd(:,:) + ( a_i(:,:,jl) - a_i_b(:,:,jl) ) * r1_rdtice 
     187      END DO 
     188      afx_tot = afx_thd + afx_dyn 
     189 
    181190      d_a_i_thd(:,:,:)   = a_i(:,:,:)   - a_i_b(:,:,:)  
    182191      d_v_s_thd(:,:,:)   = v_s(:,:,:)   - v_s_b(:,:,:) 
     
    187196      d_smv_i_thd(:,:,:) = 0._wp 
    188197      IF( num_sal == 2 )   d_smv_i_thd(:,:,:) = smv_i(:,:,:) - smv_i_b(:,:,:) 
    189       ! diag only (clem) 
    190       dv_dt_thd(:,:,:) = d_v_i_thd(:,:,:) * r1_rdtice * rday 
    191198 
    192199      ! heat content variation (W.m-2) 
Note: See TracChangeset for help on using the changeset viewer.