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 1158 for trunk/NEMO/OPA_SRC/DYN – NEMO

Ignore:
Timestamp:
2008-06-27T10:24:52+02:00 (16 years ago)
Author:
rblod
Message:

OBC corrections, see ticket #224

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/NEMO/OPA_SRC/DYN/dynspg_flt.F90

    r1151 r1158  
    433433         zssha(:,:) = sshb(:,:) + z2dt * ( wn(:,:,1) - emp(:,:) * zraur ) * tmask(:,:,1) 
    434434      ENDIF 
    435  
    436 #if defined key_agrif 
    437       IF (lk_obc .AND. Agrif_Root() ) THEN 
    438 #else 
    439       IF (lk_obc) THEN 
    440 #endif 
     435#if defined key_obc 
     436# if defined key_agrif 
     437      IF ( Agrif_Root() ) THEN 
     438# endif 
    441439         zssha(:,:)=zssha(:,:)*obctmsk(:,:) 
    442440         CALL lbc_lnk(zssha,'T',1.)  ! absolutly compulsory !! (jmm) 
    443       ENDIF 
     441# if defined key_agrif 
     442      ENDIF 
     443# endif 
     444#endif 
    444445 
    445446      IF( neuler == 0 .AND. kt == nit000 ) THEN      ! Euler (forward) time stepping, no time filter 
Note: See TracChangeset for help on using the changeset viewer.