New URL for NEMO forge!   http://forge.nemo-ocean.eu

Since March 2022 along with NEMO 4.2 release, the code development moved to a self-hosted GitLab.
This present forge is now archived and remained online for history.
Changeset 2633 for branches/dev_r2586_dynamic_mem/NEMOGCM/NEMO/OPA_SRC/DYN/dynadv_ubs.F90 – NEMO

Ignore:
Timestamp:
2011-02-28T18:23:23+01:00 (13 years ago)
Author:
trackstand2
Message:

Renamed wrk_use => wrk_in_use and wrk_release => wrk_not_released

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/dev_r2586_dynamic_mem/NEMOGCM/NEMO/OPA_SRC/DYN/dynadv_ubs.F90

    r2625 r2633  
    6767      !! Reference : Shchepetkin & McWilliams, 2005, Ocean Modelling.  
    6868      !!---------------------------------------------------------------------- 
    69       USE wrk_nemo, ONLY:   wrk_use, wrk_release 
     69      USE wrk_nemo, ONLY:   wrk_in_use, wrk_not_released 
    7070      USE oce     , ONLY:   zfu    => ta       ! ta used as 3D workspace 
    7171      USE oce     , ONLY:   zfv    => sa       ! sa used as 3D workspace 
     
    9090 
    9191      ! 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) ) THEN 
     92      IF( wrk_in_use(3, 1,2,3,4,5,6,7) .OR. wrk_in_use(4, 1,2,3,4) ) THEN 
    9393         CALL ctl_stop('dyn_adv_ubs : requested workspace array unavailable')   ;   RETURN 
    9494      END IF 
     
    254254         &                       tab3d_2=va, clinfo2=           ' Va: ', mask2=vmask, clinfo3='dyn' ) 
    255255      ! 
    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') 
    258258      ! 
    259259   END SUBROUTINE dyn_adv_ubs 
Note: See TracChangeset for help on using the changeset viewer.