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/TOP_SRC/TRP/trcbbl.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/TOP_SRC/TRP/trcbbl.F90

    r7753 r7910  
    4949      INTEGER, INTENT( in ) ::   kt   ! ocean time-step  
    5050      CHARACTER (len=22) :: charout 
    51       REAL(wp), POINTER, DIMENSION(:,:,:,:) ::   ztrtrd 
     51      REAL(wp), DIMENSION(jpi,jpj,jpk,jptra) ::   ztrtrd 
    5252      !!---------------------------------------------------------------------- 
    5353      ! 
     
    6060 
    6161      IF( l_trdtrc )  THEN 
    62          CALL wrk_alloc( jpi, jpj, jpk, jptra, ztrtrd ) ! temporary save of trends 
    6362         ztrtrd(:,:,:,:)  = tra(:,:,:,:) 
    6463      ENDIF 
     
    9190           CALL trd_tra( kt, 'TRC', jn, jptra_bbl, ztrtrd(:,:,:,jn) ) 
    9291        END DO 
    93         CALL wrk_dealloc( jpi, jpj, jpk, jptra, ztrtrd ) ! temporary save of trends 
    9492      ENDIF 
    9593      ! 
Note: See TracChangeset for help on using the changeset viewer.