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 862 for trunk/NEMO/LIM_SRC_3/iceini.F90 – NEMO

Ignore:
Timestamp:
2008-03-14T12:23:26+01:00 (16 years ago)
Author:
ctlod
Message:

To ensure the restartability, see ticket:#82

File:
1 edited

Legend:

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

    r844 r862  
    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  
     242      !- Fill in the hi_max_typ vector, useful in other circumstances 
     243      ! Tricky trick 
    247244      ! 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 
     245      ! next flyspray at this time, the tricky trick will also be removed 
    250246      ! Martin, march 08 
    251       hi_max(jpl) = 999.99 
    252  
    253       !- Fill in the hi_max_typ vector, useful in other circumstances 
    254247      DO jl = ice_cat_bounds(1,1), ice_cat_bounds(1,2) 
    255248         hi_max_typ(jl,1) = hi_max(jl) 
     
    265258      END DO 
    266259 
     260      DO jl = 1, jpl 
     261         hi_mean(jl) = ( hi_max(jl) + hi_max(jl-1) ) / 2.0 
     262      END DO 
     263 
    267264      tn_ice(:,:,:) = t_su(:,:,:) 
    268265 
Note: See TracChangeset for help on using the changeset viewer.