Changeset 2715 for trunk/NEMOGCM/NEMO/LIM_SRC_3/limistate.F90
- Timestamp:
- 2011-03-30T17:58:35+02:00 (13 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/NEMOGCM/NEMO/LIM_SRC_3/limistate.F90
r2528 r2715 5 5 !!====================================================================== 6 6 !! History : 2.0 ! 2004-01 (C. Ethe, G. Madec) Original code 7 !! 4.0 ! 2011-02 (G. Madec) dynamical allocation 7 8 !!---------------------------------------------------------------------- 8 9 #if defined key_lim3 … … 23 24 USE in_out_manager ! I/O manager 24 25 USE lbclnk ! lateral boundary condition - MPP exchanges 26 USE lib_mpp ! MPP library 25 27 26 28 IMPLICIT NONE … … 45 47 46 48 !!---------------------------------------------------------------------- 47 !! NEMO/LIM3 3.3 , UCL - NEMO Consortium (2010)49 !! NEMO/LIM3 4.0 , UCL - NEMO Consortium (2011) 48 50 !! $Id$ 49 51 !! Software governed by the CeCILL licence (NEMOGCM/NEMO_CeCILL.txt) … … 60 62 !! or from arbitrary sea-ice conditions 61 63 !!------------------------------------------------------------------- 64 USE wrk_nemo, ONLY: wrk_in_use, wrk_not_released 65 USE wrk_nemo, ONLY: wrk_1d_1, wrk_1d_2, wrk_1d_3, wrk_1d_4 66 USE wrk_nemo, ONLY: zidto => wrk_2d_1 ! ice indicator 67 ! 62 68 INTEGER :: ji, jj, jk, jl ! dummy loop indices 63 69 REAL(wp) :: zeps6, zeps, ztmelts, epsi06 ! local scalars 64 REAL(wp) :: zvol, zare, zh, zh1, zh2, zh3, zan, zbn, zas, zbs 65 REAL(wp), DIMENSION(jpm) :: zgfactorn, zhin 66 REAL(wp), DIMENSION(jpm) :: zgfactors, zhis 67 REAL(wp), DIMENSION(jpi,jpj) :: zidto ! ice indicator 68 !-------------------------------------------------------------------- 70 REAL(wp) :: zvol, zare, zh, zh1, zh2, zh3, zan, zbn, zas, zbs 71 REAL(wp), POINTER, DIMENSION(:) :: zgfactorn, zhin 72 REAL(wp), POINTER, DIMENSION(:) :: zgfactors, zhis 73 !-------------------------------------------------------------------- 74 75 IF( wrk_in_use(1, 1,2) ) THEN 76 CALL ctl_stop( 'lim_istate: requested workspace arrays unavailable' ) ; RETURN 77 ENDIF 78 zgfactorn => wrk_1d_1(1:jpm) ; zhin => wrk_1d_3(1:jpm) ! Set-up pointers to sub-arrays of workspaces 79 zgfactors => wrk_1d_2(1:jpm) ; zhis => wrk_1d_4(1:jpm) 69 80 70 81 !-------------------------------------------------------------------- … … 506 517 CALL lbc_lnk( fsbbq , 'T', 1. ) 507 518 ! 519 IF( wrk_not_released(1, 1,2) ) CALL ctl_stop('lim_istate : failed to release workspace arrays') 520 ! 508 521 END SUBROUTINE lim_istate 509 522
Note: See TracChangeset
for help on using the changeset viewer.