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

Changeset 3802


Ignore:
Timestamp:
2013-02-12T09:20:05+01:00 (11 years ago)
Author:
flavoni
Message:

change control of allocation of array ze3f in dyn_vor routine, see ticket: #1039

File:
1 edited

Legend:

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

    r3775 r3802  
    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 .AND. .NOT.ALLOCATED(ze3f) ) THEN 
     597#if ! defined key_vvl 
     598         IF( .NOT.ALLOCATED(ze3f) ) THEN 
    598599            ALLOCATE( ze3f(jpi,jpj,jpk) , STAT=ierr ) 
    599600            IF( lk_mpp    )   CALL mpp_sum ( ierr ) 
    600601            IF( ierr /= 0 )   CALL ctl_stop( 'STOP', 'dyn:vor_een : unable to allocate arrays' ) 
    601602         ENDIF 
     603#endif 
    602604      ENDIF 
    603605 
Note: See TracChangeset for help on using the changeset viewer.