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 3231 for branches/2011/dev_NEMO_MERGE_2011/NEMOGCM/NEMO/OPA_SRC/DYN/dynnxt.F90 – NEMO

Ignore:
Timestamp:
2011-12-21T10:11:11+01:00 (12 years ago)
Author:
smasson
Message:

dev_NEMO_MERGE_2011: supress TARGET attribute for tsa and use work arrays

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/2011/dev_NEMO_MERGE_2011/NEMOGCM/NEMO/OPA_SRC/DYN/dynnxt.F90

    r3161 r3231  
    4040   USE lbclnk          ! lateral boundary condition (or mpp link) 
    4141   USE lib_mpp         ! MPP library 
     42   USE wrk_nemo        ! Memory Allocation 
    4243   USE prtctl          ! Print control 
    4344#if defined key_agrif 
     
    9394      !!               un,vn   now horizontal velocity of next time-step 
    9495      !!---------------------------------------------------------------------- 
    95       USE oce     , ONLY:   tsa             ! tsa used as 2 3D workspace 
    96       ! 
    9796      INTEGER, INTENT( in ) ::   kt      ! ocean time-step index 
    9897      ! 
     
    109108      IF( nn_timing == 1 )  CALL timing_start('dyn_nxt') 
    110109      ! 
    111       ze3u_f => tsa(:,:,:,1)  
    112       ze3v_f => tsa(:,:,:,2)  
     110      CALL wrk_alloc( jpi,jpj,jpk, ze3u_f, ze3v_f ) 
    113111      ! 
    114112      IF( kt == nit000 ) THEN 
     
    281279         &                       tab3d_2=vn, clinfo2=' Vn: '       , mask2=vmask ) 
    282280      !  
     281      CALL wrk_dealloc( jpi,jpj,jpk, ze3u_f, ze3v_f ) 
     282      ! 
    283283      IF( nn_timing == 1 )  CALL timing_stop('dyn_nxt') 
    284284      ! 
Note: See TracChangeset for help on using the changeset viewer.