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 3774 – NEMO

Changeset 3774


Ignore:
Timestamp:
2013-02-07T12:13:14+01:00 (11 years ago)
Author:
flavoni
Message:

add control to do not allocate twice array ze3f in dyn_vor routine, see ticket: #1039

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/2012/dev_v3_4_STABLE_2012/NEMOGCM/NEMO/OPA_SRC/DYN/dynvor.F90

    r3294 r3774  
    595595         IF(lwp) WRITE(numout,*) 'dyn:vor_een : vorticity term: energy and enstrophy conserving scheme' 
    596596         IF(lwp) WRITE(numout,*) '~~~~~~~~~~~' 
    597          IF( .NOT.lk_vvl ) THEN 
     597         IF( .NOT.lk_vvl .AND. .NOT.ALLOCATED(ze3f) )  
    598598            ALLOCATE( ze3f(jpi,jpj,jpk) , STAT=ierr ) 
    599599            IF( lk_mpp    )   CALL mpp_sum ( ierr ) 
Note: See TracChangeset for help on using the changeset viewer.