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 11467 for NEMO/branches/UKMO/dev_r10037_GPU/src/OCE/DIA – NEMO

Ignore:
Timestamp:
2019-08-22T11:49:08+02:00 (5 years ago)
Author:
andmirek
Message:

Ticket #2197 allocate arrays at the beggining of the run

File:
1 edited

Legend:

Unmodified
Added
Removed
  • NEMO/branches/UKMO/dev_r10037_GPU/src/OCE/DIA/diahsb.F90

    r10843 r11467  
    6969      !! 
    7070      !!--------------------------------------------------------------------------- 
     71      USE scoce, ONLY : z2d0 => scr2D1, z2d1 => scr2D2, zwrk => scr1 
    7172      INTEGER, INTENT(in) ::   kt   ! ocean time-step index 
    7273      ! 
     
    8182      REAL(wp)   ::   z_wn_trd_t , z_wn_trd_s     !    -     - 
    8283      REAL(wp)   ::   z_ssh_hc , z_ssh_sc         !    -     - 
    83       REAL(wp), DIMENSION(jpi,jpj)       ::   z2d0, z2d1   ! 2D workspace 
    84       REAL(wp), DIMENSION(jpi,jpj,jpkm1) ::   zwrk         ! 3D workspace 
    8584      !!--------------------------------------------------------------------------- 
    8685      IF( ln_timing )   CALL timing_start('dia_hsb')       
Note: See TracChangeset for help on using the changeset viewer.