Operateur#

#include <Operateur.h>
Brief description

classe Operateur Classe generique de la hierarchie des operateurs.

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

Detailed description#

Cette classe generique est particuliere car elle n’HERITE PAS de OWN_PTR(Operateur_base) mais de MorEqn. Une reference sur un Operateur_base est renvoye par la methode Operateur::l_op_base() qui est virtuelle pure et doit etre surchargee dans ses derivees.

Inherits from#

Inherited by#

Inheritance graph#

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

../../../../../_images/classOperateur__inherit__graph.png

List of Public Methods#

Complete Member Function Documentation#

ajouter#

Definition
DoubleTab & Operateur::ajouter(const Champ_Inc_base &, DoubleTab &) const
Brief description

Calcule et ajoute la contribution de l’operateur au second membre de l’equation.

Detailed description

Appelle Operateur::ajouter(const DoubleTab&, DoubleTab& )

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:`DoubleTab & Operateur::ajouter(const Champ_Inc_base &, DoubleTab &) const <operateur-public-doubletab-ref-operateur-ajouter-const-champ-inc-base-ref-doubletab-ref-const>`
[DoubleTab & Operateur::ajouter(const Champ_Inc_base &, DoubleTab &) const](#operateur-public-doubletab-ref-operateur-ajouter-const-champ-inc-base-ref-doubletab-ref-const)

ajouter#

Definition
virtual DoubleTab & Operateur::ajouter(const DoubleTab &, DoubleTab &) const =0
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:`virtual DoubleTab & Operateur::ajouter(const DoubleTab &, DoubleTab &) const =0 <operateur-public-virtual-doubletab-ref-operateur-ajouter-const-doubletab-ref-doubletab-ref-const-equal-0>`
[virtual DoubleTab & Operateur::ajouter(const DoubleTab &, DoubleTab &) const =0](#operateur-public-virtual-doubletab-ref-operateur-ajouter-const-doubletab-ref-doubletab-ref-const-equal-0)

ajouter#

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

Ajoute la contribution de l’operateur au tableau passe en parametre.

Detailed description

Appelle Operateur::ajouter(const Champ_Inc_base&, DoubleTab& )

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

ajouter_contribution_explicite_au_second_membre#

Definition
void Operateur::ajouter_contribution_explicite_au_second_membre(const Champ_Inc_base &inconnue, DoubleTab &derivee) 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 Operateur::ajouter_contribution_explicite_au_second_membre(const Champ_Inc_base &inconnue, DoubleTab &derivee) const <operateur-public-void-operateur-ajouter-contribution-explicite-au-second-membre-const-champ-inc-base-ref-inconnue-doubletab-ref-derivee-const>`
[void Operateur::ajouter_contribution_explicite_au_second_membre(const Champ_Inc_base &inconnue, DoubleTab &derivee) const](#operateur-public-void-operateur-ajouter-contribution-explicite-au-second-membre-const-champ-inc-base-ref-inconnue-doubletab-ref-derivee-const)

associer_champ#

Definition
void Operateur::associer_champ(const Champ_Inc_base &, const std::string &nom_ch)
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 Operateur::associer_champ(const Champ_Inc_base &, const std::string &nom_ch) <operateur-public-void-operateur-associer-champ-const-champ-inc-base-ref-const-std-string-ref-nom-ch>`
[void Operateur::associer_champ(const Champ_Inc_base &, const std::string &nom_ch)](#operateur-public-void-operateur-associer-champ-const-champ-inc-base-ref-const-std-string-ref-nom-ch)

calculer#

Definition
DoubleTab & Operateur::calculer(const Champ_Inc_base &, DoubleTab &) const
Brief description

Calcule la contribution de l’operateur, et renvoie le tableau des valeurs.

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:`DoubleTab & Operateur::calculer(const Champ_Inc_base &, DoubleTab &) const <operateur-public-doubletab-ref-operateur-calculer-const-champ-inc-base-ref-doubletab-ref-const>`
[DoubleTab & Operateur::calculer(const Champ_Inc_base &, DoubleTab &) const](#operateur-public-doubletab-ref-operateur-calculer-const-champ-inc-base-ref-doubletab-ref-const)

calculer#

Definition
virtual DoubleTab & Operateur::calculer(const DoubleTab &, DoubleTab &) const =0
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:`virtual DoubleTab & Operateur::calculer(const DoubleTab &, DoubleTab &) const =0 <operateur-public-virtual-doubletab-ref-operateur-calculer-const-doubletab-ref-doubletab-ref-const-equal-0>`
[virtual DoubleTab & Operateur::calculer(const DoubleTab &, DoubleTab &) const =0](#operateur-public-virtual-doubletab-ref-operateur-calculer-const-doubletab-ref-doubletab-ref-const-equal-0)

calculer#

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

Applique l’operateur au champ inconnu et renvoie le resultat.

Detailed description

Appelle Operateur::calculer(const Champ_Inc_base&, DoubleTab& );

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

calculer_pas_de_temps#

Definition
double Operateur::calculer_pas_de_temps() const
Brief description

Calcule le prochain pas de temps.

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 Operateur::calculer_pas_de_temps() const <operateur-public-double-operateur-calculer-pas-de-temps-const>`
[double Operateur::calculer_pas_de_temps() const](#operateur-public-double-operateur-calculer-pas-de-temps-const)

calculer_pas_de_temps_locaux#

Definition
void Operateur::calculer_pas_de_temps_locaux(DoubleTab &) const
Brief description

Calculate the next local time steps.

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 Operateur::calculer_pas_de_temps_locaux(DoubleTab &) const <operateur-public-void-operateur-calculer-pas-de-temps-locaux-doubletab-ref-const>`
[void Operateur::calculer_pas_de_temps_locaux(DoubleTab &) const](#operateur-public-void-operateur-calculer-pas-de-temps-locaux-doubletab-ref-const)

completer#

Definition
void Operateur::completer()
Brief description

Met a jour les references des objets associes a l’operateur.

Detailed description

Operateur::le_champ_inco , Operateur::champ_inco Appelle Operateur_base::completer()

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

discretisation#

Definition
const Discretisation_base & Operateur::discretisation() const
Brief description

Renvoie la discretisation de l’equation dont l’operateur fait partie.

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:`const Discretisation_base & Operateur::discretisation() const <operateur-public-const-discretisation-base-ref-operateur-discretisation-const>`
[const Discretisation_base & Operateur::discretisation() const](#operateur-public-const-discretisation-base-ref-operateur-discretisation-const)

ecrire#

Definition
Sortie & Operateur::ecrire(Sortie &) const
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:`Sortie & Operateur::ecrire(Sortie &) const <operateur-public-sortie-ref-operateur-ecrire-sortie-ref-const>`
[Sortie & Operateur::ecrire(Sortie &) const](#operateur-public-sortie-ref-operateur-ecrire-sortie-ref-const)

impr#

Definition
int Operateur::impr(Sortie &os) const
Brief description

Imprime l’operateur sur un flot de sortie de facon inconditionnelle.

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

imprimer#

Definition
void Operateur::imprimer(Sortie &os) const
Brief description

Imprime l’operateur sur un flot de sortie, si c’est necessaire.

Detailed description

(voir Schema_Temp_base::limpr())

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 Operateur::imprimer(Sortie &os) const <operateur-public-void-operateur-imprimer-sortie-ref-os-const>`
[void Operateur::imprimer(Sortie &os) const](#operateur-public-void-operateur-imprimer-sortie-ref-os-const)

l_op_base#

Definition
virtual const Operateur_base & Operateur::l_op_base() const =0
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:`virtual const Operateur_base & Operateur::l_op_base() const =0 <operateur-public-virtual-const-operateur-base-ref-operateur-l-op-base-const-equal-0>`
[virtual const Operateur_base & Operateur::l_op_base() const =0](#operateur-public-virtual-const-operateur-base-ref-operateur-l-op-base-const-equal-0)

l_op_base#

Definition
virtual Operateur_base & Operateur::l_op_base()=0
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:`virtual Operateur_base & Operateur::l_op_base()=0 <operateur-public-virtual-operateur-base-ref-operateur-l-op-base-equal-0>`
[virtual Operateur_base & Operateur::l_op_base()=0](#operateur-public-virtual-operateur-base-ref-operateur-l-op-base-equal-0)

limpr#

Definition
int Operateur::limpr() const
Brief description

Demande a l’equation si une impression est necessaire Renvoie 1 pour OUI, 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 Operateur::limpr() const <operateur-public-int-operateur-limpr-const>`
[int Operateur::limpr() const](#operateur-public-int-operateur-limpr-const)

lire#

Definition
Entree & Operateur::lire(Entree &)
Brief description

Lit un operateur sur un flot d’entree.

Detailed description

Type l’operateur et lui associe son equation. Format: { [UN Motcle REPRESENTANT UN TYPE] }

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:`Entree & Operateur::lire(Entree &) <operateur-public-entree-ref-operateur-lire-entree-ref>`
[Entree & Operateur::lire(Entree &)](#operateur-public-entree-ref-operateur-lire-entree-ref)

mettre_a_jour#

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

Effecttue une mise a jour en temps de l’operateur.

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

mon_inconnue#

Definition
const Champ_Inc_base & Operateur::mon_inconnue() const
Brief description

Renvoie le champ representant l’inconnue de l’equation dont l’operateur fait partie.

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:`const Champ_Inc_base & Operateur::mon_inconnue() const <operateur-public-const-champ-inc-base-ref-operateur-mon-inconnue-const>`
[const Champ_Inc_base & Operateur::mon_inconnue() const](#operateur-public-const-champ-inc-base-ref-operateur-mon-inconnue-const)

op_non_nul#

Definition
virtual int Operateur::op_non_nul() const =0
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:`virtual int Operateur::op_non_nul() const =0 <operateur-public-virtual-int-operateur-op-non-nul-const-equal-0>`
[virtual int Operateur::op_non_nul() const =0](#operateur-public-virtual-int-operateur-op-non-nul-const-equal-0)

set_description#

Definition
void Operateur::set_description(const Nom &nom)
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 Operateur::set_description(const Nom &nom) <operateur-public-void-operateur-set-description-const-nom-ref-nom>`
[void Operateur::set_description(const Nom &nom)](#operateur-public-void-operateur-set-description-const-nom-ref-nom)

set_fichier#

Definition
void Operateur::set_fichier(const Nom &nom)
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 Operateur::set_fichier(const Nom &nom) <operateur-public-void-operateur-set-fichier-const-nom-ref-nom>`
[void Operateur::set_fichier(const Nom &nom)](#operateur-public-void-operateur-set-fichier-const-nom-ref-nom)

type#

Definition
const Nom & Operateur::type() const
Brief description

Renvoie le (nom du) type de l’operateur a creer.

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 Nom & Operateur::type() const <operateur-public-const-nom-ref-operateur-type-const>`
[const Nom & Operateur::type() const](#operateur-public-const-nom-ref-operateur-type-const)

typer#

Definition
virtual void Operateur::typer()=0
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:`virtual void Operateur::typer()=0 <operateur-public-virtual-void-operateur-typer-equal-0>`
[virtual void Operateur::typer()=0](#operateur-public-virtual-void-operateur-typer-equal-0)

Attributes Documentation#

le_champ_inco (protected)
TRUST_Ref<Champ_Inc_base *> Operateur::le_champ_inco
nom_inco_ (protected)
std::string Operateur::nom_inco_
typ (protected)
Motcle Operateur::typ