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 2693 for branches/dev_r2586_dynamic_mem/NEMOGCM/NEMO/OPA_SRC/DYN/dynldf_bilapg.F90 – NEMO

Ignore:
Timestamp:
2011-03-16T08:09:12+01:00 (13 years ago)
Author:
rblod
Message:

Use correct working arrays in dynldf_bilap

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/dev_r2586_dynamic_mem/NEMOGCM/NEMO/OPA_SRC/DYN/dynldf_bilapg.F90

    r2690 r2693  
    8585      !!---------------------------------------------------------------------- 
    8686      USE wrk_nemo, ONLY:   wrk_in_use, wrk_not_released 
    87       USE wrk_nemo, ONLY:   zwk1 => wrk_3d_1 , zwk2 => wrk_3d_2   ! 3D workspace 
     87      USE wrk_nemo, ONLY:   zwk1 => wrk_3d_3 , zwk2 => wrk_3d_4   ! 3D workspace 
    8888      USE oce     , ONLY:   zwk3 => ta       , zwk4 => sa         ! ta, sa used as 3D workspace    
    8989      ! 
     
    9393      !!---------------------------------------------------------------------- 
    9494 
    95       IF( wrk_in_use(3, 1,2) ) THEN 
     95      IF( wrk_in_use(3, 3,4) ) THEN 
    9696         CALL ctl_stop('dyn_ldf_bilapg: requested workspace arrays unavailable')   ;   RETURN 
    9797      ENDIF 
     
    129129      END DO 
    130130      ! 
    131       IF( wrk_not_released(3, 1,2) )   CALL ctl_stop('dyn_ldf_bilapg: failed to release workspace arrays') 
     131      IF( wrk_not_released(3, 3,4) )   CALL ctl_stop('dyn_ldf_bilapg: failed to release workspace arrays') 
    132132      ! 
    133133   END SUBROUTINE dyn_ldf_bilapg 
Note: See TracChangeset for help on using the changeset viewer.