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 8409 for branches/2017/dev_r8183_ICEMODEL/NEMOGCM/NEMO/LIM_SRC_3/icestp.F90 – NEMO

Ignore:
Timestamp:
2017-08-07T17:29:21+02:00 (7 years ago)
Author:
clem
Message:

change calls in icestp.F90 for advection

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/2017/dev_r8183_ICEMODEL/NEMOGCM/NEMO/LIM_SRC_3/icestp.F90

    r8407 r8409  
    3232   USE phycst          ! Define parameters for the routines 
    3333   USE eosbn2          ! equation of state 
    34    USE icerhg          ! Ice dynamics 
    35    USE limtrp          ! Ice transport 
     34   USE icerhg          ! Ice rheology 
     35   USE iceadv          ! Ice advection 
    3636   USE limthd          ! Ice thermodynamics 
    37    USE limitd_me       ! Mechanics on ice thickness distribution 
     37   USE icerdgrft       ! Ice ridging/rafting 
    3838   USE limsbc          ! sea surface boundary condition 
    3939   USE limdiahsb       ! Ice budget diagnostics 
    4040   USE limwri          ! Ice outputs 
    4141   USE limrst          ! Ice restarts 
    42    USE limupdate1      ! update of global variables 
    43    USE limupdate2      ! update of global variables 
     42   USE icecor1         ! Ice corrections after dynamics 
     43   USE icecor2         ! Ice corrections after thermo 
    4444   USE limvar          ! Ice variables switch 
    4545   USE limctl          ! 
     
    153153         ! --- zap this if no ice dynamics --- ! 
    154154         IF( .NOT. lk_c1d .AND. ln_limdyn ) THEN 
    155             ! 
    156             IF( nn_limdyn /= 0 ) THEN                          ! -- Ice dynamics 
    157                                       CALL ice_rhg( kt )       !     rheology   
    158             ELSE 
    159                u_ice(:,:) = rn_uice * umask(:,:,1)             !     or prescribed velocity 
    160                v_ice(:,:) = rn_vice * vmask(:,:,1) 
    161                !!CALL RANDOM_NUMBER(u_ice(:,:)) 
    162                !!CALL RANDOM_NUMBER(v_ice(:,:)) 
    163             ENDIF 
    164                                       CALL lim_trp( kt )       ! -- Ice transport (Advection/diffusion) 
    165             IF( nn_limdyn == 2 .AND. nn_monocat /= 2 )  &      ! -- Mechanical redistribution (ridging/rafting) 
    166                &                      CALL lim_itd_me          
    167             IF( nn_limdyn == 2 )      CALL lim_update1( kt )   ! -- Corrections 
     155                                      CALL ice_rhg( kt )       ! -- rheology   
     156                                      CALL ice_adv( kt )       ! -- advection 
     157            IF( nn_limdyn == 2 .AND. nn_monocat /= 2 )  &      ! -- ridging/rafting 
     158               &                      CALL ice_rdgrft          
     159            IF( nn_limdyn == 2 )      CALL ice_cor1( kt )      ! -- Corrections 
    168160            ! 
    169161         ENDIF 
     
    204196         ! END MV MP 2016 
    205197 
    206          IF( ln_limthd )              CALL lim_update2( kt )    ! -- Corrections 
     198         IF( ln_limthd )              CALL ice_cor2( kt )       ! -- Corrections 
    207199         ! --- 
    208200# if defined key_agrif 
     
    270262      ierr = ierr + sbc_ice_alloc    ()      ! surface forcing  
    271263      ierr = ierr + thd_ice_alloc    ()      ! thermodynamics 
    272       IF( ln_limdyn )   ierr = ierr + lim_itd_me_alloc ()      ! ice thickness distribution - mechanics 
     264      IF( ln_limdyn )   ierr = ierr + ice_rdgrft_alloc ()      ! ridging/rafting 
    273265      ! 
    274266      IF( lk_mpp    )   CALL mpp_sum( ierr ) 
     
    287279      ! END MV MP 2016 
    288280 
    289       IF( ln_limdyn )   CALL lim_itd_me_init             ! ice thickness distribution initialization for mecanical deformation 
     281      IF( ln_limdyn )   CALL ice_rdgrft_init             ! ice thickness distribution initialization for ridging/rafting 
    290282      !                                ! Initial sea-ice state 
    291283      IF( .NOT. ln_rstart ) THEN              ! start from rest: sea-ice deduced from sst 
Note: See TracChangeset for help on using the changeset viewer.