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 13026 for NEMO/branches/2020/dev_r12973_AGRIF_CMEMS/src/OCE/nemogcm.F90 – NEMO

Ignore:
Timestamp:
2020-06-03T16:30:02+02:00 (4 years ago)
Author:
rblod
Message:

AGRIF with northfold and perio, see ticket #2129

File:
1 edited

Legend:

Unmodified
Added
Removed
  • NEMO/branches/2020/dev_r12973_AGRIF_CMEMS/src/OCE/nemogcm.F90

    r12933 r13026  
    143143#if defined key_agrif 
    144144      Kbb_a = Nbb; Kmm_a = Nnn; Krhs_a = Nrhs   ! agrif_oce module copies of time level indices 
    145       CALL Agrif_Declare_Var_dom   ! AGRIF: set the meshes for DOM 
    146       CALL Agrif_Declare_Var       !  "      "   "   "      "  DYN/TRA  
     145      CALL Agrif_Declare_Var       !  "      "   "   "      "  DYN/TRA 
    147146# if defined key_top 
    148147      CALL Agrif_Declare_Var_top   !  "      "   "   "      "  TOP 
    149 # endif 
    150 # if defined key_si3 
    151       CALL Agrif_Declare_Var_ice   !  "      "   "   "      "  Sea ice 
    152148# endif 
    153149#endif 
     
    399395      ! Initialise time level indices 
    400396      Nbb = 1; Nnn = 2; Naa = 3; Nrhs = Naa 
    401  
     397#if defined key_agrif 
     398      Kbb_a = Nbb; Kmm_a = Nnn; Krhs_a = Nrhs   ! agrif_oce module copies of time level indices 
     399#endif  
    402400      !                             !-------------------------------! 
    403401      !                             !  NEMO general initialization  ! 
     
    414412      IF( lk_c1d       )   CALL     c1d_init        ! 1D column configuration 
    415413                           CALL     wad_init        ! Wetting and drying options 
     414 
     415#if defined key_agrif 
     416     CALL Agrif_Declare_Var_ini   !  "      "   "   "      "  DOM 
     417#endif 
    416418                           CALL     dom_init( Nbb, Nnn, Naa, "OPA") ! Domain 
     419 
     420 
     421 
    417422      IF( ln_crs       )   CALL     crs_init(      Nnn )       ! coarsened grid: domain initialization  
    418423      IF( sn_cfctl%l_prtctl )   & 
     
    435440      ENDIF 
    436441      ! 
    437        
     442 
    438443                           CALL  istate_init( Nbb, Nnn, Naa )    ! ocean initial state (Dynamics and tracers) 
    439444 
Note: See TracChangeset for help on using the changeset viewer.