Sources#

#include <Sources.h>
Brief description

class Sources Sources represente une liste de Source .

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:`Sources <class-sources>`
[Sources](#class-sources)

Detailed description#

Une equation contient un membres Equation_base::les_sources de type Sources. Un objet Sources est un morceaux d’equation, cette classe herite donc de MorEqn.

Inherits from#

Inheritance graph#

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

../../../../../_images/classSources__inherit__graph.png

List of Public Methods#

List of Public Static Methods#

List of Protected Methods#

Complete Member Function Documentation#

a_pour_Champ_Fonc#

Definition
int Sources::a_pour_Champ_Fonc(const Motcle &mot, TRUST_Ref< Champ_base * > &ch_ref) const
Brief description

Pour chaque source de la liste, appel a a_pour_Champ_Fonc(mot,ch_ref).

Detailed description

Cette methode est appelee par Equation_base::a_pour_Champ_Fonc.

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:`int Sources::a_pour_Champ_Fonc(const Motcle &mot, TRUST_Ref< Champ_base * > &ch_ref) const <sources-public-int-sources-a-pour-champ-fonc-const-motcle-ref-mot-trust-ref-champ-base-ptr-ref-ch-ref-const>`
[int Sources::a_pour_Champ_Fonc(const Motcle &mot, TRUST_Ref< Champ_base * > &ch_ref) const](#sources-public-int-sources-a-pour-champ-fonc-const-motcle-ref-mot-trust-ref-champ-base-ptr-ref-ch-ref-const)

ajouter#

Definition
DoubleTab & Sources::ajouter(DoubleTab &) const
Brief description

Ajoute la contribution de toutes les sources de la liste au tableau passe en parametre, et renvoie ce tableau.

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:`DoubleTab & Sources::ajouter(DoubleTab &) const <sources-public-doubletab-ref-sources-ajouter-doubletab-ref-const>`
[DoubleTab & Sources::ajouter(DoubleTab &) const](#sources-public-doubletab-ref-sources-ajouter-doubletab-ref-const)

associer_champ_rho#

Definition
void Sources::associer_champ_rho(const Champ_base &champ_rho)
Brief description

Pour chaque source de la liste, appel a associer_champ_rho de la source.

Detailed description

Si la masse volumique est variable, il faut declarer le champ de rho aux sources avec cette methode (front - tracking) Sinon, par defaut, les calculs sont faits avec rho = 1

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 Sources::associer_champ_rho(const Champ_base &champ_rho) <sources-public-void-sources-associer-champ-rho-const-champ-base-ref-champ-rho>`
[void Sources::associer_champ_rho(const Champ_base &champ_rho)](#sources-public-void-sources-associer-champ-rho-const-champ-base-ref-champ-rho)

calculer#

Definition
DoubleTab & Sources::calculer(DoubleTab &) const
Brief description

Calcule la contribution de toutes les sources de la liste stocke le resultat dans le tableau passe en parametre,.

Detailed description

et renvoie ce tableau.

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:`DoubleTab & Sources::calculer(DoubleTab &) const <sources-public-doubletab-ref-sources-calculer-doubletab-ref-const>`
[DoubleTab & Sources::calculer(DoubleTab &) const](#sources-public-doubletab-ref-sources-calculer-doubletab-ref-const)

check_multiphase_compatibility#

Definition
void Sources::check_multiphase_compatibility() const override
Brief description
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:`void Sources::check_multiphase_compatibility() const override <sources-public-void-sources-check-multiphase-compatibility-const-override>`
[void Sources::check_multiphase_compatibility() const override](#sources-public-void-sources-check-multiphase-compatibility-const-override)

completer#

Definition
void Sources::completer()
Brief description

Appelle Source::completer() sur toutes les sources de la liste.

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:`void Sources::completer() <sources-public-void-sources-completer>`
[void Sources::completer()](#sources-public-void-sources-completer)

contribuer_a_avec#

Definition
void Sources::contribuer_a_avec(const DoubleTab &, Matrice_Morse &) const
Brief description

contribution a la matrice implicite des termes sources par defaut pas de contribution

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 Sources::contribuer_a_avec(const DoubleTab &, Matrice_Morse &) const <sources-public-void-sources-contribuer-a-avec-const-doubletab-ref-matrice-morse-ref-const>`
[void Sources::contribuer_a_avec(const DoubleTab &, Matrice_Morse &) const](#sources-public-void-sources-contribuer-a-avec-const-doubletab-ref-matrice-morse-ref-const)

contribuer_jacobienne#

Definition
void Sources::contribuer_jacobienne(Matrice_Bloc &matrice, int n) const
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 Sources::contribuer_jacobienne(Matrice_Bloc &matrice, int n) const <sources-public-void-sources-contribuer-jacobienne-matrice-bloc-ref-matrice-int-n-const>`
[void Sources::contribuer_jacobienne(Matrice_Bloc &matrice, int n) const](#sources-public-void-sources-contribuer-jacobienne-matrice-bloc-ref-matrice-int-n-const)

dimensionner#

Definition
void Sources::dimensionner(Matrice_Morse &) const
Brief description

Dimensionnement de la matrice implicite des termes sources.

Detailed description

Parcours toutes les sources de la liste pour dimensionner.

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 Sources::dimensionner(Matrice_Morse &) const <sources-public-void-sources-dimensionner-matrice-morse-ref-const>`
[void Sources::dimensionner(Matrice_Morse &) const](#sources-public-void-sources-dimensionner-matrice-morse-ref-const)

duplique#

Definition
int Sources::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 Sources::duplique() const override <sources-public-int-sources-duplique-const-override>`
[int Sources::duplique() const override](#sources-public-int-sources-duplique-const-override)

get_info#

Definition
const Type_info * Sources::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 * Sources::get_info() const override <sources-public-const-type-info-ptr-sources-get-info-const-override>`
[const Type_info * Sources::get_info() const override](#sources-public-const-type-info-ptr-sources-get-info-const-override)

impr#

Definition
int Sources::impr(Sortie &) const
Brief description

Appelle Source::impr() sur toutes les sources de la liste.

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 Sources::impr(Sortie &) const <sources-public-int-sources-impr-sortie-ref-const>`
[int Sources::impr(Sortie &) const](#sources-public-int-sources-impr-sortie-ref-const)

initialiser#

Definition
int Sources::initialiser(double temps)
Brief description

Appelle Source::initialiser(temps) sur toutes les sources de la liste.

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 Sources::initialiser(double temps) <sources-public-int-sources-initialiser-double-temps>`
[int Sources::initialiser(double temps)](#sources-public-int-sources-initialiser-double-temps)

mettre_a_jour#

Definition
void Sources::mettre_a_jour(double temps)
Brief description

Mise a jour en temps, de toute les sources de la liste.

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:`void Sources::mettre_a_jour(double temps) <sources-public-void-sources-mettre-a-jour-double-temps>`
[void Sources::mettre_a_jour(double temps)](#sources-public-void-sources-mettre-a-jour-double-temps)

resetTime#

Definition
void Sources::resetTime(double temps)
Brief description

Rest all sources to a given time See ProblemeTrio::resetTime()

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:`void Sources::resetTime(double temps) <sources-public-void-sources-resettime-double-temps>`
[void Sources::resetTime(double temps)](#sources-public-void-sources-resettime-double-temps)

Sources#

Definition
Sources::Sources()
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:`Sources::Sources() <sources-public-sources-sources>`
[Sources::Sources()](#sources-public-sources-sources)

taille_memoire#

Definition
unsigned Sources::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 Sources::taille_memoire() const override <sources-public-unsigned-sources-taille-memoire-const-override>`
[unsigned Sources::taille_memoire() const override](#sources-public-unsigned-sources-taille-memoire-const-override)

~Sources#

Definition
Sources::~Sources()
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:`Sources::~Sources() <sources-public-sources-dtor-sources>`
[Sources::~Sources()](#sources-public-sources-dtor-sources)

cree_instance#

Definition
Objet_U * Sources::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 * Sources::cree_instance() <sources-public-static-objet-u-ptr-sources-cree-instance>`
[Objet_U * Sources::cree_instance()](#sources-public-static-objet-u-ptr-sources-cree-instance)

info#

Definition
const Type_info * Sources::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 * Sources::info() <sources-public-static-const-type-info-ptr-sources-info>`
[const Type_info * Sources::info()](#sources-public-static-const-type-info-ptr-sources-info)

self_cast#

Definition
const Sources & Sources::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 Sources & Sources::self_cast(const Objet_U &) <sources-public-static-const-sources-ref-sources-self-cast-const-objet-u-ref>`
[const Sources & Sources::self_cast(const Objet_U &)](#sources-public-static-const-sources-ref-sources-self-cast-const-objet-u-ref)

self_cast#

Definition
Sources & Sources::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:`Sources & Sources::self_cast(Objet_U &) <sources-public-static-sources-ref-sources-self-cast-objet-u-ref>`
[Sources & Sources::self_cast(Objet_U &)](#sources-public-static-sources-ref-sources-self-cast-objet-u-ref)

printOn#

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

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

Detailed description

Reimplements:

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:`Sortie & Sources::printOn(Sortie &x) const override <sources-protected-sortie-ref-sources-printon-sortie-ref-x-const-override>`
[Sortie & Sources::printOn(Sortie &x) const override](#sources-protected-sortie-ref-sources-printon-sortie-ref-x-const-override)

readOn#

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

Lecture d’une liste de sources sur un flot d’entree.

Detailed description

Lit une liste de sources separees par des virgules et le sajoute a la liste. format: { bloc de lecture d’une source [, bloc de lecture d’une source] … }

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 & Sources::readOn(Entree &) override <sources-protected-entree-ref-sources-readon-entree-ref-override>`
[Entree & Sources::readOn(Entree &) override](#sources-protected-entree-ref-sources-readon-entree-ref-override)

Attributes Documentation#

info_obj (public)
const Type_info Sources::info_obj