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 2031 for trunk/NEMO/OPA_SRC/OBC/obcdta.F90 – NEMO

Ignore:
Timestamp:
2010-07-29T14:31:53+02:00 (14 years ago)
Author:
rblod
Message:

Fix issues with OBC and AGRIF, see ticket #688 and #692

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/NEMO/OPA_SRC/OBC/obcdta.F90

    r1876 r2031  
    3030 
    3131  !! * Shared module variables 
     32!$AGRIF_DO_NOT_TREAT 
    3233  REAL(wp),  DIMENSION(2)              ::  zjcnes_obc   !  
    3334  REAL(wp),  DIMENSION(:), ALLOCATABLE :: ztcobc 
     35!$AGRIF_END_DO_NOT_TREAT 
    3436  REAL(wp) :: rdt_obc 
    3537  REAL(wp) :: zjcnes 
     
    469471       ENDIF 
    470472    ELSE 
    471 #if defined key_agrif 
    472        IF ( ASSOCIATED(ztcobc) ) DEALLOCATE ( ztcobc ) 
    473 #else 
    474473       IF ( ALLOCATED(ztcobc) ) DEALLOCATE ( ztcobc ) 
    475 #endif 
    476474       ALLOCATE (ztcobc(itobc)) 
    477475       DO ji=1,1   ! use a dummy loop to read ztcobc only once 
Note: See TracChangeset for help on using the changeset viewer.