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.
obc_par.F90 in trunk/NEMO/OPA_SRC/OBC – NEMO

source: trunk/NEMO/OPA_SRC/OBC/obc_par.F90 @ 1876

Last change on this file since 1876 was 1876, checked in by rblod, 14 years ago

Corrections for AGRIF inside OBC see ticket #673

  • Property svn:eol-style set to native
  • Property svn:keywords set to Id
File size: 5.3 KB
Line 
1MODULE obc_par
2   !!==============================================================================
3   !!                  ***  MODULE obc_par   ***
4   !! Open Boundary Cond. :   define related parameters
5   !!==============================================================================
6#if defined key_obc
7   !!----------------------------------------------------------------------
8   !!   'key_obc' :                                 Open Boundary Condition
9   !!----------------------------------------------------------------------
10   !! history :
11   !!  8.0   01/91   (CLIPPER)  Original code
12   !!  9.0   06/02   (C. Talandier)  modules
13   !!        06/04   (F. Durand) ORCA_R2_ZIND config
14   !!        06/04   (F. Durand) jptobc is defined as a parameter,
15   !!            in order to allow time-dependent OBCs fields on input
16   !!----------------------------------------------------------------------
17   !! * Modules used
18   USE par_oce         ! ocean parameters
19
20   IMPLICIT NONE
21   PUBLIC
22   !!----------------------------------------------------------------------
23   !!  OPA 9.0 , LOCEAN-IPSL (2005)
24   !! $Id$
25   !! This software is governed by the CeCILL licence see modipsl/doc/NEMO_CeCILL.txt
26   !!----------------------------------------------------------------------
27#if ! defined key_agrif
28   LOGICAL, PUBLIC, PARAMETER ::   lk_obc = .TRUE.     !: Ocean Boundary Condition flag
29#else
30   LOGICAL, PUBLIC            ::   lk_obc = .TRUE.     !: Ocean Boundary Condition flag
31#endif
32
33# if defined key_eel_r5
34   !!----------------------------------------------------------------------
35   !!   'key_eel_r5' :                                 EEL R5 configuration
36   !!----------------------------------------------------------------------
37#    include "obc_par_EEL_R5.h90"
38
39# elif defined key_pomme_r025
40   !!----------------------------------------------------------------------
41   !!   'key_pomme_r025' :                         POMME R025 configuration
42   !!----------------------------------------------------------------------
43#    include "obc_par_POMME_R025.h90"
44
45# else
46   !!---------------------------------------------------------------------
47   !! open boundary parameter
48   !!---------------------------------------------------------------------
49   INTEGER ::     &  !: time dimension of the BCS fields on input
50      jptobc  =         2 
51   !! * EAST open boundary
52   LOGICAL ::     &  !:
53      lp_obc_east = .FALSE.     !: to active or not the East open boundary
54   INTEGER ::     & 
55      jpieob  = jpiglo-2,    &  !: i-localization of the East open boundary (must be ocean U-point)
56      jpjed   =        2,    &  !: j-starting indice of the East open boundary (must be land T-point)
57      jpjef   = jpjglo-1,    &  !: j-ending   indice of the East open boundary (must be land T-point)
58      jpjedp1 =  jpjed+1,    &  !: first ocean point         "                 "
59      jpjefm1 =  jpjef-1        !: last  ocean point         "                 "
60
61   !! * WEST open boundary
62   LOGICAL ::     &  !:
63      lp_obc_west = .FALSE.     !: to active or not the West open boundary
64   INTEGER ::     &  !:
65      jpiwob  =          2,    &  !: i-localization of the West open boundary (must be ocean U-point)
66      jpjwd   =          2,    &  !: j-starting indice of the West open boundary (must be land T-point)
67      jpjwf   = jpjglo-1,    &  !: j-ending   indice of the West open boundary (must be land T-point)
68      jpjwdp1 =  jpjwd+1,    &  !: first ocean point         "                 "
69      jpjwfm1 =  jpjwf-1        !: last  ocean point         "                 "
70
71   !! * NORTH open boundary
72   LOGICAL ::     &  !:
73      lp_obc_north = .FALSE.    !: to active or not the North open boundary
74   INTEGER ::     &  !:
75      jpjnob  = jpjglo-2,    &  !: j-localization of the North open boundary (must be ocean V-point)
76      jpind   =        2,    &  !: i-starting indice of the North open boundary (must be land T-point)
77      jpinf   = jpiglo-1,    &  !: i-ending   indice of the North open boundary (must be land T-point)
78      jpindp1 =  jpind+1,    &  !: first ocean point         "                 "
79      jpinfm1 =  jpinf-1        !: last  ocean point         "                 "
80
81   !! * SOUTH open boundary
82   LOGICAL ::     &  !:
83      lp_obc_south = .FALSE.    !: to active or not the South open boundary
84   INTEGER ::     &  !:
85      jpjsob  =        2,    &  !: j-localization of the South open boundary (must be ocean V-point)
86      jpisd   =        2,    &  !: i-starting indice of the South open boundary (must be land T-point)
87      jpisf   = jpiglo-1,    &  !: i-ending   indice of the South open boundary (must be land T-point)
88      jpisdp1 =  jpisd+1,    &  !: first ocean point         "                 "
89      jpisfm1 =  jpisf-1        !: last  ocean point         "                 "
90   
91   INTEGER, PARAMETER ::     &  !:
92      jpnic = 2700              !: maximum number of isolated coastlines points
93
94# endif
95
96#else
97   !!----------------------------------------------------------------------
98   !!   Default option :                         NO open boundary condition
99   !!----------------------------------------------------------------------
100   LOGICAL, PUBLIC, PARAMETER ::   lk_obc = .FALSE.  !: Ocean Boundary Condition flag
101#endif
102
103   !!======================================================================
104END MODULE obc_par
Note: See TracBrowser for help on using the repository browser.