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 389 for trunk/NEMO/OPA_SRC/DYN/dynnxt.F90 – NEMO

Ignore:
Timestamp:
2006-03-09T18:22:04+01:00 (18 years ago)
Author:
opalod
Message:

RB:nemo_v1_update_038: first integration of Agrif :

  • configuration parameters are just integer when agrif is used
  • add call to agrif routines with key_agrif
File:
1 edited

Legend:

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

    r367 r389  
    1919   USE lbclnk          ! lateral boundary condition (or mpp link) 
    2020   USE prtctl          ! Print control 
     21   USE agrif_opa_update 
     22   USE agrif_opa_interp 
    2123 
    2224   IMPLICIT NONE 
     
    133135         !                                             ! =============== 
    134136# endif 
     137# if defined key_AGRIF 
     138         !                                             ! =============== 
     139      END DO                                           !   End of slab 
     140      !                                                ! =============== 
     141      ! Update (ua,va) along open boundaries (only in the rigid-lid case) 
     142      CALL Agrif_dyn( kt ) 
     143      !                                                ! =============== 
     144      DO jk = 1, jpkm1                                 ! Horizontal slab 
     145         !                                             ! =============== 
     146# endif 
    135147#endif 
    136148         ! Time filter and swap of dynamics arrays 
     
    166178      ENDIF 
    167179 
     180#if defined key_AGRIF 
     181      IF (.NOT.Agrif_Root())    CALL Agrif_Update_Dyn( kt ) 
     182#endif       
     183 
    168184   END SUBROUTINE dyn_nxt 
    169185 
Note: See TracChangeset for help on using the changeset viewer.