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

Changeset 844


Ignore:
Timestamp:
2008-03-12T15:44:49+01:00 (16 years ago)
Author:
ctlod
Message:

To ensure the restartability with LIM 3.0, fix hi_max(jpl) = 999.99 (m)

Location:
trunk/NEMO/LIM_SRC_3
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/NEMO/LIM_SRC_3/iceini.F90

    r843 r844  
    240240      END DO 
    241241 
     242      DO jl = 1, jpl 
     243         hi_mean(jl) = ( hi_max(jl) + hi_max(jl-1) ) / 2.0 
     244      END DO 
     245 
     246      ! Tricky trick  
     247      ! hi_max_typ is actually not used in the code and will be removed in a 
     248      ! next flyspray 
     249      ! at this time, the tricky trick will also be removed 
     250      ! Martin, march 08 
     251      hi_max(jpl) = 999.99 
     252 
    242253      !- Fill in the hi_max_typ vector, useful in other circumstances 
    243254      DO jl = ice_cat_bounds(1,1), ice_cat_bounds(1,2) 
     
    254265      END DO 
    255266 
    256       DO jl = 1, jpl 
    257          hi_mean(jl) = ( hi_max(jl) + hi_max(jl-1) ) / 2.0 
    258       END DO 
    259  
    260267      tn_ice(:,:,:) = t_su(:,:,:) 
    261268 
  • trunk/NEMO/LIM_SRC_3/limitd_th.F90

    r834 r844  
    325325!----------------------------------------------------------------------------------------------- 
    326326      !- 4.1 Compute category boundaries 
    327       hi_max(kubnd) = 999.99 
     327      ! Tricky trick see iceini.F90 
     328      ! will be soon removed, CT 
     329      ! hi_max(kubnd) = 999.99 
    328330      zhbnew(:,:,:) = 0.0 
    329331 
Note: See TracChangeset for help on using the changeset viewer.