4#include "include/Sfx_UniversalConstants.h"
27 return ((A * A) / (2. * B));
49 return((U2 * U2) / U1);
One-dimensional St-Venant equation spatial terms.
Definition Sfx_StVenant1DTerms.h:17
static constexpr float64 CalculTermePressionHydrostatique1D(float64 A, float64 B=1.)
Hydrostatique pressure (gh^2/2.) for a rectangular channel of width B.
Definition Sfx_StVenant1DTerms.h:25
static constexpr float64 EvaluationFlux_I_1D(float64 U1, float64 U2, float64 B=1.)
Connvective flux (without hydrostatic pressure term).
Definition Sfx_StVenant1DTerms.h:47
static constexpr float64 EvaluationFlux_C_1D(float64 U1, float64 U2, float64 B=1.)
Flux including convective and hydrostatic pressure term.
Definition Sfx_StVenant1DTerms.h:36