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 7910 for branches/2017/dev_r7881_no_wrk_alloc/NEMOGCM/NEMO/OPA_SRC/DOM/dtatsd.F90 – NEMO

Ignore:
Timestamp:
2017-04-13T16:21:08+02:00 (7 years ago)
Author:
timgraham
Message:

All wrk_alloc removed

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/2017/dev_r7881_no_wrk_alloc/NEMOGCM/NEMO/OPA_SRC/DOM/dtatsd.F90

    r7753 r7910  
    2121   USE phycst          ! physical constants 
    2222   USE lib_mpp         ! MPP library 
    23    USE wrk_nemo        ! Memory allocation 
    2423   USE timing          ! Timing 
    2524 
     
    146145      INTEGER ::   ik, il0, il1, ii0, ii1, ij0, ij1   ! local integers 
    147146      REAL(wp)::   zl, zi 
    148       REAL(wp), POINTER, DIMENSION(:) ::  ztp, zsp   ! 1D workspace 
     147      REAL(wp), DIMENSION(jpk) ::  ztp, zsp   ! 1D workspace 
    149148      !!---------------------------------------------------------------------- 
    150149      ! 
     
    186185      IF( ln_sco ) THEN                   !==   s- or mixed s-zps-coordinate   ==! 
    187186         ! 
    188          CALL wrk_alloc( jpk, ztp, zsp ) 
    189187         ! 
    190188         IF( kt == nit000 .AND. lwp )THEN 
     
    222220         END DO 
    223221         !  
    224          CALL wrk_dealloc( jpk, ztp, zsp ) 
    225222         !  
    226223      ELSE                                !==   z- or zps- coordinate   ==! 
Note: See TracChangeset for help on using the changeset viewer.