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 9657 for NEMO/trunk/src/OCE/BDY/bdyice.F90 – NEMO

Ignore:
Timestamp:
2018-05-28T12:19:58+02:00 (6 years ago)
Author:
clem
Message:

change nn_ice_lim and cn_ice_lim to nn_ice and cn_ice for BDY

File:
1 edited

Legend:

Unmodified
Added
Removed
  • NEMO/trunk/src/OCE/BDY/bdyice.F90

    r9656 r9657  
    6464      DO ib_bdy = 1, nb_bdy 
    6565         ! 
    66          SELECT CASE( cn_ice_lim(ib_bdy) ) 
     66         SELECT CASE( cn_ice(ib_bdy) ) 
    6767         CASE('none')   ;   CYCLE 
    6868         CASE('frs' )   ;   CALL bdy_ice_frs( idx_bdy(ib_bdy), dta_bdy(ib_bdy), kt, ib_bdy ) 
     
    157157            IF( v_ice(ji  ,jj-1) > 0. .AND. vmask(ji  ,jj+1,1) == 0. ) jpbound = 1; ii = ji  ; ij = jj-1 
    158158            ! 
    159             IF( nn_ice_lim_dta(ib_bdy) == 0 ) jpbound = 0; ii = ji; ij = jj   ! case ice boundaries = initial conditions 
    160             !                                                                 !      do not make state variables dependent on velocity 
     159            IF( nn_ice_dta(ib_bdy) == 0 ) jpbound = 0; ii = ji; ij = jj   ! case ice boundaries = initial conditions 
     160            !                                                             !      do not make state variables dependent on velocity 
    161161            ! 
    162162            rswitch = MAX( 0.0_wp , SIGN ( 1.0_wp , at_i(ii,ij) - 0.01 ) ) ! 0 if no ice 
     
    278278      DO ib_bdy=1, nb_bdy 
    279279         ! 
    280          SELECT CASE( cn_ice_lim(ib_bdy) ) 
     280         SELECT CASE( cn_ice(ib_bdy) ) 
    281281         ! 
    282282         CASE('none') 
     
    285285         CASE('frs') 
    286286            ! 
    287             IF( nn_ice_lim_dta(ib_bdy) == 0 ) CYCLE            ! case ice boundaries = initial conditions  
    288             !                                                  !      do not change ice velocity (it is only computed by rheology) 
     287            IF( nn_ice_dta(ib_bdy) == 0 ) CYCLE            ! case ice boundaries = initial conditions  
     288            !                                              !      do not change ice velocity (it is only computed by rheology) 
    289289            SELECT CASE ( cd_type ) 
    290290            !      
Note: See TracChangeset for help on using the changeset viewer.