8#include "include/Sfx_DefineTypes.h"
32 constexpr float64 Evaluation_H_fonction_A(float64 A, float64 Z, float64 B = 1.)
44 constexpr float64 Evaluation_A_fonction_H(float64 H, float64 Z, float64 B = 1.)
64 return (2. * aArea) / aWidth + aWidth;
70 inline constexpr float64
HydRadius( float64 aArea, float64 aWidth = 1.)
76 inline constexpr float64
WettedArea(float64 aDepth, float64 aWidth = 1.)
78 return aWidth * aDepth;
93 constexpr float64 operator() (
const float64 aU1,
94 const float64 aU2)
const
131 constexpr float64 operator () (
const float64 aArea,
const float64 aWidth = 1.)
const
142 return (2.*aArea)/aWidth + aWidth;
162 constexpr float64 operator () (
const float64 aArea,
const float64 aWidth = 1.)
const
174 return (aArea/wWP( aArea));
184 constexpr float64 operator () (
const float64 aDepth,
const float64 aWidth = 1.)
const
192 return aWidth*aDepth;
207 constexpr float64 operator () ( float64 aWidth = 1.)
const
223 double P(
double A,
double B)
227 Resultat = 2. *
A / B + B;
232 double R(
double A,
double B)
236 Resultat =
A / P(A, B);
242 double A(
double B,
double Y)
262 template<
typename Range>
265 static_assert(0 != std::size(aU1));
266 static_assert(std::is_same_v<std::size(aU1), std::size(aU2)>);
267 if constexpr ( !std::is_same_v<std::size(aU1), std::size(aU2)>)
273 return (aU2 * aU2) / aU1;
constexpr float64 SectionWidth(float64 aWidth=1.)
Definition HydUtils.h:80
constexpr float64 HydRadius(float64 aArea, float64 aWidth=1.)
Function specific to a rectangular channel of width B Perimeter established according to a flow area ...
Definition HydUtils.h:70
constexpr float64 computeVelocity(float64 aU1, float64 aU2)
"Model of" binary function (STL function objects).
Definition HydUtils.h:54
constexpr float64 WettedArea(float64 aDepth, float64 aWidth=1.)
Definition HydUtils.h:76
constexpr float64 WettedPerimeter(float64 aArea, float64 aWidth=1.)
Function object (callable) that perform calculation cross-section ( wetted area, hydraulic radius,...
Definition HydUtils.h:62
auto StVenant1D_Incomplete_Flux(Range &aU1, Range &aU2)
Definition Sfx_MathFunctions.hpp:330
@ A
Definition dbpp_Enumerations.h:16
double float64
Definition dbpp_LDeltaOperator.h:12