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 7910 for branches/2017/dev_r7881_no_wrk_alloc/NEMOGCM/NEMO/LIM_SRC_2/limmsh_2.F90 – NEMO

Ignore:
Timestamp:
2017-04-13T16:21:08+02:00 (7 years ago)
Author:
timgraham
Message:

All wrk_alloc removed

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/2017/dev_r7881_no_wrk_alloc/NEMOGCM/NEMO/LIM_SRC_2/limmsh_2.F90

    r7646 r7910  
    2121   USE lib_mpp          ! MPP library 
    2222#if defined key_lim2_vp 
    23    USE wrk_nemo         ! work arrays 
    2423#endif 
    2524   USE lib_fortran    ! Fortran utilities (allows no signed zero when 'key_nosignedzero' defined)   
     
    5655      REAL(wp) ::   zh1p  , zh2p      !   -      - 
    5756      REAL(wp) ::   zd2d1p, zd1d2p    !   -      - 
    58       REAL(wp), POINTER, DIMENSION(:,:) ::   zd2d1, zd1d2   ! 2D workspace 
     57      REAL(wp), DIMENSION(jpi,jpj) ::   zd2d1, zd1d2   ! 2D workspace 
    5958#endif 
    6059      !!--------------------------------------------------------------------- 
    6160 
    6261#if defined key_lim2_vp 
    63       CALL wrk_alloc( jpi, jpj, zd2d1, zd1d2 ) 
    6462#endif 
    6563 
     
    280278      ! 
    281279#if defined key_lim2_vp 
    282       CALL wrk_dealloc( jpi, jpj, zd2d1, zd1d2 ) 
    283280#endif 
    284281      ! 
Note: See TracChangeset for help on using the changeset viewer.