localLaxFluxΒΆ

Computes the local lax flux at an interface. The local lax flux is an upwind flux for scalar wave equations, and is an upwind flux based on the fastest wave for systems of equations. The definition of the local Lax Flux is given below.

\[\notag \begin{align} \tilde{f}_{i+1/2}=\frac{1}{2}\left(f^{+}_{i}+f^{-}_{i+1}\right)-\frac{1}{2}|\lambda|\left(q^{-}_{i+1}-q^{+}_{i}\right) \end{align}\]

Where \(|\lambda|\) is defined as the fastest wave speed at the interface. Due to the simplicity of this flux formulation it is defined for all hyperbolic systems and can be used with all hyperEqn models.