Sources#
#include <Sources.h>
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#
public : TRUST_List
<Source>public : MorEqn
Inheritance graph#
If the image is too small, right-click and open in new tab
List of Public Methods#
List of Public Static Methods#
List of Protected Methods#
Complete Member Function Documentation#
a_pour_Champ_Fonc#
int Sources::a_pour_Champ_Fonc(const Motcle &mot, TRUST_Ref< Champ_base * > &ch_ref) const
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.
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#
DoubleTab & Sources::ajouter(DoubleTab &) const
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#
void Sources::associer_champ_rho(const Champ_base &champ_rho)
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
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#
DoubleTab & Sources::calculer(DoubleTab &) const
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#
void Sources::check_multiphase_compatibility() const override
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:`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#
void Sources::completer()
Appelle Source::completer() sur toutes les sources de la liste.
Detailed description
voir Source_base::completer() .
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#
void Sources::contribuer_a_avec(const DoubleTab &, Matrice_Morse &) const
contribution a la matrice implicite des termes sources par defaut pas de contribution
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::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#
void Sources::contribuer_jacobienne(Matrice_Bloc &matrice, int n) const
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 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#
void Sources::dimensionner(Matrice_Morse &) const
Dimensionnement de la matrice implicite des termes sources.
Detailed description
Parcours toutes les sources de la liste pour dimensionner.
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#
int Sources::duplique() const override
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#
const Type_info * Sources::get_info() const override
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#
int Sources::impr(Sortie &) const
Appelle Source::impr() sur toutes les sources de la liste.
Detailed description
voir Source_base::impr() .
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#
int Sources::initialiser(double temps)
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#
void Sources::mettre_a_jour(double temps)
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#
void Sources::resetTime(double temps)
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#
Sources::Sources()
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#
unsigned Sources::taille_memoire() const override
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#
Sources::~Sources()
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#
Objet_U * Sources::cree_instance()
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#
const Type_info * Sources::info()
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#
const Sources & Sources::self_cast(const Objet_U &)
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#
Sources & Sources::self_cast(Objet_U &)
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#
Sortie & Sources::printOn(Sortie &x) const override
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#
Entree & Sources::readOn(Entree &) override
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#
const Type_info Sources::info_obj