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 11949 for NEMO/branches/2019/dev_r11943_MERGE_2019/src/ICE/icestp.F90 – NEMO

Ignore:
Timestamp:
2019-11-22T15:29:17+01:00 (4 years ago)
Author:
acc
Message:

Merge in changes from 2019/dev_r10721_KERNEL-02_Storkey_Coward_IMMERSE_first_steps. This just creates a fresh copy of this branch to use as the merge base. See ticket #2341

Location:
NEMO/branches/2019/dev_r11943_MERGE_2019/src
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • NEMO/branches/2019/dev_r11943_MERGE_2019/src

    • Property svn:mergeinfo deleted
  • NEMO/branches/2019/dev_r11943_MERGE_2019/src/ICE/icestp.F90

    r11536 r11949  
    9595CONTAINS 
    9696 
    97    SUBROUTINE ice_stp( kt, ksbc ) 
     97   SUBROUTINE ice_stp( kt, Kbb, Kmm, ksbc ) 
    9898      !!--------------------------------------------------------------------- 
    9999      !!                  ***  ROUTINE ice_stp  *** 
     
    115115      !!                utau, vtau, taum, wndm, qns , qsr, emp , sfx 
    116116      !!--------------------------------------------------------------------- 
    117       INTEGER, INTENT(in) ::   kt      ! ocean time step 
    118       INTEGER, INTENT(in) ::   ksbc    ! flux formulation (user defined, bulk, or Pure Coupled) 
     117      INTEGER, INTENT(in) ::   kt       ! ocean time step 
     118      INTEGER, INTENT(in) ::   Kbb, Kmm ! ocean time level indices 
     119      INTEGER, INTENT(in) ::   ksbc     ! flux formulation (user defined, bulk, or Pure Coupled) 
    119120      ! 
    120121      INTEGER ::   jl   ! dummy loop index 
     
    160161         ! 
    161162         IF( ln_icedyn .AND. .NOT.lk_c1d )   & 
    162             &                           CALL ice_dyn( kt )            ! -- Ice dynamics 
     163            &                           CALL ice_dyn( kt, Kmm )       ! -- Ice dynamics 
    163164         ! 
    164165         !                          !==  lateral boundary conditions  ==! 
     
    209210      ! --- Ocean time step --- ! 
    210211      !-------------------------! 
    211       IF( ln_icedyn )                   CALL ice_update_tau( kt, ub(:,:,1), vb(:,:,1) )   ! -- update surface ocean stresses 
     212      IF( ln_icedyn )                   CALL ice_update_tau( kt, uu(:,:,1,Kbb), vv(:,:,1,Kbb) )   ! -- update surface ocean stresses 
    212213!!gm   remark, the ocean-ice stress is not saved in ice diag call above .....  find a solution!!! 
    213214      ! 
     
    217218 
    218219 
    219    SUBROUTINE ice_init 
     220   SUBROUTINE ice_init( Kbb, Kmm, Kaa ) 
    220221      !!---------------------------------------------------------------------- 
    221222      !!                  ***  ROUTINE ice_init  *** 
     
    223224      !! ** purpose :   Initialize sea-ice parameters 
    224225      !!---------------------------------------------------------------------- 
     226      INTEGER, INTENT(in) :: Kbb, Kmm, Kaa 
     227      ! 
    225228      INTEGER :: ji, jj, ierr 
    226229      !!---------------------------------------------------------------------- 
     
    254257      IF( .NOT. ln_rstart ) THEN              ! start from rest: sea-ice deduced from sst 
    255258         CALL ice_istate_init 
    256          CALL ice_istate( nit000 ) 
     259         CALL ice_istate( nit000, Kbb, Kmm, Kaa ) 
    257260      ELSE                                    ! start from a restart file 
    258          CALL ice_rst_read 
     261         CALL ice_rst_read( Kbb, Kmm, Kaa ) 
    259262      ENDIF 
    260263      CALL ice_var_glo2eqv 
Note: See TracChangeset for help on using the changeset viewer.