Changeset 2777 for trunk/NEMOGCM/NEMO/LIM_SRC_3/limitd_me.F90
- Timestamp:
- 2011-06-07T11:55:02+02:00 (13 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/NEMOGCM/NEMO/LIM_SRC_3/limitd_me.F90
r2715 r2777 508 508 !! ** Inputs / Ouputs : kstrngth (what kind of ice strength we are using) 509 509 !!---------------------------------------------------------------------- 510 USE wrk_nemo, ONLY: zworka => wrk_2d_ 1! 2D workspace510 USE wrk_nemo, ONLY: zworka => wrk_2d_3 ! 2D workspace 511 511 ! 512 512 INTEGER, INTENT(in) :: kstrngth ! = 1 for Rothrock formulation, 0 for Hibler (1979) … … 519 519 !!---------------------------------------------------------------------- 520 520 521 IF( wrk_in_use(2, 1) ) THEN521 IF( wrk_in_use(2, 3) ) THEN 522 522 CALL ctl_stop('lim_itd_me_icestrength : requested workspace array unavailable') ; RETURN 523 523 ENDIF … … 675 675 CALL lbc_lnk( strength, 'T', 1. ) ! Boundary conditions 676 676 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') 678 678 ! 679 679 END SUBROUTINE lim_itd_me_icestrength … … 894 894 895 895 ! Normalization factor : aksum, ensures mass conservation 896 aksum(:,:) = athorn( ji,jj,0)896 aksum(:,:) = athorn(:,:,0) 897 897 DO jl = 1, jpl 898 898 aksum(:,:) = aksum(:,:) + aridge(:,:,jl) * ( 1._wp - 1._wp / krdg(:,:,jl) ) &
Note: See TracChangeset
for help on using the changeset viewer.