next up previous
Next: bost.F Up: The Proudman Oceanographic Laboratory Previous: bcbr.F

Subsections


boset.F


subroutine boset

Description

Sets boundaries on the B-grid according to 2 masks:
ipexb = 0 for b-point where calculation is not conducted, 1 otherwise.
ipexu = 0 for u-point where calculation is not conducted, 1 otherwise.
Open boundaries always lie along b-points, but there are two choices of how land boiundaries are defined: at b-points (case I) or at u-points (case II). These are described in detail in domains.

Subroutine Arguments

none

Local variables

i,j local indices
icg,jcg global indices
tagipexb,tagipexu
mask global ipexu mask

Global variables changed

ipexu
ipexb

Logical units

12 mask file

Order of Things

  1. for ucoast false:
  2. reads in and distributes mask file to set ipexu
  3. sets ipexb to 1 at all points surrounding a sea u-point
  4. tests for zero depth sea points
  5. for ucoast true:
  6. sets ipexb to 1 whereever hs is greater than land
  7. sets ipexu to 0 if any surrounding ipexb are zero.
  8. does a quick fix for 3x3 grids

Calls

Exch3DIS Exch3DIR
dist3di

Called By

b3dgrid

Options - Logical

analytic_depth includes the file set_mask.F instead of reading in ipexu
flipbathy mask files starts at top left (rather than bottom left)
debugger
ucoast true for case II boundaries.

Options - Compiler

none

Known Issues


next up previous
Next: bost.F Up: The Proudman Oceanographic Laboratory Previous: bcbr.F
The AMMP Project 2005-04-20