Support_Champ_Masse_Volumique#

#include <Support_Champ_Masse_Volumique.h>
Brief description

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:`Support\_Champ\_Masse\_Volumique <class-support-champ-masse-volumique>`
[Support\_Champ\_Masse\_Volumique](#class-support-champ-masse-volumique)

Detailed description#

Inherited by#

Inheritance graph#

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

../../../../../_images/classSupport__Champ__Masse__Volumique__inherit__graph.png

List of Public Methods#

List of Protected Methods#

Complete Member Function Documentation#

associer_champ_masse_volumique#

Definition
void Support_Champ_Masse_Volumique::associer_champ_masse_volumique(const Champ_base &)
Brief description

Methode a appeler dans la preparation du probleme pour demander a l’objet de tenir compte du champ de masse volumique en parametre.

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 Support_Champ_Masse_Volumique::associer_champ_masse_volumique(const Champ_base &) <support-champ-masse-volumique-public-void-support-champ-masse-volumique-associer-champ-masse-volumique-const-champ-base-ref>`
[void Support_Champ_Masse_Volumique::associer_champ_masse_volumique(const Champ_base &)](#support-champ-masse-volumique-public-void-support-champ-masse-volumique-associer-champ-masse-volumique-const-champ-base-ref)

dissocier_champ_masse_volumique#

Definition
void Support_Champ_Masse_Volumique::dissocier_champ_masse_volumique()
Brief description

Annule la reference a la masse volumique.

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:`void Support_Champ_Masse_Volumique::dissocier_champ_masse_volumique() <support-champ-masse-volumique-public-void-support-champ-masse-volumique-dissocier-champ-masse-volumique>`
[void Support_Champ_Masse_Volumique::dissocier_champ_masse_volumique()](#support-champ-masse-volumique-public-void-support-champ-masse-volumique-dissocier-champ-masse-volumique)

get_champ_masse_volumique#

Definition
const Champ_base & Support_Champ_Masse_Volumique::get_champ_masse_volumique() const
Brief description

Renvoie le champ de masse volumique.

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:`const Champ_base & Support_Champ_Masse_Volumique::get_champ_masse_volumique() const <support-champ-masse-volumique-public-const-champ-base-ref-support-champ-masse-volumique-get-champ-masse-volumique-const>`
[const Champ_base & Support_Champ_Masse_Volumique::get_champ_masse_volumique() const](#support-champ-masse-volumique-public-const-champ-base-ref-support-champ-masse-volumique-get-champ-masse-volumique-const)

has_champ_masse_volumique#

Definition
int Support_Champ_Masse_Volumique::has_champ_masse_volumique() const
Brief description

Renvoie 1 si la masse volumique a ete associee, 0 sinon.

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:`int Support_Champ_Masse_Volumique::has_champ_masse_volumique() const <support-champ-masse-volumique-public-int-support-champ-masse-volumique-has-champ-masse-volumique-const>`
[int Support_Champ_Masse_Volumique::has_champ_masse_volumique() const](#support-champ-masse-volumique-public-int-support-champ-masse-volumique-has-champ-masse-volumique-const)

Support_Champ_Masse_Volumique#

Definition
Support_Champ_Masse_Volumique::Support_Champ_Masse_Volumique()
Brief description

Constructeur de la classe.

Detailed description

Par defaut, une classe derivee deja codee appelle le constructeur sans argument. support_ok est mis a zero et on produit une erreur si Associer_champ_masse_volumique est appele. Pour signifier que le champ de masse volumique est supporte par la classe derivee, il faut appeler Declare_support_masse_volumique

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:`Support_Champ_Masse_Volumique::Support_Champ_Masse_Volumique() <support-champ-masse-volumique-public-support-champ-masse-volumique-support-champ-masse-volumique>`
[Support_Champ_Masse_Volumique::Support_Champ_Masse_Volumique()](#support-champ-masse-volumique-public-support-champ-masse-volumique-support-champ-masse-volumique)

support_ok#

Definition
const int & Support_Champ_Masse_Volumique::support_ok() const
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:`const int & Support_Champ_Masse_Volumique::support_ok() const <support-champ-masse-volumique-public-const-int-ref-support-champ-masse-volumique-support-ok-const>`
[const int & Support_Champ_Masse_Volumique::support_ok() const](#support-champ-masse-volumique-public-const-int-ref-support-champ-masse-volumique-support-ok-const)

~Support_Champ_Masse_Volumique#

Definition
Support_Champ_Masse_Volumique::~Support_Champ_Masse_Volumique()
Brief description

Destructeur virtuel (pour eviter les warnings)

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:`Support_Champ_Masse_Volumique::~Support_Champ_Masse_Volumique() <support-champ-masse-volumique-public-support-champ-masse-volumique-dtor-support-champ-masse-volumique>`
[Support_Champ_Masse_Volumique::~Support_Champ_Masse_Volumique()](#support-champ-masse-volumique-public-support-champ-masse-volumique-dtor-support-champ-masse-volumique)

declare_support_masse_volumique#

Definition
void Support_Champ_Masse_Volumique::declare_support_masse_volumique(int ok)
Brief description

Le constructeur d’une classe derivee qui se sert de la masse volumique doit appeler cette fonction avec la valeur 1.

Detailed description

Si une classe cliente ( Navier Stokes par ex.) essaie d’associer la masse volumique a une classe qui n’a pas fait ok = 1, on s’arrete : fonction non implementee.

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 Support_Champ_Masse_Volumique::declare_support_masse_volumique(int ok) <support-champ-masse-volumique-protected-void-support-champ-masse-volumique-declare-support-masse-volumique-int-ok>`
[void Support_Champ_Masse_Volumique::declare_support_masse_volumique(int ok)](#support-champ-masse-volumique-protected-void-support-champ-masse-volumique-declare-support-masse-volumique-int-ok)

Attributes Documentation#

ref_champ_rho_ (private)
TRUST_Ref<Champ_base *> Support_Champ_Masse_Volumique::ref_champ_rho_
support_ok_ (private)
int Support_Champ_Masse_Volumique::support_ok_