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.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.F90

    r2690 r2696  
    9393      USE oce     , ONLY:   zftu => ua       , zftv  => va         ! (ua,va) used as workspace 
    9494      USE wrk_nemo, ONLY:   zdkt => wrk_2d_1 , zdk1t => wrk_2d_2 , z2d  => wrk_2d_3   ! 2D workspace 
    95       USE wrk_nemo, ONLY:   zdit => wrk_3d_1 , zdjt  => wrk_3d_2 , ztfw => wrk_3d_3   ! 3D workspace 
     95      USE wrk_nemo, ONLY:   zdit => wrk_3d_6 , zdjt  => wrk_3d_7 , ztfw => wrk_3d_8   ! 3D workspace 
    9696      ! 
    9797      INTEGER                              , INTENT(in   ) ::   kt         ! ocean time-step index 
     
    112112      !!---------------------------------------------------------------------- 
    113113 
    114       IF( wrk_in_use(3, 1,2,3) .OR. wrk_in_use(2, 1,2,3) ) THEN 
     114      IF( wrk_in_use(3, 6,7,8) .OR. wrk_in_use(2, 1,2,3) ) THEN 
    115115          CALL ctl_stop('tra_ldf_iso : requested workspace array unavailable')   ;   RETURN 
    116116      ENDIF 
     
    291291      END DO 
    292292      ! 
    293       IF( wrk_not_released(3, 1,2,3) .OR.   & 
     293      IF( wrk_not_released(3, 6,7,8) .OR.   & 
    294294          wrk_not_released(2, 1,2,3) )   CALL ctl_stop('tra_ldf_iso: failed to release workspace arrays') 
    295295      ! 
Note: See TracChangeset for help on using the changeset viewer.