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 9125 for branches/2017/dev_merge_2017/NEMOGCM/NEMO/TOP_SRC/TRP/trcbbl.F90 – NEMO

Ignore:
Timestamp:
2017-12-19T09:47:17+01:00 (6 years ago)
Author:
timgraham
Message:

Removed wrk_arrays from whole code. No change in SETTE results from this.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/2017/dev_merge_2017/NEMOGCM/NEMO/TOP_SRC/TRP/trcbbl.F90

    r9124 r9125  
    4747      INTEGER, INTENT( in ) ::   kt   ! ocean time-step  
    4848      CHARACTER (len=22) :: charout 
    49       REAL(wp), POINTER, DIMENSION(:,:,:,:) ::   ztrtrd 
     49      REAL(wp), ALLOCATABLE, DIMENSION(:,:,:,:) ::   ztrtrd 
    5050      !!---------------------------------------------------------------------- 
    5151      ! 
     
    5858 
    5959      IF( l_trdtrc )  THEN 
    60          CALL wrk_alloc( jpi, jpj, jpk, jptra, ztrtrd ) ! temporary save of trends 
     60         ALLOCATE( ztrtrd(jpi,jpj,jpk,jptra) ) ! temporary save of trends 
    6161         ztrtrd(:,:,:,:)  = tra(:,:,:,:) 
    6262      ENDIF 
     
    8989           CALL trd_tra( kt, 'TRC', jn, jptra_bbl, ztrtrd(:,:,:,jn) ) 
    9090        END DO 
    91         CALL wrk_dealloc( jpi, jpj, jpk, jptra, ztrtrd ) ! temporary save of trends 
     91        DEALLOCATE( ztrtrd ) ! temporary save of trends 
    9292      ENDIF 
    9393      ! 
Note: See TracChangeset for help on using the changeset viewer.