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/par_oce.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/par_oce.F90

    r359 r389  
    168168   !! Domain Matrix size 
    169169   !!--------------------------------------------------------------------- 
    170    INTEGER, PUBLIC, PARAMETER ::   &  !: 
     170   INTEGER  &  !: 
     171#if !defined key_AGRIF 
     172      ,PARAMETER  & 
     173#endif 
     174    :: & 
    171175      jpi = ( jpiglo-2*jpreci + (jpni-1) ) / jpni + 2*jpreci ,   &  !: first  dimension 
    172176      jpj = ( jpjglo-2*jprecj + (jpnj-1) ) / jpnj + 2*jprecj ,   &  !: second dimension 
     
    176180      jpij  = jpi*jpj                                               !:  jpi x jpj 
    177181 
     182#if defined key_AGRIF 
     183   !!--------------------------------------------------------------------- 
     184   !! Agrif variables 
     185   !!--------------------------------------------------------------------- 
     186   INTEGER, PUBLIC, PARAMETER :: nbghostcells = 1 
     187   INTEGER, PUBLIC :: nbcellsx = jpiglo - 2 - 2*nbghostcells 
     188   INTEGER, PUBLIC :: nbcellsy = jpjglo - 2 - 2*nbghostcells 
     189#endif 
    178190   !!--------------------------------------------------------------------- 
    179191   !! Optimization/control flags 
Note: See TracChangeset for help on using the changeset viewer.