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 8313 for branches/2017/dev_r8183_ICEMODEL/NEMOGCM/NEMO/OPA_SRC/ASM – NEMO

Ignore:
Timestamp:
2017-07-10T20:24:21+02:00 (7 years ago)
Author:
clem
Message:

STEP2 (2): remove obsolete features

Location:
branches/2017/dev_r8183_ICEMODEL/NEMOGCM/NEMO/OPA_SRC/ASM
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • branches/2017/dev_r8183_ICEMODEL/NEMOGCM/NEMO/OPA_SRC/ASM/asmbkg.F90

    r8306 r8313  
    146146            CALL iom_rstput( kt, nitdin_r, inum, 'sshn'   , sshn              ) 
    147147#if defined key_lim3 
    148             IF( nn_ice == 2  .OR.  nn_ice == 3 ) THEN 
    149                IF( ALLOCATED(frld) ) THEN 
    150                   CALL iom_rstput( kt, nitdin_r, inum, 'iceconc', 1._wp - frld(:,:)   ) 
     148            IF( nn_ice == 3 ) THEN 
     149               IF( ALLOCATED(at_i) ) THEN 
     150                  CALL iom_rstput( kt, nitdin_r, inum, 'iceconc', at_i(:,:)   ) 
    151151               ELSE 
    152                   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') 
    153153               ENDIF 
    154154            ENDIF 
  • branches/2017/dev_r8183_ICEMODEL/NEMOGCM/NEMO/OPA_SRC/ASM/asminc.F90

    r8306 r8313  
    3636   USE lib_mpp          ! MPP library 
    3737#if defined key_lim3 
    38    USE ice,   ONLY: htm_i, at_i, pfrld, phicif 
     38   USE ice,   ONLY: htm_i, at_i, at_i_b 
    3939#endif 
    4040   USE sbc_oce          ! Surface boundary condition variables. 
     
    837837            zohicif(:,:) = htm_i(:,:) 
    838838            ! 
    839             at_i(:,:) = 1. - MIN( MAX( 1.-at_i(:,:) - seaice_bkginc(:,:) * zincwgt, 0.0_wp), 1.0_wp) 
    840             pfrld     =      MIN( MAX( pfrld(:,:)  - seaice_bkginc(:,:) * zincwgt, 0.0_wp), 1.0_wp) 
     839            at_i  (:,:) = 1. - MIN( MAX( 1.-at_i  (:,:) - seaice_bkginc(:,:) * zincwgt, 0.0_wp), 1.0_wp) 
     840            at_i_b(:,:) = 1. - MIN( MAX( 1.-at_i_b(:,:) - seaice_bkginc(:,:) * zincwgt, 0.0_wp), 1.0_wp) 
    841841            fr_i(:,:) = at_i(:,:)        ! adjust ice fraction 
    842842            ! 
     
    852852            ! nudge ice depth 
    853853            htm_i (:,:) = htm_i (:,:) + zhicifinc(:,:) 
    854             phicif(:,:) = phicif(:,:) + zhicifinc(:,:)        
    855854            ! 
    856855            ! seaice salinity balancing (to add) 
     
    889888            ! Initialize the now fields the background + increment 
    890889            at_i(:,:) = 1. - MIN( MAX( 1.-at_i(:,:) - seaice_bkginc(:,:), 0.0_wp), 1.0_wp) 
    891             pfrld(:,:) = 1.-at_i(:,:)  
     890            at_i_b(:,:) = at_i(:,:)  
    892891            fr_i(:,:) = at_i(:,:)        ! adjust ice fraction 
    893892            ! 
     
    903902            ! nudge ice depth 
    904903            htm_i (:,:) = htm_i (:,:) + zhicifinc(:,:) 
    905             phicif(:,:) = phicif(:,:)        
    906904            ! 
    907905            ! seaice salinity balancing (to add) 
Note: See TracChangeset for help on using the changeset viewer.