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 8738 for branches/UKMO/dev_r8183_ICEMODEL_svn_removed/NEMOGCM/NEMO/OPA_SRC/ASM/asmbkg.F90 – NEMO

Ignore:
Timestamp:
2017-11-17T15:40:12+01:00 (6 years ago)
Author:
dancopsey
Message:

Merged in main ICEMODEL branch (branches/2017/dev_r8183_ICEMODEL) up to revision 8588

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/UKMO/dev_r8183_ICEMODEL_svn_removed/NEMOGCM/NEMO/OPA_SRC/ASM/asmbkg.F90

    r8733 r8738  
    3838   USE asmpar             ! Parameters for the assmilation interface 
    3939   USE zdfmxl             ! mixed layer depth 
    40 #if defined key_lim2 
    41    USE ice_2 
    42 #endif 
    4340#if defined key_lim3 
    4441   USE ice 
     
    148145            CALL iom_rstput( kt, nitdin_r, inum, 'sn'     , tsn(:,:,:,jp_sal) ) 
    149146            CALL iom_rstput( kt, nitdin_r, inum, 'sshn'   , sshn              ) 
    150 #if defined key_lim2 || defined key_lim3 
    151             IF( nn_ice == 2  .OR.  nn_ice == 3 ) THEN 
    152                IF( ALLOCATED(frld) ) THEN 
    153                   CALL iom_rstput( kt, nitdin_r, inum, 'iceconc', 1._wp - frld(:,:)   ) 
     147#if defined key_lim3 
     148            IF( nn_ice == 2 ) THEN 
     149               IF( ALLOCATED(at_i) ) THEN 
     150                  CALL iom_rstput( kt, nitdin_r, inum, 'iceconc', at_i(:,:)   ) 
    154151               ELSE 
    155                   CALL ctl_warn('Ice concentration not written to background as ice variable frld not allocated on this timestep') 
     152                  CALL ctl_warn('Ice concentration not written to background as ice variable at_i not allocated on this timestep') 
    156153               ENDIF 
    157154            ENDIF 
Note: See TracChangeset for help on using the changeset viewer.