Probleme_base#

#include <Probleme_base.h>

classe Probleme_base C’est un Probleme_U qui n’est pas un couplage.

How to cite this class in this doc#

:ref:`Probleme\_base <class-probleme-base>`
[Probleme\_base](#class-probleme-base)

Detailed description#

Le role d’un Probleme_base est la resolution sur un domaine des equations qui le compose. Ses membres sont les attributs et les methodes communs a toutes les classes qui representent des problemes. Un certains nombre d’objets sont associes au probleme pour le constituer: - 1 ou plusieurs equations: objet Equation - 1 Domaine discretise: objet Domaine_Dis - un postraitement: objet Postraitement - Une discretisation: objet Discretistaion - un schema en temps: objet Schema_temp

Inherits from#

Inherited by#

List of Public Methods#

List of Public Static Methods#

List of Protected Methods#

Complete Member Function Documentation#

a_pour_IntVect
int Probleme_base::a_pour_IntVect(const Motcle &, TRUST_Ref< IntVect * > &) const
Referenced By
How to cite in this doc:
:ref:`int Probleme_base::a_pour_IntVect(const Motcle &, TRUST_Ref< IntVect * > &) const <public-int-probleme-base-a-pour-intvect-const-motcle-ref-trust-ref-intvect-ptr-ref-const>`
[int Probleme_base::a_pour_IntVect(const Motcle &, TRUST_Ref< IntVect * > &) const](#public-int-probleme-base-a-pour-intvect-const-motcle-ref-trust-ref-intvect-ptr-ref-const)
abortTimeStep
void Probleme_base::abortTimeStep() override

Aborts the resolution of the current time step.

Reimplements:

References
Referenced By
How to cite in this doc:
:ref:`void Probleme_base::abortTimeStep() override <public-void-probleme-base-aborttimestep-override>`
[void Probleme_base::abortTimeStep() override](#public-void-probleme-base-aborttimestep-override)
addInputField
virtual void Probleme_base::addInputField(Field_base &f)
References
How to cite in this doc:
:ref:`virtual void Probleme_base::addInputField(Field_base &f) <public-virtual-void-probleme-base-addinputfield-field-base-ref-f>`
[virtual void Probleme_base::addInputField(Field_base &f)](#public-virtual-void-probleme-base-addinputfield-field-base-ref-f)
allocation
void Probleme_base::allocation() const final

Verifie que la place necessaire existe sur le disque dur.

References
Referenced By
How to cite in this doc:
:ref:`void Probleme_base::allocation() const final <public-void-probleme-base-allocation-const-final>`
[void Probleme_base::allocation() const final](#public-void-probleme-base-allocation-const-final)
associer
void Probleme_base::associer()

Associe le probleme a toutes ses equations.

References
Referenced By
How to cite in this doc:
:ref:`void Probleme_base::associer() <public-void-probleme-base-associer>`
[void Probleme_base::associer()](#public-void-probleme-base-associer)
associer_
int Probleme_base::associer_(Objet_U &) override

surcharge Objet_U::associer_(Objet_U& ob) Associe differents objets au probleme en controlant

le type de l’objet a associer a l’execution. On peut ainsi associer: un schema en temps, un domaine de calcul ou un milieu physique. Utilise les routine de la classe Type_Info (Utilitaires)

Reimplements:

References
Referenced By
How to cite in this doc:
:ref:`int Probleme_base::associer_(Objet_U &) override <public-int-probleme-base-associer-underscore-objet-u-ref-override>`
[int Probleme_base::associer_(Objet_U &) override](#public-int-probleme-base-associer-underscore-objet-u-ref-override)
associer_domaine
void Probleme_base::associer_domaine(const Domaine &)

Associe un domaine au probleme.

Prend un_domaine comme support. apelle Domaine_dis::associer_dom(const Domaine& )

References
Referenced By
How to cite in this doc:
:ref:`void Probleme_base::associer_domaine(const Domaine &) <public-void-probleme-base-associer-domaine-const-domaine-ref>`
[void Probleme_base::associer_domaine(const Domaine &)](#public-void-probleme-base-associer-domaine-const-domaine-ref)
associer_milieu_base
void Probleme_base::associer_milieu_base(const Milieu_base &)

Associe un milieu physique aux equations du probleme.

Choix du milieu physique.

References
Referenced By
How to cite in this doc:
:ref:`void Probleme_base::associer_milieu_base(const Milieu_base &) <public-void-probleme-base-associer-milieu-base-const-milieu-base-ref>`
[void Probleme_base::associer_milieu_base(const Milieu_base &)](#public-void-probleme-base-associer-milieu-base-const-milieu-base-ref)
associer_pb_couple
void Probleme_base::associer_pb_couple(const Probleme_Couple &pbc)
References
Referenced By
How to cite in this doc:
:ref:`void Probleme_base::associer_pb_couple(const Probleme_Couple &pbc) <public-void-probleme-base-associer-pb-couple-const-probleme-couple-ref-pbc>`
[void Probleme_base::associer_pb_couple(const Probleme_Couple &pbc)](#public-void-probleme-base-associer-pb-couple-const-probleme-couple-ref-pbc)
associer_sch_tps_base
void Probleme_base::associer_sch_tps_base(const Schema_Temps_base &)

Associe un schema en temps au probleme.

Associe ensuite le schema en temps a toutes les equations du probleme.

References
Referenced By
How to cite in this doc:
:ref:`void Probleme_base::associer_sch_tps_base(const Schema_Temps_base &) <public-void-probleme-base-associer-sch-tps-base-const-schema-temps-base-ref>`
[void Probleme_base::associer_sch_tps_base(const Schema_Temps_base &)](#public-void-probleme-base-associer-sch-tps-base-const-schema-temps-base-ref)
calculer_pas_de_temps
double Probleme_base::calculer_pas_de_temps() const

Calcul la valeur du prochain pas de temps du probleme.

On calcule le minimum des pas de temps des equations associees au probleme.

References
Referenced By
How to cite in this doc:
:ref:`double Probleme_base::calculer_pas_de_temps() const <public-double-probleme-base-calculer-pas-de-temps-const>`
[double Probleme_base::calculer_pas_de_temps() const](#public-double-probleme-base-calculer-pas-de-temps-const)
checkpoint_filename
const Nom & Probleme_base::checkpoint_filename() const
References
Referenced By
How to cite in this doc:
:ref:`const Nom & Probleme_base::checkpoint_filename() const <public-const-nom-ref-probleme-base-checkpoint-filename-const>`
[const Nom & Probleme_base::checkpoint_filename() const](#public-const-nom-ref-probleme-base-checkpoint-filename-const)
checkpoint_format
const Nom & Probleme_base::checkpoint_format() const
References
Referenced By
How to cite in this doc:
:ref:`const Nom & Probleme_base::checkpoint_format() const <public-const-nom-ref-probleme-base-checkpoint-format-const>`
[const Nom & Probleme_base::checkpoint_format() const](#public-const-nom-ref-probleme-base-checkpoint-format-const)
completer
void Probleme_base::completer()

Complete les equations associees au probleme.

Remplissage des references, deleguee aux equations.

References
Referenced By
How to cite in this doc:
:ref:`void Probleme_base::completer() <public-void-probleme-base-completer>`
[void Probleme_base::completer()](#public-void-probleme-base-completer)
comprend_champ_post
int Probleme_base::comprend_champ_post(const Motcle &nom) const
References
Referenced By
How to cite in this doc:
:ref:`int Probleme_base::comprend_champ_post(const Motcle &nom) const <public-int-probleme-base-comprend-champ-post-const-motcle-ref-nom-const>`
[int Probleme_base::comprend_champ_post(const Motcle &nom) const](#public-int-probleme-base-comprend-champ-post-const-motcle-ref-nom-const)
computeTimeStep
double Probleme_base::computeTimeStep(bool &stop) const override

Compute the value the Problem would like for the next time step.

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:

References
How to cite in this doc:
:ref:`double Probleme_base::computeTimeStep(bool &stop) const override <public-double-probleme-base-computetimestep-bool-ref-stop-const-override>`
[double Probleme_base::computeTimeStep(bool &stop) const override](#public-double-probleme-base-computetimestep-bool-ref-stop-const-override)
creer_champ
void Probleme_base::creer_champ(const Motcle &motlu) override

Reimplements:

References
Referenced By
How to cite in this doc:
:ref:`void Probleme_base::creer_champ(const Motcle &motlu) override <public-void-probleme-base-creer-champ-const-motcle-ref-motlu-override>`
[void Probleme_base::creer_champ(const Motcle &motlu) override](#public-void-probleme-base-creer-champ-const-motcle-ref-motlu-override)
discretiser
void Probleme_base::discretiser(Discretisation_base &)

Affecte une discretisation au probleme Discretise le Domaine associe au probleme avec la discretisation.

Associe le premier Domaine aux equations du probleme Discretise les equations associees au probleme

References
Referenced By
How to cite in this doc:
:ref:`void Probleme_base::discretiser(Discretisation_base &) <public-void-probleme-base-discretiser-discretisation-base-ref>`
[void Probleme_base::discretiser(Discretisation_base &)](#public-void-probleme-base-discretiser-discretisation-base-ref)
discretiser_equations
void Probleme_base::discretiser_equations()
References
Referenced By
How to cite in this doc:
:ref:`void Probleme_base::discretiser_equations() <public-void-probleme-base-discretiser-equations>`
[void Probleme_base::discretiser_equations()](#public-void-probleme-base-discretiser-equations)
domaine
Domaine & Probleme_base::domaine()

Renvoie le domaine associe au probleme.

References
How to cite in this doc:
:ref:`Domaine & Probleme_base::domaine() <public-domaine-ref-probleme-base-domaine>`
[Domaine & Probleme_base::domaine()](#public-domaine-ref-probleme-base-domaine)
domaine
const Domaine & Probleme_base::domaine() const

Renvoie le domaine associe au probleme.

(version const)

References
Referenced By
How to cite in this doc:
:ref:`const Domaine & Probleme_base::domaine() const <public-const-domaine-ref-probleme-base-domaine-const>`
[const Domaine & Probleme_base::domaine() const](#public-const-domaine-ref-probleme-base-domaine-const)
domaine_dis
Domaine_dis_base & Probleme_base::domaine_dis()

Renvoie le domaine discretise associe au probleme.

References
How to cite in this doc:
:ref:`Domaine_dis_base & Probleme_base::domaine_dis() <public-domaine-dis-base-ref-probleme-base-domaine-dis>`
[Domaine_dis_base & Probleme_base::domaine_dis()](#public-domaine-dis-base-ref-probleme-base-domaine-dis)
equation
Equation_base & Probleme_base::equation(const Nom &)

Renvoie l’equation dont le nom est specifie.

On indexe les equations avec leur nom associe. On cherche dans toutes les equations du probleme celle qui porte le nom specifie.

References
How to cite in this doc:
:ref:`Equation_base & Probleme_base::equation(const Nom &) <public-equation-base-ref-probleme-base-equation-const-nom-ref>`
[Equation_base & Probleme_base::equation(const Nom &)](#public-equation-base-ref-probleme-base-equation-const-nom-ref)
equation
const Equation_base & Probleme_base::equation(const Nom &) const

Renvoie l’equation dont le nom est specifie.

On indexe les equations avec leur nom associe. On cherche dans toutes les equations du probleme celle qui porte le nom specifie. (version const)

References
How to cite in this doc:
:ref:`const Equation_base & Probleme_base::equation(const Nom &) const <public-const-equation-base-ref-probleme-base-equation-const-nom-ref-const>`
[const Equation_base & Probleme_base::equation(const Nom &) const](#public-const-equation-base-ref-probleme-base-equation-const-nom-ref-const)
equation
virtual const Equation_base & Probleme_base::equation(int) const =0
Referenced By
How to cite in this doc:
:ref:`virtual const Equation_base & Probleme_base::equation(int) const =0 <public-virtual-const-equation-base-ref-probleme-base-equation-int-const-equal-0>`
[virtual const Equation_base & Probleme_base::equation(int) const =0](#public-virtual-const-equation-base-ref-probleme-base-equation-int-const-equal-0)
equation
virtual Equation_base & Probleme_base::equation(int)=0
How to cite in this doc:
:ref:`virtual Equation_base & Probleme_base::equation(int)=0 <public-virtual-equation-base-ref-probleme-base-equation-int-equal-0>`
[virtual Equation_base & Probleme_base::equation(int)=0](#public-virtual-equation-base-ref-probleme-base-equation-int-equal-0)
expression_predefini
int Probleme_base::expression_predefini(const Motcle &motlu, Nom &expression)
Referenced By
How to cite in this doc:
:ref:`int Probleme_base::expression_predefini(const Motcle &motlu, Nom &expression) <public-int-probleme-base-expression-predefini-const-motcle-ref-motlu-nom-ref-expression>`
[int Probleme_base::expression_predefini(const Motcle &motlu, Nom &expression)](#public-int-probleme-base-expression-predefini-const-motcle-ref-motlu-nom-ref-expression)
findInputField
TRUST_Ref<Field_base *> Probleme_base::findInputField(const Nom &name) const override

This method is used to find in a hierarchy of problems the Champ_Input_Proto of a given name.

Implementation is not optimal in 2 ways :

Reimplements:

References
How to cite in this doc:
:ref:`TRUST_Ref<Field_base *> Probleme_base::findInputField(const Nom &name) const override <public-trust-ref-field-base-ptr-probleme-base-findinputfield-const-nom-ref-name-const-override>`
[TRUST_Ref<Field_base *> Probleme_base::findInputField(const Nom &name) const override](#public-trust-ref-field-base-ptr-probleme-base-findinputfield-const-nom-ref-name-const-override)
findOutputField
TRUST_Ref<Champ_Generique_base *> Probleme_base::findOutputField(const Nom &name) const override

Reimplements:

References
Referenced By
How to cite in this doc:
:ref:`TRUST_Ref<Champ_Generique_base *> Probleme_base::findOutputField(const Nom &name) const override <public-trust-ref-champ-generique-base-ptr-probleme-base-findoutputfield-const-nom-ref-name-const-override>`
[TRUST_Ref<Champ_Generique_base *> Probleme_base::findOutputField(const Nom &name) const override](#public-trust-ref-champ-generique-base-ptr-probleme-base-findoutputfield-const-nom-ref-name-const-override)
finir
void Probleme_base::finir()

Finit le postraitement et sauve le probleme dans un fichier.

Fermeture du fichier associe au postraitement.( Postraitement::finir() )

References
Referenced By
How to cite in this doc:
:ref:`void Probleme_base::finir() <public-void-probleme-base-finir>`
[void Probleme_base::finir()](#public-void-probleme-base-finir)
futureTime
double Probleme_base::futureTime() const override

Returns the future time (end of current computing interval) This value is valid between initTimeStep and either.

validateTimeStep or abortTimeStep. A surcharger

Reimplements:

References
How to cite in this doc:
:ref:`double Probleme_base::futureTime() const override <public-double-probleme-base-futuretime-const-override>`
[double Probleme_base::futureTime() const override](#public-double-probleme-base-futuretime-const-override)
get_champ
const Champ_base & Probleme_base::get_champ(const Motcle &nom) const override

Reimplements:

References
Referenced By
How to cite in this doc:
:ref:`const Champ_base & Probleme_base::get_champ(const Motcle &nom) const override <public-const-champ-base-ref-probleme-base-get-champ-const-motcle-ref-nom-const-override>`
[const Champ_base & Probleme_base::get_champ(const Motcle &nom) const override](#public-const-champ-base-ref-probleme-base-get-champ-const-motcle-ref-nom-const-override)
get_champ_post
const Champ_Generique_base & Probleme_base::get_champ_post(const Motcle &nom) const
References
Referenced By
How to cite in this doc:
:ref:`const Champ_Generique_base & Probleme_base::get_champ_post(const Motcle &nom) const <public-const-champ-generique-base-ref-probleme-base-get-champ-post-const-motcle-ref-nom-const>`
[const Champ_Generique_base & Probleme_base::get_champ_post(const Motcle &nom) const](#public-const-champ-generique-base-ref-probleme-base-get-champ-post-const-motcle-ref-nom-const)
get_correlation
const Correlation_base & Probleme_base::get_correlation(std::string nom_correlation) const
References
Referenced By
How to cite in this doc:
:ref:`const Correlation_base & Probleme_base::get_correlation(std::string nom_correlation) const <public-const-correlation-base-ref-probleme-base-get-correlation-std-string-nom-correlation-const>`
[const Correlation_base & Probleme_base::get_correlation(std::string nom_correlation) const](#public-const-correlation-base-ref-probleme-base-get-correlation-std-string-nom-correlation-const)
get_equation_by_name
const Equation_base & Probleme_base::get_equation_by_name(const Nom &) const

(B. Math): Methode virtuelle ajoutee pour les problemes ayant plusieurs equations de meme type ( Probleme_FT_Disc_gen ). Dans ce cas, le nom de l’equation n’est pas son type…

References
Referenced By
How to cite in this doc:
:ref:`const Equation_base & Probleme_base::get_equation_by_name(const Nom &) const <public-const-equation-base-ref-probleme-base-get-equation-by-name-const-nom-ref-const>`
[const Equation_base & Probleme_base::get_equation_by_name(const Nom &) const](#public-const-equation-base-ref-probleme-base-get-equation-by-name-const-nom-ref-const)
get_info
const Type_info * Probleme_base::get_info() const override

Donne des informations sur le type de l’ Objet_U .

Reimplements:

How to cite in this doc:
:ref:`const Type_info * Probleme_base::get_info() const override <public-const-type-info-ptr-probleme-base-get-info-const-override>`
[const Type_info * Probleme_base::get_info() const override](#public-const-type-info-ptr-probleme-base-get-info-const-override)
get_noms_champs_postraitables
void Probleme_base::get_noms_champs_postraitables(Noms &nom, Option opt=NONE) const override

Reimplements:

References
Referenced By
How to cite in this doc:
:ref:`void Probleme_base::get_noms_champs_postraitables(Noms &nom, Option opt=NONE) const override <public-void-probleme-base-get-noms-champs-postraitables-noms-ref-nom-option-opt-equal-none-const-override>`
[void Probleme_base::get_noms_champs_postraitables(Noms &nom, Option opt=NONE) const override](#public-void-probleme-base-get-noms-champs-postraitables-noms-ref-nom-option-opt-equal-none-const-override)
get_pb_couple
Probleme_Couple & Probleme_base::get_pb_couple()
References
How to cite in this doc:
:ref:`Probleme_Couple & Probleme_base::get_pb_couple() <public-probleme-couple-ref-probleme-base-get-pb-couple>`
[Probleme_Couple & Probleme_base::get_pb_couple()](#public-probleme-couple-ref-probleme-base-get-pb-couple)
get_pb_couple
const Probleme_Couple & Probleme_base::get_pb_couple() const
References
How to cite in this doc:
:ref:`const Probleme_Couple & Probleme_base::get_pb_couple() const <public-const-probleme-couple-ref-probleme-base-get-pb-couple-const>`
[const Probleme_Couple & Probleme_base::get_pb_couple() const](#public-const-probleme-couple-ref-probleme-base-get-pb-couple-const)
get_set_out_files
TRUST_List<TRUST_Ref<SFichier *>> & Probleme_base::get_set_out_files() const
References
Referenced By
How to cite in this doc:
:ref:`TRUST_List<TRUST_Ref<SFichier *>> & Probleme_base::get_set_out_files() const <public-trust-list-trust-ref-sfichier-ptr-ref-probleme-base-get-set-out-files-const>`
[TRUST_List<TRUST_Ref<SFichier *>> & Probleme_base::get_set_out_files() const](#public-trust-list-trust-ref-sfichier-ptr-ref-probleme-base-get-set-out-files-const)
getInputFieldsNames
void Probleme_base::getInputFieldsNames(Noms &noms) const override

This method is used to find the names of input fields understood by the Problem.

Reimplements:

References
How to cite in this doc:
:ref:`void Probleme_base::getInputFieldsNames(Noms &noms) const override <public-void-probleme-base-getinputfieldsnames-noms-ref-noms-const-override>`
[void Probleme_base::getInputFieldsNames(Noms &noms) const override](#public-void-probleme-base-getinputfieldsnames-noms-ref-noms-const-override)
getOutputFieldsNames
void Probleme_base::getOutputFieldsNames(Noms &noms) const override

This method is used to find the names of output fields understood by the Problem.

Reimplements:

References
How to cite in this doc:
:ref:`void Probleme_base::getOutputFieldsNames(Noms &noms) const override <public-void-probleme-base-getoutputfieldsnames-noms-ref-noms-const-override>`
[void Probleme_base::getOutputFieldsNames(Noms &noms) const override](#public-void-probleme-base-getoutputfieldsnames-noms-ref-noms-const-override)
getset_equation_by_name
Equation_base & Probleme_base::getset_equation_by_name(const Nom &)

(B. Math): Methode virtuelle ajoutee pour les problemes ayant plusieurs equations de meme type ( Probleme_FT_Disc_gen ). Dans ce cas, le nom de l’equation n’est pas son type… Version non const. Cette methode est notamment appelee a la lecture du probleme.

References
Referenced By
How to cite in this doc:
:ref:`Equation_base & Probleme_base::getset_equation_by_name(const Nom &) <public-equation-base-ref-probleme-base-getset-equation-by-name-const-nom-ref>`
[Equation_base & Probleme_base::getset_equation_by_name(const Nom &)](#public-equation-base-ref-probleme-base-getset-equation-by-name-const-nom-ref)
has_champ
bool Probleme_base::has_champ(const Motcle &nom) const override

Reimplements:

References
How to cite in this doc:
:ref:`bool Probleme_base::has_champ(const Motcle &nom) const override <public-bool-probleme-base-has-champ-const-motcle-ref-nom-const-override>`
[bool Probleme_base::has_champ(const Motcle &nom) const override](#public-bool-probleme-base-has-champ-const-motcle-ref-nom-const-override)
has_champ
bool Probleme_base::has_champ(const Motcle &nom, TRUST_Ref< Champ_base * > &ref_champ) const override

Reimplements:

References
Referenced By
How to cite in this doc:
:ref:`bool Probleme_base::has_champ(const Motcle &nom, TRUST_Ref< Champ_base * > &ref_champ) const override <public-bool-probleme-base-has-champ-const-motcle-ref-nom-trust-ref-champ-base-ptr-ref-ref-champ-const-override>`
[bool Probleme_base::has_champ(const Motcle &nom, TRUST_Ref< Champ_base * > &ref_champ) const override](#public-bool-probleme-base-has-champ-const-motcle-ref-nom-trust-ref-champ-base-ptr-ref-ref-champ-const-override)
has_champ_post
bool Probleme_base::has_champ_post(const Motcle &nom) const
References
How to cite in this doc:
:ref:`bool Probleme_base::has_champ_post(const Motcle &nom) const <public-bool-probleme-base-has-champ-post-const-motcle-ref-nom-const>`
[bool Probleme_base::has_champ_post(const Motcle &nom) const](#public-bool-probleme-base-has-champ-post-const-motcle-ref-nom-const)
has_correlation
int Probleme_base::has_correlation(std::string nom_correlation) const
References
Referenced By
How to cite in this doc:
:ref:`int Probleme_base::has_correlation(std::string nom_correlation) const <public-int-probleme-base-has-correlation-std-string-nom-correlation-const>`
[int Probleme_base::has_correlation(std::string nom_correlation) const](#public-int-probleme-base-has-correlation-std-string-nom-correlation-const)
imprimer
void Probleme_base::imprimer(Sortie &os) const

Imprime les equations associees au probleme si le schema en temps associe indique que c’est necessaire.

References
Referenced By
How to cite in this doc:
:ref:`void Probleme_base::imprimer(Sortie &os) const <public-void-probleme-base-imprimer-sortie-ref-os-const>`
[void Probleme_base::imprimer(Sortie &os) const](#public-void-probleme-base-imprimer-sortie-ref-os-const)
init_postraitements
void Probleme_base::init_postraitements()

Flag le premier et le dernier postraitement pour chaque fichier Et initialise les postraitements.

References
Referenced By
How to cite in this doc:
:ref:`void Probleme_base::init_postraitements() <public-void-probleme-base-init-postraitements>`
[void Probleme_base::init_postraitements()](#public-void-probleme-base-init-postraitements)
initialize
void Probleme_base::initialize() override

This method is called once at the beginning, before any other one of the interface Problem.

Reimplements:

References
How to cite in this doc:
:ref:`void Probleme_base::initialize() override <public-void-probleme-base-initialize-override>`
[void Probleme_base::initialize() override](#public-void-probleme-base-initialize-override)
initTimeStep
bool Probleme_base::initTimeStep(double dt) override

This method allocates and initializes the unknown and given fields for the future time step.

The value of the interval is imposed through the parameter dt. In case of error, returns false.

Reimplements:

References
Referenced By
How to cite in this doc:
:ref:`bool Probleme_base::initTimeStep(double dt) override <public-bool-probleme-base-inittimestep-double-dt-override>`
[bool Probleme_base::initTimeStep(double dt) override](#public-bool-probleme-base-inittimestep-double-dt-override)
is_coupled
int Probleme_base::is_coupled() const
References
Referenced By
How to cite in this doc:
:ref:`int Probleme_base::is_coupled() const <public-int-probleme-base-is-coupled-const>`
[int Probleme_base::is_coupled() const](#public-int-probleme-base-is-coupled-const)
is_pb_med
virtual bool Probleme_base::is_pb_med()
Referenced By
How to cite in this doc:
:ref:`virtual bool Probleme_base::is_pb_med() <public-virtual-bool-probleme-base-is-pb-med>`
[virtual bool Probleme_base::is_pb_med()](#public-virtual-bool-probleme-base-is-pb-med)
is_pb_rayo
virtual bool Probleme_base::is_pb_rayo()
Referenced By
How to cite in this doc:
:ref:`virtual bool Probleme_base::is_pb_rayo() <public-virtual-bool-probleme-base-is-pb-rayo>`
[virtual bool Probleme_base::is_pb_rayo()](#public-virtual-bool-probleme-base-is-pb-rayo)
is_probleme_base_initialized
const bool & Probleme_base::is_probleme_base_initialized() const
References
How to cite in this doc:
:ref:`const bool & Probleme_base::is_probleme_base_initialized() const <public-const-bool-ref-probleme-base-is-probleme-base-initialized-const>`
[const bool & Probleme_base::is_probleme_base_initialized() const](#public-const-bool-ref-probleme-base-is-probleme-base-initialized-const)
is_sauvegarde_simple
int Probleme_base::is_sauvegarde_simple() const
References
How to cite in this doc:
:ref:`int Probleme_base::is_sauvegarde_simple() const <public-int-probleme-base-is-sauvegarde-simple-const>`
[int Probleme_base::is_sauvegarde_simple() const](#public-int-probleme-base-is-sauvegarde-simple-const)
isStationary
bool Probleme_base::isStationary() const override

Tells if the Problem unknowns have changed during the last time step.

Reimplements:

References
How to cite in this doc:
:ref:`bool Probleme_base::isStationary() const override <public-bool-probleme-base-isstationary-const-override>`
[bool Probleme_base::isStationary() const override](#public-bool-probleme-base-isstationary-const-override)
iterateTimeStep
bool Probleme_base::iterateTimeStep(bool &converged) override

In the case solveTimeStep uses an iterative process, this method executes a single iteration.

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 cite in this doc:
:ref:`bool Probleme_base::iterateTimeStep(bool &converged) override <public-bool-probleme-base-iteratetimestep-bool-ref-converged-override>`
[bool Probleme_base::iterateTimeStep(bool &converged) override](#public-bool-probleme-base-iteratetimestep-bool-ref-converged-override)
limpr
int Probleme_base::limpr() const override

Demande au schema en temps s’il faut faire une impression.

Reimplements:

References
How to cite in this doc:
:ref:`int Probleme_base::limpr() const override <public-int-probleme-base-limpr-const-override>`
[int Probleme_base::limpr() const override](#public-int-probleme-base-limpr-const-override)
lire_equations
Entree & Probleme_base::lire_equations(Entree &is, Motcle &dernier_mot)

Lecture des equations du probleme.

References
Referenced By
How to cite in this doc:
:ref:`Entree & Probleme_base::lire_equations(Entree &is, Motcle &dernier_mot) <public-entree-ref-probleme-base-lire-equations-entree-ref-is-motcle-ref-dernier-mot>`
[Entree & Probleme_base::lire_equations(Entree &is, Motcle &dernier_mot)](#public-entree-ref-probleme-base-lire-equations-entree-ref-is-motcle-ref-dernier-mot)
lire_postraitement_interfaces
void Probleme_base::lire_postraitement_interfaces(Entree &is)
References
How to cite in this doc:
:ref:`void Probleme_base::lire_postraitement_interfaces(Entree &is) <public-void-probleme-base-lire-postraitement-interfaces-entree-ref-is>`
[void Probleme_base::lire_postraitement_interfaces(Entree &is)](#public-void-probleme-base-lire-postraitement-interfaces-entree-ref-is)
lsauv
int Probleme_base::lsauv() const override

Demande au schema en temps s’il faut faire une sauvegarde.

Reimplements:

References
How to cite in this doc:
:ref:`int Probleme_base::lsauv() const override <public-int-probleme-base-lsauv-const-override>`
[int Probleme_base::lsauv() const override](#public-int-probleme-base-lsauv-const-override)
mettre_a_jour
void Probleme_base::mettre_a_jour(double temps)

Effectue une mise a jour en temps du probleme.

Effectue la mise a jour sur toutes les equations du probleme.

References
Referenced By
How to cite in this doc:
:ref:`void Probleme_base::mettre_a_jour(double temps) <public-void-probleme-base-mettre-a-jour-double-temps>`
[void Probleme_base::mettre_a_jour(double temps)](#public-void-probleme-base-mettre-a-jour-double-temps)
milieu
Milieu_base & Probleme_base::milieu()

Renvoie le milieu physique associe au probleme.

On renvoie le milieu associe a la premiere equation.

References
How to cite in this doc:
:ref:`Milieu_base & Probleme_base::milieu() <public-milieu-base-ref-probleme-base-milieu>`
[Milieu_base & Probleme_base::milieu()](#public-milieu-base-ref-probleme-base-milieu)
milieu
const Milieu_base & Probleme_base::milieu() const

Renvoie le milieu physique associe au probleme.

(version const) On renvoie le milieu associe a la premiere equation.

References
Referenced By
How to cite in this doc:
:ref:`const Milieu_base & Probleme_base::milieu() const <public-const-milieu-base-ref-probleme-base-milieu-const>`
[const Milieu_base & Probleme_base::milieu() const](#public-const-milieu-base-ref-probleme-base-milieu-const)
milieu_vect
std::vector<TRUST_Deriv<Milieu_base>> & Probleme_base::milieu_vect()
References
How to cite in this doc:
:ref:`std::vector<TRUST_Deriv<Milieu_base>> & Probleme_base::milieu_vect() <public-std-vector-trust-deriv-milieu-base-ref-probleme-base-milieu-vect>`
[std::vector<TRUST_Deriv<Milieu_base>> & Probleme_base::milieu_vect()](#public-std-vector-trust-deriv-milieu-base-ref-probleme-base-milieu-vect)
milieu_vect
const std::vector<TRUST_Deriv<Milieu_base>> & Probleme_base::milieu_vect() const
References
How to cite in this doc:
:ref:`const std::vector<TRUST_Deriv<Milieu_base>> & Probleme_base::milieu_vect() const <public-const-std-vector-trust-deriv-milieu-base-ref-probleme-base-milieu-vect-const>`
[const std::vector<TRUST_Deriv<Milieu_base>> & Probleme_base::milieu_vect() const](#public-const-std-vector-trust-deriv-milieu-base-ref-probleme-base-milieu-vect-const)
newCompute
std::string Probleme_base::newCompute() override

Recherche des champs parametriques, et pour chacun, passage au parametre suivant.

Reimplements:

References
How to cite in this doc:
:ref:`std::string Probleme_base::newCompute() override <public-std-string-probleme-base-newcompute-override>`
[std::string Probleme_base::newCompute() override](#public-std-string-probleme-base-newcompute-override)
nombre_d_equations
virtual int Probleme_base::nombre_d_equations() const =0
Referenced By
How to cite in this doc:
:ref:`virtual int Probleme_base::nombre_d_equations() const =0 <public-virtual-int-probleme-base-nombre-d-equations-const-equal-0>`
[virtual int Probleme_base::nombre_d_equations() const =0](#public-virtual-int-probleme-base-nombre-d-equations-const-equal-0)
postraitements
Postraitements & Probleme_base::postraitements()
References
Referenced By
How to cite in this doc:
:ref:`Postraitements & Probleme_base::postraitements() <public-postraitements-ref-probleme-base-postraitements>`
[Postraitements & Probleme_base::postraitements()](#public-postraitements-ref-probleme-base-postraitements)
postraitements
const Postraitements & Probleme_base::postraitements() const
References
How to cite in this doc:
:ref:`const Postraitements & Probleme_base::postraitements() const <public-const-postraitements-ref-probleme-base-postraitements-const>`
[const Postraitements & Probleme_base::postraitements() const](#public-const-postraitements-ref-probleme-base-postraitements-const)
postraiter
int Probleme_base::postraiter(int force=1) override

Si force = 1, effectue le postraitement sans tenir compte des frequences de postraitement.

Le postraitement est mis a jour et les traitements eventuels sur les sondes, champs et statistiques sont effectues. Si force = 0, tient compte des frequences d’impression demandees.

Reimplements:

References
Referenced By
How to cite in this doc:
:ref:`int Probleme_base::postraiter(int force=1) override <public-int-probleme-base-postraiter-int-force-equal-1-override>`
[int Probleme_base::postraiter(int force=1) override](#public-int-probleme-base-postraiter-int-force-equal-1-override)
postraiter_interfaces
void Probleme_base::postraiter_interfaces(const Nom &nom_fich, Sortie &s, const Nom &format, double temps)
References
How to cite in this doc:
:ref:`void Probleme_base::postraiter_interfaces(const Nom &nom_fich, Sortie &s, const Nom &format, double temps) <public-void-probleme-base-postraiter-interfaces-const-nom-ref-nom-fich-sortie-ref-s-const-nom-ref-format-double-temps>`
[void Probleme_base::postraiter_interfaces(const Nom &nom_fich, Sortie &s, const Nom &format, double temps)](#public-void-probleme-base-postraiter-interfaces-const-nom-ref-nom-fich-sortie-ref-s-const-nom-ref-format-double-temps)
preparer_calcul
void Probleme_base::preparer_calcul()

Prepare le calcul: initialise les parametres du milieu et prepare le calcul de chacune des equations.

References
Referenced By
How to cite in this doc:
:ref:`void Probleme_base::preparer_calcul() <public-void-probleme-base-preparer-calcul>`
[void Probleme_base::preparer_calcul()](#public-void-probleme-base-preparer-calcul)
presentTime
double Probleme_base::presentTime() const override

Returns the present time.

This value may change only at the call of validateTimeStep. A surcharger

Reimplements:

References
Referenced By
How to cite in this doc:
:ref:`double Probleme_base::presentTime() const override <public-double-probleme-base-presenttime-const-override>`
[double Probleme_base::presentTime() const override](#public-double-probleme-base-presenttime-const-override)
Probleme_base
Probleme_base::Probleme_base()
How to cite in this doc:
:ref:`Probleme_base::Probleme_base() <public-probleme-base-probleme-base>`
[Probleme_base::Probleme_base()](#public-probleme-base-probleme-base)
reprendre
int Probleme_base::reprendre(Entree &) override

Lecture d’un flot d’entree (fichier) pour reprise apres une sauvegarde avec Probleme_base::sauvegarder(Sortie& os).

Reimplements:

References
How to cite in this doc:
:ref:`int Probleme_base::reprendre(Entree &) override <public-int-probleme-base-reprendre-entree-ref-override>`
[int Probleme_base::reprendre(Entree &) override](#public-int-probleme-base-reprendre-entree-ref-override)
reprise_effectuee
bool Probleme_base::reprise_effectuee() const
References
How to cite in this doc:
:ref:`bool Probleme_base::reprise_effectuee() const <public-bool-probleme-base-reprise-effectuee-const>`
[bool Probleme_base::reprise_effectuee() const](#public-bool-probleme-base-reprise-effectuee-const)
reprise_format_temps
const char * Probleme_base::reprise_format_temps() const
References
Referenced By
How to cite in this doc:
:ref:`const char * Probleme_base::reprise_format_temps() const <public-const-char-ptr-probleme-base-reprise-format-temps-const>`
[const char * Probleme_base::reprise_format_temps() const](#public-const-char-ptr-probleme-base-reprise-format-temps-const)
resetTime
void Probleme_base::resetTime(double time) override

Reset the current time of the Problem to a given value.

Particularly useful for the initialization of complex transients: the starting point of the transient of interest is computed first, the time is reset to 0, and then the actual transient of interest starts with proper initial conditions, and global time 0.

Reimplements:

References
How to cite in this doc:
:ref:`void Probleme_base::resetTime(double time) override <public-void-probleme-base-resettime-double-time-override>`
[void Probleme_base::resetTime(double time) override](#public-void-probleme-base-resettime-double-time-override)
restart_filename
const Nom & Probleme_base::restart_filename() const
References
Referenced By
How to cite in this doc:
:ref:`const Nom & Probleme_base::restart_filename() const <public-const-nom-ref-probleme-base-restart-filename-const>`
[const Nom & Probleme_base::restart_filename() const](#public-const-nom-ref-probleme-base-restart-filename-const)
sauvegarder
int Probleme_base::sauvegarder(Sortie &) const override

Ecriture du probleme sur fichier en vue d’une reprise.

Ecrit le nom du probleme et sauvegarde les equations.

Reimplements:

References
How to cite in this doc:
:ref:`int Probleme_base::sauvegarder(Sortie &) const override <public-int-probleme-base-sauvegarder-sortie-ref-const-override>`
[int Probleme_base::sauvegarder(Sortie &) const override](#public-int-probleme-base-sauvegarder-sortie-ref-const-override)
sauver
void Probleme_base::sauver() const override

Ecriture sur fichier en vue d’une reprise (sauvegarde)

Reimplements:

References
Referenced By
How to cite in this doc:
:ref:`void Probleme_base::sauver() const override <public-void-probleme-base-sauver-const-override>`
[void Probleme_base::sauver() const override](#public-void-probleme-base-sauver-const-override)
schema_temps
Schema_Temps_base & Probleme_base::schema_temps()

Renvoie le schema en temps associe au probleme.

(si il est non nul)

References
How to cite in this doc:
:ref:`Schema_Temps_base & Probleme_base::schema_temps() <public-schema-temps-base-ref-probleme-base-schema-temps>`
[Schema_Temps_base & Probleme_base::schema_temps()](#public-schema-temps-base-ref-probleme-base-schema-temps)
schema_temps
const Schema_Temps_base & Probleme_base::schema_temps() const

Renvoie le schema en temps associe au probleme.

(si il est non nul) (version const)

References
Referenced By
How to cite in this doc:
:ref:`const Schema_Temps_base & Probleme_base::schema_temps() const <public-const-schema-temps-base-ref-probleme-base-schema-temps-const>`
[const Schema_Temps_base & Probleme_base::schema_temps() const](#public-const-schema-temps-base-ref-probleme-base-schema-temps-const)
setStationary
void Probleme_base::setStationary(bool flag) override

Tells to the Problem that stationary is reached or not.

Reimplements:

References
How to cite in this doc:
:ref:`void Probleme_base::setStationary(bool flag) override <public-void-probleme-base-setstationary-bool-flag-override>`
[void Probleme_base::setStationary(bool flag) override](#public-void-probleme-base-setstationary-bool-flag-override)
solveTimeStep
bool Probleme_base::solveTimeStep() override

pour recodage eventuel et appel unifie en python

Reimplements:

References
How to cite in this doc:
:ref:`bool Probleme_base::solveTimeStep() override <public-bool-probleme-base-solvetimestep-override>`
[bool Probleme_base::solveTimeStep() override](#public-bool-probleme-base-solvetimestep-override)
solveTimeStep_pbU
bool Probleme_base::solveTimeStep_pbU()
References
Referenced By
How to cite in this doc:
:ref:`bool Probleme_base::solveTimeStep_pbU() <public-bool-probleme-base-solvetimestep-pbu>`
[bool Probleme_base::solveTimeStep_pbU()](#public-bool-probleme-base-solvetimestep-pbu)
terminate
void Probleme_base::terminate() override

This method is called once at the end, after any other one.

It frees the memory and saves anything that needs to be saved.

Reimplements:

References
Referenced By
How to cite in this doc:
:ref:`void Probleme_base::terminate() override <public-void-probleme-base-terminate-override>`
[void Probleme_base::terminate() override](#public-void-probleme-base-terminate-override)
updateGivenFields
bool Probleme_base::updateGivenFields() override

ATTENTION :

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:

References
Referenced By
How to cite in this doc:
:ref:`bool Probleme_base::updateGivenFields() override <public-bool-probleme-base-updategivenfields-override>`
[bool Probleme_base::updateGivenFields() override](#public-bool-probleme-base-updategivenfields-override)
validateTimeStep
void Probleme_base::validateTimeStep() override

Validates the calculated unknown by moving the present time at the end of the time step.

This method is allowed to free past values of the unknown and given fields.

Reimplements:

References
How to cite in this doc:
:ref:`void Probleme_base::validateTimeStep() override <public-void-probleme-base-validatetimestep-override>`
[void Probleme_base::validateTimeStep() override](#public-void-probleme-base-validatetimestep-override)
verifier
int Probleme_base::verifier()

Verifie que l’objet est complet, coherent, .

Referenced By
How to cite in this doc:
:ref:`int Probleme_base::verifier() <public-int-probleme-base-verifier>`
[int Probleme_base::verifier()](#public-int-probleme-base-verifier)
yaml_filename
const Nom & Probleme_base::yaml_filename() const
References
Referenced By
How to cite in this doc:
:ref:`const Nom & Probleme_base::yaml_filename() const <public-const-nom-ref-probleme-base-yaml-filename-const>`
[const Nom & Probleme_base::yaml_filename() const](#public-const-nom-ref-probleme-base-yaml-filename-const)
~Probleme_base
Probleme_base::~Probleme_base()
How to cite in this doc:
:ref:`Probleme_base::~Probleme_base() <public-probleme-base-dtor-probleme-base>`
[Probleme_base::~Probleme_base()](#public-probleme-base-dtor-probleme-base)
info
const Type_info * Probleme_base::info()
How to cite in this doc:
:ref:`const Type_info * Probleme_base::info() <public-static-const-type-info-ptr-probleme-base-info>`
[const Type_info * Probleme_base::info()](#public-static-const-type-info-ptr-probleme-base-info)
self_cast
const Probleme_base & Probleme_base::self_cast(const Objet_U &)
How to cite in this doc:
:ref:`const Probleme_base & Probleme_base::self_cast(const Objet_U &) <public-static-const-probleme-base-ref-probleme-base-self-cast-const-objet-u-ref>`
[const Probleme_base & Probleme_base::self_cast(const Objet_U &)](#public-static-const-probleme-base-ref-probleme-base-self-cast-const-objet-u-ref)
self_cast
Probleme_base & Probleme_base::self_cast(Objet_U &)
How to cite in this doc:
:ref:`Probleme_base & Probleme_base::self_cast(Objet_U &) <public-static-probleme-base-ref-probleme-base-self-cast-objet-u-ref>`
[Probleme_base & Probleme_base::self_cast(Objet_U &)](#public-static-probleme-base-ref-probleme-base-self-cast-objet-u-ref)
lire_correlations
Entree & Probleme_base::lire_correlations(Entree &is)
References
Referenced By
How to cite in this doc:
:ref:`Entree & Probleme_base::lire_correlations(Entree &is) <protected-entree-ref-probleme-base-lire-correlations-entree-ref-is>`
[Entree & Probleme_base::lire_correlations(Entree &is)](#protected-entree-ref-probleme-base-lire-correlations-entree-ref-is)
lire_solved_equations
virtual void Probleme_base::lire_solved_equations(Entree &is)
Referenced By
How to cite in this doc:
:ref:`virtual void Probleme_base::lire_solved_equations(Entree &is) <protected-virtual-void-probleme-base-lire-solved-equations-entree-ref-is>`
[virtual void Probleme_base::lire_solved_equations(Entree &is)](#protected-virtual-void-probleme-base-lire-solved-equations-entree-ref-is)
printOn
Sortie & Probleme_base::printOn(Sortie &x) const override

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

Reimplements:

References
Referenced By
How to cite in this doc:
:ref:`Sortie & Probleme_base::printOn(Sortie &x) const override <protected-sortie-ref-probleme-base-printon-sortie-ref-x-const-override>`
[Sortie & Probleme_base::printOn(Sortie &x) const override](#protected-sortie-ref-probleme-base-printon-sortie-ref-x-const-override)
read_optional_equations
Entree & Probleme_base::read_optional_equations(Entree &is, Motcle &mot)
References
Referenced By
How to cite in this doc:
:ref:`Entree & Probleme_base::read_optional_equations(Entree &is, Motcle &mot) <protected-entree-ref-probleme-base-read-optional-equations-entree-ref-is-motcle-ref-mot>`
[Entree & Probleme_base::read_optional_equations(Entree &is, Motcle &mot)](#protected-entree-ref-probleme-base-read-optional-equations-entree-ref-is-motcle-ref-mot)
readOn
Entree & Probleme_base::readOn(Entree &) override

Lecture d’un probleme dans un flot d’entree, et ouverture du flot de sauvegarde.

Format: { nom_milieu bloc de lecture d’un milieu nom_equation bloc de lecture d’une equation Postraitement bloc de lecture postraitement reprise | sauvegarde | sauvegarde_simple formatte | binaire | pdi nom_de_fichier } L’option sauvegarde_simple permet de sauver le probleme dans le fichier choisi en ecrasant a chaque fois les sauvegardes precedentes : cela permet d’economiser de la place disque.

Reimplements:

References
Referenced By
How to cite in this doc:
:ref:`Entree & Probleme_base::readOn(Entree &) override <protected-entree-ref-probleme-base-readon-entree-ref-override>`
[Entree & Probleme_base::readOn(Entree &) override](#protected-entree-ref-probleme-base-readon-entree-ref-override)
typer_lire_milieu
void Probleme_base::typer_lire_milieu(Entree &is)
References
Referenced By
How to cite in this doc:
:ref:`void Probleme_base::typer_lire_milieu(Entree &is) <protected-void-probleme-base-typer-lire-milieu-entree-ref-is>`
[void Probleme_base::typer_lire_milieu(Entree &is)](#protected-void-probleme-base-typer-lire-milieu-entree-ref-is)
warn_old_syntax
void Probleme_base::warn_old_syntax()
References
Referenced By
How to cite in this doc:
:ref:`void Probleme_base::warn_old_syntax() <protected-void-probleme-base-warn-old-syntax>`
[void Probleme_base::warn_old_syntax()](#protected-void-probleme-base-warn-old-syntax)

Attributes Documentation#

info_obj (public)
const Type_info Probleme_base::info_obj
Champs_Parametriques_ (protected)
TRUST_List<TRUST_Ref<Champ_Parametrique *>> Probleme_base::Champs_Parametriques_
correlations_ (protected)
std::map<std::string, TRUST_Deriv<Correlation_base>> Probleme_base::correlations_
eq_opt_ (protected)
TRUST_List<TRUST_Deriv<Equation_base>> Probleme_base::eq_opt_
la_discretisation_ (protected)
TRUST_Ref<Discretisation_base *> Probleme_base::la_discretisation_
le_domaine_ (protected)
TRUST_Ref<Domaine *> Probleme_base::le_domaine_
le_domaine_dis_ (protected)
TRUST_Ref<Domaine_dis_base *> Probleme_base::le_domaine_dis_
le_milieu_ (protected)
std::vector<TRUST_Deriv<Milieu_base>> Probleme_base::le_milieu_
le_schema_en_temps_ (protected)
TRUST_Ref<Schema_Temps_base *> Probleme_base::le_schema_en_temps_
les_postraitements_ (protected)
Postraitements Probleme_base::les_postraitements_
liste_loi_fermeture_ (protected)
TRUST_List<TRUST_Ref<Loi_Fermeture_base *>> Probleme_base::liste_loi_fermeture_
milieu_via_associer_ (protected)
bool Probleme_base::milieu_via_associer_ = false
out_files_ (protected)
TRUST_List<TRUST_Ref<SFichier *>> Probleme_base::out_files_
pbc_ (protected)
TRUST_Ref<Probleme_Couple *> Probleme_base::pbc_
save_restart_ (protected)
Save_Restart Probleme_base::save_restart_