Usually, a land mask is defined on the horizontal numerical grid. This mask is denoted by for Tpoints, for Upoints and for Vpoints with , , and being integer fields. A Tpoint is either a land point () or a water point (). All U and Vpoints surrounding a land point are defined as closed boundary and masked out: and . The velocities on such closed boundaries are always set to 0.
Open boundaries are defined by for Tpoints. Forced boundary points are marked by and passive boundary points by . All other Tpoints are characterised by . For velocity points, three different types are defined at the open boundaries. Upoints are classified by if both the Tpoints east and west are open boundary points and by if one adjacent Tpoint is an open boundary point and the other an open water point with . The same is carried out for Vpoints: They are classified by if both the Tpoints south and north are open boundary points and by if one adjacent Tpoint is an open boundary point and the other an open water point with . Upoints which are adjacent to Tpoints with and which are not denoted by or are the external Upoints and are denoted by . The same holds for Vpoints: Those which are adjacent to Tpoints with and which are not denoted by or are the external Vpoints and are denoted by .

For a simple example of grid point classification, see figure 9.
When the barotropic boundary forcing is carried out by means of prescribed surface elevations only, then the surface elevation is prescribed in all Tpoints with . For passive boundary conditions (), where the curvature of the surface elevation is zero normal to the boundary, the surface slope is simply extrapolated to the boundary points. For a boundary point at the western boundary this results e.g. in the following calculation for the boundary point:
(48) 
kklingbe 20171002