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 4332 for branches/2013/dev_r4028_CNRS_LIM3/NEMOGCM/NEMO/LIM_SRC_3/iceini.F90 – NEMO

Ignore:
Timestamp:
2013-12-11T15:38:42+01:00 (10 years ago)
Author:
clem
Message:

update LIM3 to fix remaining bugs. Now working in global and regional config.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/2013/dev_r4028_CNRS_LIM3/NEMOGCM/NEMO/LIM_SRC_3/iceini.F90

    r4220 r4332  
    8888      ! 
    8989      !                                ! Initial sea-ice state 
    90       IF( .NOT.ln_rstart ) THEN              ! start from rest 
     90      IF( .NOT. ln_rstart ) THEN              ! start from rest 
    9191         numit = 0 
    9292         numit = nit000 - 1 
     
    101101      ENDIF 
    102102      ! 
    103       CALL lim_sbc_init                ! ice surface boundary condition    
    104       ! 
    105       fr_i(:,:) = at_i(:,:)           ! initialisation of sea-ice fraction 
    106       tn_ice(:,:,:) = t_su(:,:,:) 
     103      hi_max(jpl) = 99._wp  ! Set hi_max(jpl) to a big value to ensure that all ice is thinner than hi_max(jpl) 
     104      ! 
     105      CALL lim_sbc_init                 ! ice surface boundary condition    
     106      ! 
     107      fr_i(:,:) = at_i(:,:)             ! initialisation of sea-ice fraction 
     108      tn_ice(:,:,:) = t_su(:,:,:)       ! initialisation of surface temp for coupled simu 
    107109      ! 
    108110      nstart = numit  + nn_fsbc       
     
    132134      READ  ( numnam_ice , namicerun ) 
    133135      ! 
    134       IF( lk_mpp .AND. ln_nicep ) THEN 
    135          ln_nicep = .FALSE. 
    136          CALL ctl_warn( 'ice_run : specific control print for LIM3 desactivated with MPI' ) 
    137       ENDIF 
     136      !IF( lk_mpp .AND. ln_nicep ) THEN 
     137      !   ln_nicep = .FALSE. 
     138      !   CALL ctl_warn( 'ice_run : specific control print for LIM3 desactivated with MPI' ) 
     139      !ENDIF 
    138140      ! 
    139141      IF(lwp) THEN                        ! control print 
     
    159161      !! ** Purpose :   Initializes the ice thickness distribution 
    160162      !! ** Method  :   ... 
     163      !!    Note    : hi_max(jpl) is here set up to a value close to 7 m for 
     164      !!              limistate (only) and is changed to 99 m in ice_init 
    161165      !!------------------------------------------------------------------ 
    162166      INTEGER  ::   jl, jm               ! dummy loop index 
Note: See TracChangeset for help on using the changeset viewer.