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 2777 for trunk/NEMOGCM/NEMO/LIM_SRC_3/limitd_me.F90 – NEMO

Ignore:
Timestamp:
2011-06-07T11:55:02+02:00 (13 years ago)
Author:
smasson
Message:

LIM3 compiling and (partly?) running in v3_3_1, see ticket#817

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/NEMOGCM/NEMO/LIM_SRC_3/limitd_me.F90

    r2715 r2777  
    508508      !! ** Inputs / Ouputs : kstrngth (what kind of ice strength we are using) 
    509509      !!---------------------------------------------------------------------- 
    510       USE wrk_nemo, ONLY: zworka => wrk_2d_1    ! 2D workspace 
     510      USE wrk_nemo, ONLY: zworka => wrk_2d_3    ! 2D workspace 
    511511      ! 
    512512      INTEGER, INTENT(in) ::   kstrngth    ! = 1 for Rothrock formulation, 0 for Hibler (1979) 
     
    519519      !!---------------------------------------------------------------------- 
    520520 
    521       IF( wrk_in_use(2, 1) ) THEN 
     521      IF( wrk_in_use(2, 3) ) THEN 
    522522         CALL ctl_stop('lim_itd_me_icestrength : requested workspace array unavailable')   ;   RETURN 
    523523      ENDIF 
     
    675675      CALL lbc_lnk( strength, 'T', 1. )      ! Boundary conditions 
    676676 
    677       IF( wrk_not_released(2, 1) )   CALL ctl_stop('lim_itd_me_icestrength: failed to release workspace array') 
     677      IF( wrk_not_released(2, 3) )   CALL ctl_stop('lim_itd_me_icestrength: failed to release workspace array') 
    678678      ! 
    679679   END SUBROUTINE lim_itd_me_icestrength 
     
    894894 
    895895      ! Normalization factor : aksum, ensures mass conservation 
    896       aksum(:,:) = athorn(ji,jj,0) 
     896      aksum(:,:) = athorn(:,:,0) 
    897897      DO jl = 1, jpl  
    898898         aksum(:,:)    = aksum(:,:) + aridge(:,:,jl) * ( 1._wp - 1._wp / krdg(:,:,jl) )    & 
Note: See TracChangeset for help on using the changeset viewer.