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

    r2690 r2696  
    7676      USE wrk_nemo, ONLY:   wrk_in_use, wrk_not_released 
    7777      USE oce     , ONLY:   zwd => ua       , zws => va         ! (ua,va) used as 3D workspace 
    78       USE wrk_nemo, ONLY:   zwi => wrk_3d_1 , zwt => wrk_3d_2   ! 3D workspace  
     78      USE wrk_nemo, ONLY:   zwi => wrk_3d_6 , zwt => wrk_3d_7   ! 3D workspace  
    7979      ! 
    8080      INTEGER                              , INTENT(in   ) ::   kt       ! ocean time-step index 
     
    8989      !!--------------------------------------------------------------------- 
    9090 
    91       IF( wrk_in_use(3, 1,2) ) THEN 
     91      IF( wrk_in_use(3, 6,7) ) THEN 
    9292         CALL ctl_stop('tra_zdf_imp : requested workspace arrays unavailable.')   ;   RETURN 
    9393      ENDIF 
     
    228228      !                                               ! ================= ! 
    229229      ! 
    230       IF( wrk_not_released(3, 1,2) )   CALL ctl_stop('tra_zdf_imp: failed to release workspace arrays') 
     230      IF( wrk_not_released(3, 6,7) )   CALL ctl_stop('tra_zdf_imp: failed to release workspace arrays') 
    231231      ! 
    232232   END SUBROUTINE tra_zdf_imp 
Note: See TracChangeset for help on using the changeset viewer.