Changeset 3294 for trunk/NEMOGCM/NEMO/OPA_SRC/OBS/obs_inter_sup.F90
- Timestamp:
- 2012-01-28T17:44:18+01:00 (12 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/NEMOGCM/NEMO/OPA_SRC/OBS/obs_inter_sup.F90
r2715 r3294 10 10 !!--------------------------------------------------------------------- 11 11 !! * Modules used 12 USE wrk_nemo ! Memory Allocation 12 13 USE par_kind ! Precision variables 13 14 USE dom_oce ! Domain variables … … 105 106 !! ! 08-02 (K. Mogensen) Original code 106 107 !!---------------------------------------------------------------------- 107 USE wrk_nemo, ONLY: wrk_in_use, wrk_not_released108 USE wrk_nemo, ONLY: wrk_3d_1109 108 !! 110 109 !! * Arguments … … 122 121 & pgval ! Stencil at each point 123 122 !! * Local declarations 124 REAL(KIND=wp), POINTER, DIMENSION(:,:,:) :: & 125 & zval 123 REAL(KIND=wp), POINTER, DIMENSION(:,:,:) :: zval 126 124 REAL(KIND=wp), DIMENSION(kptsi,kptsj,1,kobs) ::& 127 125 & zgval 128 126 129 127 ! Check workspace array and set-up pointer 130 IF(wrk_in_use(3, 1))THEN 131 CALL ctl_stop('obs_int_comm_2d : requested workspace array unavailable.') 132 RETURN 133 END IF 134 zval => wrk_3d_1(:,:,1:1) 128 CALL wrk_alloc(jpi,jpj,1,zval) 135 129 136 130 ! Set up local "3D" buffer … … 156 150 157 151 ! 'Release' workspace array back to pool 158 IF(wrk_not_released(3, 1))THEN 159 CALL ctl_stop('obs_int_comm_2d : failed to release workspace array.') 160 END IF 152 CALL wrk_dealloc(jpi,jpj,1,zval) 161 153 162 154 END SUBROUTINE obs_int_comm_2d
Note: See TracChangeset
for help on using the changeset viewer.