- Timestamp:
- 2011-03-01T20:04:06+01:00 (13 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/dev_r2586_dynamic_mem/NEMOGCM/NEMO/LIM_SRC_2/limthd_lac_2.F90
r2633 r2636 7 7 8 8 !!---------------------------------------------------------------------- 9 !! lim_lat_acr_2 10 !! * Modules used9 !! lim_lat_acr_2 : lateral accretion of ice 10 !!---------------------------------------------------------------------- 11 11 USE par_oce ! ocean parameters 12 12 USE phycst … … 14 14 USE ice_2 15 15 USE limistate_2 16 16 USE lib_mpp ! MPP library 17 17 18 IMPLICIT NONE 18 19 PRIVATE 19 20 20 !! * Routine accessibility 21 PUBLIC lim_thd_lac_2 ! called by lim_thd_2 22 23 !! * Module variables 21 PUBLIC lim_thd_lac_2 ! called by lim_thd_2 22 24 23 REAL(wp) :: & ! constant values 25 24 epsi20 = 1.e-20 , & … … 27 26 zzero = 0.e0 , & 28 27 zone = 1.e0 28 29 29 !!---------------------------------------------------------------------- 30 30 !! NEMO/LIM2 3.3 , UCL - NEMO Consortium (2010) … … 70 70 USE wrk_nemo, ONLY: wrk_in_use, wrk_not_released 71 71 USE wrk_nemo, ONLY: wrk_1d_1, wrk_1d_2, wrk_1d_3, wrk_1d_4, wrk_1d_5, wrk_1d_6 72 USE in_out_manager, ONLY: ctl_stop 73 !! 74 !! * Arguments 72 ! 75 73 INTEGER , INTENT(IN):: & 76 74 kideb , & ! start point on which the the computation is applied 77 75 kiut ! end point on which the the computation is applied 78 76 79 ! !* Local variables77 ! * Local variables 80 78 INTEGER :: & 81 79 ji , & ! dummy loop indices … … 106 104 !!--------------------------------------------------------------------- 107 105 108 IF(wrk_in_use(1, 1,2,3,4,5,6))THEN 109 CALL ctl_stop('lim_thd_lac_2 : requestead workspace arrays unavailable.') 110 RETURN 111 END IF 106 IF( wrk_in_use(1, 1,2,3,4,5,6) ) THEN 107 CALL ctl_stop('lim_thd_lac_2 : requestead workspace arrays unavailable') ; RETURN 108 ENDIF 112 109 ! Set-up pointers to sub-arrays of workspace arrays 113 110 zqbgow => wrk_1d_1(1:jpij) … … 235 232 END DO 236 233 237 IF(wrk_not_released(1, 1,2,3,4,5,6))THEN 238 CALL ctl_stop('lim_thd_lac_2 : failed to release workspace arrays.') 239 END IF 240 234 IF( wrk_not_released(1, 1,2,3,4,5,6) ) CALL ctl_stop('lim_thd_lac_2 : failed to release workspace arrays.') 235 ! 241 236 END SUBROUTINE lim_thd_lac_2 242 237 #else 243 !! ======================================================================238 !!---------------------------------------------------------------------- 244 239 !! *** MODULE limthd_lac_2 *** 245 240 !! no sea ice model 246 !! ======================================================================241 !!---------------------------------------------------------------------- 247 242 CONTAINS 248 243 SUBROUTINE lim_thd_lac_2 ! Empty routine 249 244 END SUBROUTINE lim_thd_lac_2 250 245 #endif 246 !!====================================================================== 251 247 END MODULE limthd_lac_2
Note: See TracChangeset
for help on using the changeset viewer.