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/MY_TRC/trcsms_my_trc.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/MY_TRC/trcsms_my_trc.F90

    r9124 r9125  
    4343      INTEGER, INTENT(in) ::   kt   ! ocean time-step index 
    4444      INTEGER ::   jn   ! dummy loop index 
    45       REAL(wp), POINTER, DIMENSION(:,:,:) :: ztrmyt 
     45      REAL(wp), ALLOCATABLE, DIMENSION(:,:,:) :: ztrmyt 
    4646      !!---------------------------------------------------------------------- 
    4747      ! 
     
    5252      IF(lwp) WRITE(numout,*) ' ~~~~~~~~~~~~~~' 
    5353 
    54       IF( l_trdtrc )  CALL wrk_alloc( jpi, jpj, jpk, ztrmyt ) 
     54      IF( l_trdtrc )  ALLOCATE( ztrmyt(jpi,jpj,jpk) ) 
    5555 
    5656      CALL trc_bc ( kt )       ! tracers: surface and lateral Boundary Conditions 
     
    6464            CALL trd_trc( ztrmyt, jn, jptra_sms, kt )   ! save trends 
    6565          END DO 
    66           CALL wrk_dealloc( jpi, jpj, jpk, ztrmyt ) 
     66          DEALLOCATE( ztrmyt ) 
    6767      END IF 
    6868      ! 
Note: See TracChangeset for help on using the changeset viewer.