Probleme_Couple#
#include <Probleme_Couple.h>
classe Probleme_Couple C’est la classe historique de couplage de TRUST.
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:`Probleme\_Couple <class-probleme-couple>`
[Probleme\_Couple](#class-probleme-couple)
Detailed description#
Il s’agit d’un Couplage_U particulier. Le Probleme_Couple ne couple que des Probleme_base, tous associes au meme schema en temps. Il possede son propre mecanisme d’echange de champs par “raccords”. Les problemes sont groupes. Chaque groupe fait un iteration, puis les nouveaux champs sont disponibles pour les groupes suivants. A l’interieur d’un groupe, ce sont les anciens champs qui sont echanges.
Inherits from#
public : Couplage_U
Inherited by#
public : Pb_Couple_Optimisation_IBM
public : Pb_Couple_Rayonnement
public : Pb_Couple_rayo_semi_transp
public : Pbc_MED
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#
ajouter#
void Probleme_Couple::ajouter(Probleme_base &)
Ajoute un probleme a la liste des problemes couples.
Detailed description
Met en place la reference du probleme vers this. Verifie que l’ordre conduction, thHyd est respecte.
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 Probleme_Couple::ajouter(Probleme_base &) <probleme-couple-public-void-probleme-couple-ajouter-probleme-base-ref>`
[void Probleme_Couple::ajouter(Probleme_base &)](#probleme-couple-public-void-probleme-couple-ajouter-probleme-base-ref)
associer_#
int Probleme_Couple::associer_(Objet_U &) override
Surcharge Objet_U::associer_(Objet_U&) Associe un objet au probleme couple, en verifiant le type.
Detailed description
dynamiquement. L’objet peut - etre:
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:`int Probleme_Couple::associer_(Objet_U &) override <probleme-couple-public-int-probleme-couple-associer-underscore-objet-u-ref-override>`
[int Probleme_Couple::associer_(Objet_U &) override](#probleme-couple-public-int-probleme-couple-associer-underscore-objet-u-ref-override)
associer_sch_tps_base#
void Probleme_Couple::associer_sch_tps_base(Schema_Temps_base &)
Associe une copie du schema en temps a chaque probleme du Probleme couple.
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 Probleme_Couple::associer_sch_tps_base(Schema_Temps_base &) <probleme-couple-public-void-probleme-couple-associer-sch-tps-base-schema-temps-base-ref>`
[void Probleme_Couple::associer_sch_tps_base(Schema_Temps_base &)](#probleme-couple-public-void-probleme-couple-associer-sch-tps-base-schema-temps-base-ref)
computeTimeStep#
double Probleme_Couple::computeTimeStep(bool &stop) const override
Compute the value the Problem would like for the next time step.
Detailed description
This value will not necessarily be used at the call of initTimeStep, but it is a hint. This method may use all the internal state of the Problem.
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:`double Probleme_Couple::computeTimeStep(bool &stop) const override <probleme-couple-public-double-probleme-couple-computetimestep-bool-ref-stop-const-override>`
[double Probleme_Couple::computeTimeStep(bool &stop) const override](#probleme-couple-public-double-probleme-couple-computetimestep-bool-ref-stop-const-override)
discretiser#
void Probleme_Couple::discretiser(Discretisation_base &)
Associe une discretisation a tous les problemes du probleme couple.
Detailed description
Appelle Probleme_Base::discretiser(const Discretisation_base&) sur chacun des problemes du probleme couple. voir Probleme_Base::discretiser(const Discretisation_base&)
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 Probleme_Couple::discretiser(Discretisation_base &) <probleme-couple-public-void-probleme-couple-discretiser-discretisation-base-ref>`
[void Probleme_Couple::discretiser(Discretisation_base &)](#probleme-couple-public-void-probleme-couple-discretiser-discretisation-base-ref)
duplique#
int Probleme_Couple::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 Probleme_Couple::duplique() const override <probleme-couple-public-int-probleme-couple-duplique-const-override>`
[int Probleme_Couple::duplique() const override](#probleme-couple-public-int-probleme-couple-duplique-const-override)
get_info#
const Type_info * Probleme_Couple::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 * Probleme_Couple::get_info() const override <probleme-couple-public-const-type-info-ptr-probleme-couple-get-info-const-override>`
[const Type_info * Probleme_Couple::get_info() const override](#probleme-couple-public-const-type-info-ptr-probleme-couple-get-info-const-override)
initialize#
void Probleme_Couple::initialize() override
This method is called once at the beginning, before any other one of the interface Problem.
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:`void Probleme_Couple::initialize() override <probleme-couple-public-void-probleme-couple-initialize-override>`
[void Probleme_Couple::initialize() override](#probleme-couple-public-void-probleme-couple-initialize-override)
initTimeStep#
bool Probleme_Couple::initTimeStep(double dt) override
This method allocates and initializes the unknown and given fields for the future time step.
Detailed description
The value of the interval is imposed through the parameter dt. In case of error, returns false.
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:`bool Probleme_Couple::initTimeStep(double dt) override <probleme-couple-public-bool-probleme-couple-inittimestep-double-dt-override>`
[bool Probleme_Couple::initTimeStep(double dt) override](#probleme-couple-public-bool-probleme-couple-inittimestep-double-dt-override)
iterateTimeStep#
bool Probleme_Couple::iterateTimeStep(bool &converged) override
In the case solveTimeStep uses an iterative process, this method executes a single iteration.
Detailed description
It is thus possible to modify the given fields between iterations. converged is set to true if the process has converged, ie if the unknown fields are solution to the problem on the next time step. Otherwise converged is set to false. The return value indicates if the convergence process behaves normally. If false, the Problem wishes to abort the time step resolution.
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:`bool Probleme_Couple::iterateTimeStep(bool &converged) override <probleme-couple-public-bool-probleme-couple-iteratetimestep-bool-ref-converged-override>`
[bool Probleme_Couple::iterateTimeStep(bool &converged) override](#probleme-couple-public-bool-probleme-couple-iteratetimestep-bool-ref-converged-override)
mettre_a_jour_modele_rayo#
void Probleme_Couple::mettre_a_jour_modele_rayo(double temps)
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 Probleme_Couple::mettre_a_jour_modele_rayo(double temps) <probleme-couple-public-void-probleme-couple-mettre-a-jour-modele-rayo-double-temps>`
[void Probleme_Couple::mettre_a_jour_modele_rayo(double temps)](#probleme-couple-public-void-probleme-couple-mettre-a-jour-modele-rayo-double-temps)
Probleme_Couple#
Probleme_Couple::Probleme_Couple()
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:`Probleme_Couple::Probleme_Couple() <probleme-couple-public-probleme-couple-probleme-couple>`
[Probleme_Couple::Probleme_Couple()](#probleme-couple-public-probleme-couple-probleme-couple)
sauver#
void Probleme_Couple::sauver() const override
Sauvegarder l’etat du probleme sur disque.
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:`void Probleme_Couple::sauver() const override <probleme-couple-public-void-probleme-couple-sauver-const-override>`
[void Probleme_Couple::sauver() const override](#probleme-couple-public-void-probleme-couple-sauver-const-override)
schema_temps#
Schema_Temps_base & Probleme_Couple::schema_temps()
Renvoie le schema en temps associe aux problemes couples.
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:`Schema_Temps_base & Probleme_Couple::schema_temps() <probleme-couple-public-schema-temps-base-ref-probleme-couple-schema-temps>`
[Schema_Temps_base & Probleme_Couple::schema_temps()](#probleme-couple-public-schema-temps-base-ref-probleme-couple-schema-temps)
schema_temps#
const Schema_Temps_base & Probleme_Couple::schema_temps() const
Renvoie le schema en temps associe aux problemes couples.
Detailed description
(version const)
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 Schema_Temps_base & Probleme_Couple::schema_temps() const <probleme-couple-public-const-schema-temps-base-ref-probleme-couple-schema-temps-const>`
[const Schema_Temps_base & Probleme_Couple::schema_temps() const](#probleme-couple-public-const-schema-temps-base-ref-probleme-couple-schema-temps-const)
solveTimeStep#
bool Probleme_Couple::solveTimeStep() override
pour recodage eventuel et appel unifie en python
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:`bool Probleme_Couple::solveTimeStep() override <probleme-couple-public-bool-probleme-couple-solvetimestep-override>`
[bool Probleme_Couple::solveTimeStep() override](#probleme-couple-public-bool-probleme-couple-solvetimestep-override)
taille_memoire#
unsigned Probleme_Couple::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 Probleme_Couple::taille_memoire() const override <probleme-couple-public-unsigned-probleme-couple-taille-memoire-const-override>`
[unsigned Probleme_Couple::taille_memoire() const override](#probleme-couple-public-unsigned-probleme-couple-taille-memoire-const-override)
updateGivenFields#
bool Probleme_Couple::updateGivenFields() override
ATTENTION :
Detailed description
Rentre ici tout ce qui ne correspond pas a l’API normale de Problem. Actuellement on y met a jour les CLs et les termes sources, sachant que certains vont chercher eux - memes des informations dans les problemes voisins… Programme de travail : tout ce qui est dans cette methode doit etre rendu independant de l’exterieur, et peut du coup rejoindre initTimeStep. Le reste passe dans l’interface d’echange de champs. Ce travail sera fini quand updateGivenFields sera vide et supprime !
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:`bool Probleme_Couple::updateGivenFields() override <probleme-couple-public-bool-probleme-couple-updategivenfields-override>`
[bool Probleme_Couple::updateGivenFields() override](#probleme-couple-public-bool-probleme-couple-updategivenfields-override)
~Probleme_Couple#
Probleme_Couple::~Probleme_Couple()
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:`Probleme_Couple::~Probleme_Couple() <probleme-couple-public-probleme-couple-dtor-probleme-couple>`
[Probleme_Couple::~Probleme_Couple()](#probleme-couple-public-probleme-couple-dtor-probleme-couple)
cree_instance#
Objet_U * Probleme_Couple::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 * Probleme_Couple::cree_instance() <probleme-couple-public-static-objet-u-ptr-probleme-couple-cree-instance>`
[Objet_U * Probleme_Couple::cree_instance()](#probleme-couple-public-static-objet-u-ptr-probleme-couple-cree-instance)
info#
const Type_info * Probleme_Couple::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 * Probleme_Couple::info() <probleme-couple-public-static-const-type-info-ptr-probleme-couple-info>`
[const Type_info * Probleme_Couple::info()](#probleme-couple-public-static-const-type-info-ptr-probleme-couple-info)
self_cast#
const Probleme_Couple & Probleme_Couple::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 Probleme_Couple & Probleme_Couple::self_cast(const Objet_U &) <probleme-couple-public-static-const-probleme-couple-ref-probleme-couple-self-cast-const-objet-u-ref>`
[const Probleme_Couple & Probleme_Couple::self_cast(const Objet_U &)](#probleme-couple-public-static-const-probleme-couple-ref-probleme-couple-self-cast-const-objet-u-ref)
self_cast#
Probleme_Couple & Probleme_Couple::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:`Probleme_Couple & Probleme_Couple::self_cast(Objet_U &) <probleme-couple-public-static-probleme-couple-ref-probleme-couple-self-cast-objet-u-ref>`
[Probleme_Couple & Probleme_Couple::self_cast(Objet_U &)](#probleme-couple-public-static-probleme-couple-ref-probleme-couple-self-cast-objet-u-ref)
printOn#
Sortie & Probleme_Couple::printOn(Sortie &x) const override
Surcharge Objet_U::printOn(Sortie&) Imprime les problemes couples sur un flot de sortie.
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 & Probleme_Couple::printOn(Sortie &x) const override <probleme-couple-protected-sortie-ref-probleme-couple-printon-sortie-ref-x-const-override>`
[Sortie & Probleme_Couple::printOn(Sortie &x) const override](#probleme-couple-protected-sortie-ref-probleme-couple-printon-sortie-ref-x-const-override)
readOn#
Entree & Probleme_Couple::readOn(Entree &) override
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 & Probleme_Couple::readOn(Entree &) override <probleme-couple-protected-entree-ref-probleme-couple-readon-entree-ref-override>`
[Entree & Probleme_Couple::readOn(Entree &) override](#probleme-couple-protected-entree-ref-probleme-couple-readon-entree-ref-override)
Attributes Documentation#
const Type_info Probleme_Couple::info_obj
ArrOfInt Probleme_Couple::groupes
TRUST_Vector<TRUST_Deriv<Schema_Temps_base>> Probleme_Couple::sch_clones