# Appendix : Boundary Conditions¶

## Enabled boundary conditions¶

The following table summarizes the boundary conditions recognized by **Tolosa-sw**. These boundary conditions must be defined in the Gmsh file `.geo`

by creating *Physical Groups*.
Boundary conditions (BC) | Specifications
-------------------------|---------------
Rigid Wall BC | `wall`

Neumann BC | `neumann`

Tide BC (`tide.list`

needed)| `tide`

: consider all tidal constituents

`tide#N`

: consider only the N first tidal constituents
Discharge constraint BC | `q`

: Read a tabulated file `bc_q.txt`

with discharge values

`q#X`

: Fix a constant discharge at `X (m^3 . s^-1)`

`q#user`

: Define discharge at the boundary from a function in `m_user_data.f90`

Height constraint BC | `h`

: Read a tabulated file `bc_h.txt`

with height values

`h#X`

: Fix a constant height at `X (m)`

`h#user`

: Define height at the boundary from a function in `m_user_data.f90`

Sea surface height (ssh) constraint BC | `ssh`

: Read a tabulated file `bc_ssh.txt`

with ssh values

`ssh#X`

: Fix a constant ssh at `X (m)`

`ssh#user`

: Define ssh at the boundary from a function in `m_user_data.f90`

## Examples¶

### Tide BC¶

To