moyenne_par_morceaux#

#include <corrections_qdm.h>
Brief description

: class moyenne_par_morceaux

How to reference this class#

Copy the following pieces of RST/Markdown code to cite this element in other parts of the sphinx documentation (there is a copy button on the top-right when hovering the code block):

:ref:`moyenne\_par\_morceaux <class-moyenne-par-morceaux>`
[moyenne\_par\_morceaux](#class-moyenne-par-morceaux)

Detailed description#

<S’OCCUPE DE CALCULER v_cible_ et qdm_cible_ UNIQUEMENT qdm_cible = alpha_l rho_l v_cible_ Pour (n - 1)*duree_morceaux <t <(n)*duree_morceaux : v_cible_ = 1/duree_morceau sum_{morceau_precedent} v_liq - v_vap qdm_cible_ = 1/duree_morceau sum_{morceau_precedent} a_l rho_l * (v_liq - v_vap) Pour t = n*duree_morceaux n < n + 1 … ATTENTION AUX DIMENSION : v_cible_ vaut alpha_l*v_liq (03.03.22)

Inherits from#

Inheritance graph#

If the image is too small, right-click and open in new tab

../../../../../_images/classmoyenne__par__morceaux__inherit__graph.png

List of Public Methods#

List of Public Static Methods#

List of Protected Methods#

Complete Member Function Documentation#

compute_qdm_cible#

Definition
void moyenne_par_morceaux::compute_qdm_cible(double alpha_l, double vitesse_relative)
Brief description
Detailed description
References
Referenced By
How to reference this method:

Copy the following pieces of RST/Markdown code to cite this element in other parts of the sphinx documentation (there is a copy button on the top-right when hovering the code block):

:ref:`void moyenne_par_morceaux::compute_qdm_cible(double alpha_l, double vitesse_relative) <moyenne-par-morceaux-public-void-moyenne-par-morceaux-compute-qdm-cible-double-alpha-l-double-vitesse-relative>`
[void moyenne_par_morceaux::compute_qdm_cible(double alpha_l, double vitesse_relative)](#moyenne-par-morceaux-public-void-moyenne-par-morceaux-compute-qdm-cible-double-alpha-l-double-vitesse-relative)

duplique#

Definition
int moyenne_par_morceaux::duplique() const override
Brief description
Detailed description

Reimplements:

How to reference this method:

Copy the following pieces of RST/Markdown code to cite this element in other parts of the sphinx documentation (there is a copy button on the top-right when hovering the code block):

:ref:`int moyenne_par_morceaux::duplique() const override <moyenne-par-morceaux-public-int-moyenne-par-morceaux-duplique-const-override>`
[int moyenne_par_morceaux::duplique() const override](#moyenne-par-morceaux-public-int-moyenne-par-morceaux-duplique-const-override)

get_info#

Definition
const Type_info * moyenne_par_morceaux::get_info() const override
Brief description

Donne des informations sur le type de l’ Objet_U .

Detailed description

Reimplements:

How to reference this method:

Copy the following pieces of RST/Markdown code to cite this element in other parts of the sphinx documentation (there is a copy button on the top-right when hovering the code block):

:ref:`const Type_info * moyenne_par_morceaux::get_info() const override <moyenne-par-morceaux-public-const-type-info-ptr-moyenne-par-morceaux-get-info-const-override>`
[const Type_info * moyenne_par_morceaux::get_info() const override](#moyenne-par-morceaux-public-const-type-info-ptr-moyenne-par-morceaux-get-info-const-override)

get_need_for_rho_l#

Definition
int moyenne_par_morceaux::get_need_for_rho_l()
Brief description
Detailed description
Referenced By
How to reference this method:

Copy the following pieces of RST/Markdown code to cite this element in other parts of the sphinx documentation (there is a copy button on the top-right when hovering the code block):

:ref:`int moyenne_par_morceaux::get_need_for_rho_l() <moyenne-par-morceaux-public-int-moyenne-par-morceaux-get-need-for-rho-l>`
[int moyenne_par_morceaux::get_need_for_rho_l()](#moyenne-par-morceaux-public-int-moyenne-par-morceaux-get-need-for-rho-l)

get_need_for_vl_vv#

Definition
int moyenne_par_morceaux::get_need_for_vl_vv()
Brief description
Detailed description
Referenced By
How to reference this method:

Copy the following pieces of RST/Markdown code to cite this element in other parts of the sphinx documentation (there is a copy button on the top-right when hovering the code block):

:ref:`int moyenne_par_morceaux::get_need_for_vl_vv() <moyenne-par-morceaux-public-int-moyenne-par-morceaux-get-need-for-vl-vv>`
[int moyenne_par_morceaux::get_need_for_vl_vv()](#moyenne-par-morceaux-public-int-moyenne-par-morceaux-get-need-for-vl-vv)

get_qdm_cible#

Definition
double moyenne_par_morceaux::get_qdm_cible()
Brief description
Detailed description
References
Referenced By
How to reference this method:

Copy the following pieces of RST/Markdown code to cite this element in other parts of the sphinx documentation (there is a copy button on the top-right when hovering the code block):

:ref:`double moyenne_par_morceaux::get_qdm_cible() <moyenne-par-morceaux-public-double-moyenne-par-morceaux-get-qdm-cible>`
[double moyenne_par_morceaux::get_qdm_cible()](#moyenne-par-morceaux-public-double-moyenne-par-morceaux-get-qdm-cible)

initialise#

Definition
void moyenne_par_morceaux::initialise()
Brief description
Detailed description
References
How to reference this method:

Copy the following pieces of RST/Markdown code to cite this element in other parts of the sphinx documentation (there is a copy button on the top-right when hovering the code block):

:ref:`void moyenne_par_morceaux::initialise() <moyenne-par-morceaux-public-void-moyenne-par-morceaux-initialise>`
[void moyenne_par_morceaux::initialise()](#moyenne-par-morceaux-public-void-moyenne-par-morceaux-initialise)

moyenne_par_morceaux#

Definition
moyenne_par_morceaux::moyenne_par_morceaux()
Brief description
Detailed description
References
How to reference this method:

Copy the following pieces of RST/Markdown code to cite this element in other parts of the sphinx documentation (there is a copy button on the top-right when hovering the code block):

:ref:`moyenne_par_morceaux::moyenne_par_morceaux() <moyenne-par-morceaux-public-moyenne-par-morceaux-moyenne-par-morceaux>`
[moyenne_par_morceaux::moyenne_par_morceaux()](#moyenne-par-morceaux-public-moyenne-par-morceaux-moyenne-par-morceaux)

set_rho_l#

Definition
void moyenne_par_morceaux::set_rho_l(double rho_liq)
Brief description
Detailed description
References
Referenced By
How to reference this method:

Copy the following pieces of RST/Markdown code to cite this element in other parts of the sphinx documentation (there is a copy button on the top-right when hovering the code block):

:ref:`void moyenne_par_morceaux::set_rho_l(double rho_liq) <moyenne-par-morceaux-public-void-moyenne-par-morceaux-set-rho-l-double-rho-liq>`
[void moyenne_par_morceaux::set_rho_l(double rho_liq)](#moyenne-par-morceaux-public-void-moyenne-par-morceaux-set-rho-l-double-rho-liq)

set_time#

Definition
void moyenne_par_morceaux::set_time(double time, double time_step, int time_iteration)
Brief description
Detailed description
References
Referenced By
How to reference this method:

Copy the following pieces of RST/Markdown code to cite this element in other parts of the sphinx documentation (there is a copy button on the top-right when hovering the code block):

:ref:`void moyenne_par_morceaux::set_time(double time, double time_step, int time_iteration) <moyenne-par-morceaux-public-void-moyenne-par-morceaux-set-time-double-time-double-time-step-int-time-iteration>`
[void moyenne_par_morceaux::set_time(double time, double time_step, int time_iteration)](#moyenne-par-morceaux-public-void-moyenne-par-morceaux-set-time-double-time-double-time-step-int-time-iteration)

taille_memoire#

Definition
unsigned moyenne_par_morceaux::taille_memoire() const override
Brief description
Detailed description

Reimplements:

How to reference this method:

Copy the following pieces of RST/Markdown code to cite this element in other parts of the sphinx documentation (there is a copy button on the top-right when hovering the code block):

:ref:`unsigned moyenne_par_morceaux::taille_memoire() const override <moyenne-par-morceaux-public-unsigned-moyenne-par-morceaux-taille-memoire-const-override>`
[unsigned moyenne_par_morceaux::taille_memoire() const override](#moyenne-par-morceaux-public-unsigned-moyenne-par-morceaux-taille-memoire-const-override)

~moyenne_par_morceaux#

Definition
moyenne_par_morceaux::~moyenne_par_morceaux()
Brief description
Detailed description
How to reference this method:

Copy the following pieces of RST/Markdown code to cite this element in other parts of the sphinx documentation (there is a copy button on the top-right when hovering the code block):

:ref:`moyenne_par_morceaux::~moyenne_par_morceaux() <moyenne-par-morceaux-public-moyenne-par-morceaux-dtor-moyenne-par-morceaux>`
[moyenne_par_morceaux::~moyenne_par_morceaux()](#moyenne-par-morceaux-public-moyenne-par-morceaux-dtor-moyenne-par-morceaux)

cree_instance#

Definition
Objet_U * moyenne_par_morceaux::cree_instance()
Brief description
Detailed description
How to reference this method:

Copy the following pieces of RST/Markdown code to cite this element in other parts of the sphinx documentation (there is a copy button on the top-right when hovering the code block):

:ref:`Objet_U * moyenne_par_morceaux::cree_instance() <moyenne-par-morceaux-public-static-objet-u-ptr-moyenne-par-morceaux-cree-instance>`
[Objet_U * moyenne_par_morceaux::cree_instance()](#moyenne-par-morceaux-public-static-objet-u-ptr-moyenne-par-morceaux-cree-instance)

info#

Definition
const Type_info * moyenne_par_morceaux::info()
Brief description
Detailed description
How to reference this method:

Copy the following pieces of RST/Markdown code to cite this element in other parts of the sphinx documentation (there is a copy button on the top-right when hovering the code block):

:ref:`const Type_info * moyenne_par_morceaux::info() <moyenne-par-morceaux-public-static-const-type-info-ptr-moyenne-par-morceaux-info>`
[const Type_info * moyenne_par_morceaux::info()](#moyenne-par-morceaux-public-static-const-type-info-ptr-moyenne-par-morceaux-info)

self_cast#

Definition
const moyenne_par_morceaux & moyenne_par_morceaux::self_cast(const Objet_U &)
Brief description
Detailed description
How to reference this method:

Copy the following pieces of RST/Markdown code to cite this element in other parts of the sphinx documentation (there is a copy button on the top-right when hovering the code block):

:ref:`const moyenne_par_morceaux & moyenne_par_morceaux::self_cast(const Objet_U &) <moyenne-par-morceaux-public-static-const-moyenne-par-morceaux-ref-moyenne-par-morceaux-self-cast-const-objet-u-ref>`
[const moyenne_par_morceaux & moyenne_par_morceaux::self_cast(const Objet_U &)](#moyenne-par-morceaux-public-static-const-moyenne-par-morceaux-ref-moyenne-par-morceaux-self-cast-const-objet-u-ref)

self_cast#

Definition
moyenne_par_morceaux & moyenne_par_morceaux::self_cast(Objet_U &)
Brief description
Detailed description
How to reference this method:

Copy the following pieces of RST/Markdown code to cite this element in other parts of the sphinx documentation (there is a copy button on the top-right when hovering the code block):

:ref:`moyenne_par_morceaux & moyenne_par_morceaux::self_cast(Objet_U &) <moyenne-par-morceaux-public-static-moyenne-par-morceaux-ref-moyenne-par-morceaux-self-cast-objet-u-ref>`
[moyenne_par_morceaux & moyenne_par_morceaux::self_cast(Objet_U &)](#moyenne-par-morceaux-public-static-moyenne-par-morceaux-ref-moyenne-par-morceaux-self-cast-objet-u-ref)

printOn#

Definition
Sortie & moyenne_par_morceaux::printOn(Sortie &x) const override
Brief description

Ecriture de l’objet sur un flot de sortie Methode a surcharger.

Detailed description

Reimplements:

References
How to reference this method:

Copy the following pieces of RST/Markdown code to cite this element in other parts of the sphinx documentation (there is a copy button on the top-right when hovering the code block):

:ref:`Sortie & moyenne_par_morceaux::printOn(Sortie &x) const override <moyenne-par-morceaux-protected-sortie-ref-moyenne-par-morceaux-printon-sortie-ref-x-const-override>`
[Sortie & moyenne_par_morceaux::printOn(Sortie &x) const override](#moyenne-par-morceaux-protected-sortie-ref-moyenne-par-morceaux-printon-sortie-ref-x-const-override)

readOn#

Definition
Entree & moyenne_par_morceaux::readOn(Entree &) override
Brief description

Lecture d’un Objet_U sur un flot d’entree Methode a surcharger.

Detailed description

Reimplements:

References
How to reference this method:

Copy the following pieces of RST/Markdown code to cite this element in other parts of the sphinx documentation (there is a copy button on the top-right when hovering the code block):

:ref:`Entree & moyenne_par_morceaux::readOn(Entree &) override <moyenne-par-morceaux-protected-entree-ref-moyenne-par-morceaux-readon-entree-ref-override>`
[Entree & moyenne_par_morceaux::readOn(Entree &) override](#moyenne-par-morceaux-protected-entree-ref-moyenne-par-morceaux-readon-entree-ref-override)

Attributes Documentation#

info_obj (public)
const Type_info moyenne_par_morceaux::info_obj
duree_morceau_demandee_ (protected)
double moyenne_par_morceaux::duree_morceau_demandee_
last_update_time_ (protected)
double moyenne_par_morceaux::last_update_time_
qdm_cible_ (protected)
double moyenne_par_morceaux::qdm_cible_
qdm_integ_partielle_ (protected)
double moyenne_par_morceaux::qdm_integ_partielle_
rho_liq_ (protected)
double moyenne_par_morceaux::rho_liq_
time_ (protected)
double moyenne_par_morceaux::time_
time_iteration_ (protected)
int moyenne_par_morceaux::time_iteration_
timestep_ (protected)
double moyenne_par_morceaux::timestep_
v_cible_ (protected)
double moyenne_par_morceaux::v_cible_
v_init_guess_ (protected)
double moyenne_par_morceaux::v_init_guess_