Relation (80) tells how to compute the values $U_i^{n+1/2}$ knowing $U_i$ and discretized values $z_{b,i}$ of the topography. Following (81), the term $\mathcal{F}{i,j}$ in (80) denotes an interpolation of the normal component of the flux $F(U).\mathbf{n}{i,j}$ along the edge $C_{i,j}$. The functions $F(U_i, U_j, z_{b,i} - z_{b,j}, \mathbf{n}_{i,j}) \in \mathbb{R}^{2N+1}$ are the numerical fluxes, see [17].
In the next paragraph we define $\mathcal{F}(U_i, U_j, z_{b,i} - z_{b,j}, \mathbf{n}{i,j})$ using the kinetic interpretation of the system. The computation of the value $U{i,e}$, which denotes a value outside $C_i$ (see Fig. 2-(b)), defined such that the boundary conditions are satisfied, and the definition of the boundary flux $F(U_i, U_{e,i}, \mathbf{n}i)$ are described paragraph 5.7. Notice that we assume a flat topography on the boundaries i.e. $z{b,i} = z_{b,i,e}$.
5.4 Discrete kinetic equation
The choice of a kinetic scheme is motivated by several arguments. First, the kinetic interpretation is a suitable starting point for building a stable numerical scheme. We will prove in paragraph 5.4 that the proposed kinetic scheme preserves positivity of the water depth and ensures a discrete local maximum principle for a tracer concentration (temperature, salinity...). Second, the construction of the kinetic scheme does not need the computation of the system eigenvalues. This point is very important here since these eigenvalues are not available in explicit analytical form, and they are hardly accessible even numerically. Furthermore, as previously mentioned, hyperbolicity of the multilayer model may not hold, and the kinetic scheme allows overcoming this difficulty.
5.4.1 Without topography
In a first step we consider a situation with flat bottom. Following prop. 4.1, the model (18)-(19) reduces, for each layer, to a classical Saint-Venant system with exchange terms and its kinetic interpretation (see Eq. (66)) is given by
with the notations defined in paragraph 4.2.
Let $C_i$ be a cell, see Fig. 2. The integral over $C_i$ of the convective part of the kinetic equation (85) gives
with $M_{\alpha,i} = M(U_{\alpha,i}, \xi, \gamma)$, $\mathbf{n}{i,j}$ being the outward normal to the cell $C_i$. The quantity $M{\alpha,i,j}$ is defined by the classical kinetic upwinding
with $\zeta_{i,j} = (\xi \ \gamma)^T \cdot \mathbf{n}_{i,j}$.
Therefore, the kinetic scheme applied for Eq. (85) is given by
with the exchange terms ${N_{\alpha+1/2,i}^{n+1^{-}}}_{\alpha=0}^N$ defined by