[3] | 1 | MODULE 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 | !!---------------------------------------------------------------------- |
---|
| 14 | !! * Modules used |
---|
| 15 | USE par_oce ! ocean parameters |
---|
| 16 | |
---|
| 17 | IMPLICIT NONE |
---|
| 18 | PUBLIC |
---|
[247] | 19 | !!---------------------------------------------------------------------- |
---|
| 20 | !! OPA 9.0 , LOCEAN-IPSL (2005) |
---|
| 21 | !! $Header$ |
---|
| 22 | !! This software is governed by the CeCILL licence see modipsl/doc/NEMO_CeCILL.txt |
---|
| 23 | !!---------------------------------------------------------------------- |
---|
[32] | 24 | LOGICAL, PUBLIC, PARAMETER :: lk_obc = .TRUE. !: Ocean Boundary Condition flag |
---|
[3] | 25 | |
---|
| 26 | # if defined key_eel_r5 |
---|
| 27 | !!---------------------------------------------------------------------- |
---|
| 28 | !! 'key_eel_r5' : EEL R5 configuration |
---|
| 29 | !!---------------------------------------------------------------------- |
---|
| 30 | # include "obc_par_EEL_R5.h90" |
---|
| 31 | |
---|
| 32 | # else |
---|
| 33 | !!--------------------------------------------------------------------- |
---|
| 34 | !! open boundary parameter |
---|
| 35 | !!--------------------------------------------------------------------- |
---|
| 36 | !! * EAST open boundary |
---|
[32] | 37 | LOGICAL, PARAMETER :: & !: |
---|
[78] | 38 | lp_obc_east = .FALSE. !: to active or not the East open boundary |
---|
[32] | 39 | INTEGER, PARAMETER :: & !: |
---|
| 40 | jpieob = jpiglo-2, & !: i-localization of the East open boundary (must be ocean U-point) |
---|
| 41 | jpjed = 2, & !: j-starting indice of the East open boundary (must be land T-point) |
---|
| 42 | jpjef = jpjglo-1, & !: j-ending indice of the East open boundary (must be land T-point) |
---|
| 43 | jpjedp1 = jpjed+1, & !: first ocean point " " |
---|
| 44 | jpjefm1 = jpjef-1 !: last ocean point " " |
---|
[3] | 45 | |
---|
| 46 | !! * WEST open boundary |
---|
[32] | 47 | LOGICAL, PARAMETER :: & !: |
---|
[78] | 48 | lp_obc_west = .FALSE. !: to active or not the West open boundary |
---|
[32] | 49 | INTEGER, PARAMETER :: & !: |
---|
| 50 | jpiwob = 2, & !: i-localization of the West open boundary (must be ocean U-point) |
---|
| 51 | jpjwd = 2, & !: j-starting indice of the West open boundary (must be land T-point) |
---|
| 52 | jpjwf = jpjglo-1, & !: j-ending indice of the West open boundary (must be land T-point) |
---|
| 53 | jpjwdp1 = jpjwd+1, & !: first ocean point " " |
---|
| 54 | jpjwfm1 = jpjwf-1 !: last ocean point " " |
---|
[3] | 55 | |
---|
| 56 | !! * NORTH open boundary |
---|
[32] | 57 | LOGICAL, PARAMETER :: & !: |
---|
[78] | 58 | lp_obc_north = .FALSE. !: to active or not the North open boundary |
---|
[32] | 59 | INTEGER, PARAMETER :: & !: |
---|
| 60 | jpjnob = jpjglo-2, & !: j-localization of the North open boundary (must be ocean V-point) |
---|
| 61 | jpind = 2, & !: i-starting indice of the North open boundary (must be land T-point) |
---|
| 62 | jpinf = jpiglo-1, & !: i-ending indice of the North open boundary (must be land T-point) |
---|
| 63 | jpindp1 = jpind+1, & !: first ocean point " " |
---|
| 64 | jpinfm1 = jpinf-1 !: last ocean point " " |
---|
[3] | 65 | |
---|
| 66 | !! * SOUTH open boundary |
---|
[32] | 67 | LOGICAL, PARAMETER :: & !: |
---|
[78] | 68 | lp_obc_south = .FALSE. !: to active or not the South open boundary |
---|
[32] | 69 | INTEGER, PARAMETER :: & !: |
---|
| 70 | jpjsob = 2, & !: j-localization of the South open boundary (must be ocean V-point) |
---|
| 71 | jpisd = 2, & !: i-starting indice of the South open boundary (must be land T-point) |
---|
| 72 | jpisf = jpiglo-1, & !: i-ending indice of the South open boundary (must be land T-point) |
---|
| 73 | jpisdp1 = jpisd+1, & !: first ocean point " " |
---|
| 74 | jpisfm1 = jpisf-1 !: last ocean point " " |
---|
[3] | 75 | |
---|
[32] | 76 | INTEGER, PARAMETER :: & !: |
---|
| 77 | jpnic = 2700 !: maximum number of isolated coastlines points |
---|
[3] | 78 | |
---|
| 79 | # endif |
---|
| 80 | |
---|
| 81 | #else |
---|
| 82 | !!---------------------------------------------------------------------- |
---|
| 83 | !! Default option : NO open boundary condition |
---|
| 84 | !!---------------------------------------------------------------------- |
---|
[32] | 85 | LOGICAL, PUBLIC, PARAMETER :: lk_obc = .FALSE. !: Ocean Boundary Condition flag |
---|
[3] | 86 | #endif |
---|
| 87 | |
---|
| 88 | !!====================================================================== |
---|
| 89 | END MODULE obc_par |
---|