26 include_spip(
'hyd_inc/section.class');
37 $this->rk = (real)
$rk;
47 return $this->rLargeurBerge/pow($this->oP->rYB,$this->rk);
55 if($this->rY >= $this->oP->rYB) {
59 return $this->
Calc(
'Alpha')*pow($this->rY,$this->rk);
70 $rLambda2 = pow($this->
Calc(
'Alpha'),2);
73 for($i=1;$i<=$n;$i++) {
74 $rCurrent = pow($this->rY*$i/$n,$this->rk)/2;
75 $rP += sqrt(pow($n,-2)+$rLambda2*pow($rCurrent-$rPrevious,2));
76 $rPrevious = $rCurrent;
88 return $this->
Calc(
'Alpha')*pow($this->rY, $this->rk+1)/($this->rk+1);
97 return 2 * sqrt(1+pow($this->rk*$this->
Calc(
'Alpha')/2,2)*pow($this->rY,2*($this->rk-1)));
105 return $this->
Calc(
'Alpha')*$this->rk*pow($this->rY,$this->rk-1);
115 return $this->
Calc(
'Alpha')*pow($this->rY, $this->rk+2)/(($this->rk+1)*($this->rk+2));
124 $SYg = $this->
Calc(
'dAlpha')*pow($this->rY, $this->rk+2) + $this->
Calc(
'Alpha')*pow($this->rY, $this->rk+1)*($this->rk+2);
125 return $SYg/(($this->rk+1)*($this->rk+2));
Calc_Alpha()
Calcul de Lambda (mais on garde la routine Alpha commune avec la section circulaire) ...
$rY
Pour loguer les messages de debug de cette classe et ses filles.
$rLargeurBerge
Pour l'affichage du journal de calcul.
Calc_dP()
Calcul de dérivée du périmètre hydraulique par rapport au tirant d'eau.
Calc_dB()
Calcul de dérivée de la largeur au miroir par rapport au tirant d'eau.
$nbDessinPoints
Coefficient de forme compris entre 0 et 1.
Calc_dSYg($rY=0)
Calcul de la dérivée distance du centre de gravité de la section à la surface libre multiplié par la ...
Gestion commune pour les différents types de section.
Calc_S($rY=0)
Calcul de la surface mouillée.
$oLog
Paramètres du système canal (classe oParam)
Calc_SYg($rY=0)
Calcul de la distance du centre de gravité de la section à la surface libre multiplié par la surface ...
Calc_B()
Calcul de la largeur au miroir.
Calc($sDonnee, $rY=false)
Calcul des données à la section.
__construct(&$oLog, &$oP, $rk, $rLargeurBerge)
Calc_P($rY=0)
Calcul du périmètre mouillé.
$oP
Tirant d'eau normal.
Calculs de la section parabolique ou "puissance".