- Timestamp:
- 2011-02-28T18:23:23+01:00 (13 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/dev_r2586_dynamic_mem/NEMOGCM/NEMO/OPA_SRC/DYN/dynadv_ubs.F90
r2625 r2633 67 67 !! Reference : Shchepetkin & McWilliams, 2005, Ocean Modelling. 68 68 !!---------------------------------------------------------------------- 69 USE wrk_nemo, ONLY: wrk_ use, wrk_release69 USE wrk_nemo, ONLY: wrk_in_use, wrk_not_released 70 70 USE oce , ONLY: zfu => ta ! ta used as 3D workspace 71 71 USE oce , ONLY: zfv => sa ! sa used as 3D workspace … … 90 90 91 91 ! Check that required workspace arrays are not already in use 92 IF( .not. wrk_use(3, 1,2,3,4,5,6,7) .AND. .not. wrk_use(4, 1,2,3,4) ) THEN92 IF( wrk_in_use(3, 1,2,3,4,5,6,7) .OR. wrk_in_use(4, 1,2,3,4) ) THEN 93 93 CALL ctl_stop('dyn_adv_ubs : requested workspace array unavailable') ; RETURN 94 94 END IF … … 254 254 & tab3d_2=va, clinfo2= ' Va: ', mask2=vmask, clinfo3='dyn' ) 255 255 ! 256 IF( .not. wrk_release(3, 1,2,3,4,5,6,7) .OR. &257 .not. wrk_release(4, 1,2,3,4) ) CALL ctl_stop('dyn_adv_ubs : failed to release workspace array')256 IF( wrk_not_released(3, 1,2,3,4,5,6,7) .OR. & 257 wrk_not_released(4, 1,2,3,4) ) CALL ctl_stop('dyn_adv_ubs : failed to release workspace array') 258 258 ! 259 259 END SUBROUTINE dyn_adv_ubs
Note: See TracChangeset
for help on using the changeset viewer.