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 2696 for branches/dev_r2586_dynamic_mem/NEMOGCM/NEMO/OPA_SRC/TRA/traldf_iso_grif.F90 – NEMO

Ignore:
Timestamp:
2011-03-16T09:03:19+01:00 (13 years ago)
Author:
rblod
Message:

Compatibility with key_traldf_ano for dynamic memory

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/dev_r2586_dynamic_mem/NEMOGCM/NEMO/OPA_SRC/TRA/traldf_iso_grif.F90

    r2690 r2696  
    9191      USE wrk_nemo, ONLY:   wrk_in_use, wrk_not_released 
    9292      USE oce     , ONLY:   zftu => ua       , zftv => va            ! (ua,va) used as 3D workspace 
    93       USE wrk_nemo, ONLY:   zdit => wrk_3d_1 , zdjt => wrk_3d_2 , ztfw => wrk_3d_3   ! 3D workspace 
     93      USE wrk_nemo, ONLY:   zdit => wrk_3d_6 , zdjt => wrk_3d_7 , ztfw => wrk_3d_8   ! 3D workspace 
    9494      USE wrk_nemo, ONLY:   z2d  => wrk_2d_1                                         ! 2D workspace 
    9595      ! 
     
    118118      !!---------------------------------------------------------------------- 
    119119 
    120       IF( wrk_in_use(3, 1,2,3) .OR. wrk_in_use(2, 1) ) THEN 
     120      IF( wrk_in_use(3, 6,7,8) .OR. wrk_in_use(2, 1) ) THEN 
    121121         CALL ctl_stop('tra_ldf_iso_grif: requested workspace arrays unavailable.')   ;   RETURN 
    122122      ENDIF 
     
    125125      ! zdkt(:,:,1:2) instead as then wouldn't need to re-map bounds. 
    126126      ! As it is, we make zdkt a module array and allocate it in _alloc(). 
    127       !zdkt(1:jpi,1:jpj,0:1) => wrk_3d_4(:,:,1:2) 
     127      !zdkt(1:jpi,1:jpj,0:1) => wrk_3d_9(:,:,1:2) 
    128128 
    129129      IF( kt == nit000 )  THEN 
     
    348348      END DO 
    349349      ! 
    350       IF( wrk_not_released(3, 1,2,3,4) .OR.   & 
     350      IF( wrk_not_released(3, 6,7,8) .OR.   & 
    351351          wrk_not_released(2, 1)       )   CALL ctl_stop('tra_ldf_iso_grif: failed to release workspace arrays') 
    352352      ! 
Note: See TracChangeset for help on using the changeset viewer.