Sch_CN_EX_iteratif#

#include <Sch_CN_EX_iteratif.h>
Brief description

classe Sch_CN_EX_iteratif

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:`Sch\_CN\_EX\_iteratif <class-sch-cn-ex-iteratif>`
[Sch\_CN\_EX\_iteratif](#class-sch-cn-ex-iteratif)

Detailed description#

Ce schema en temps implemente quelques astuces en plus de Sch_CN_iteratif pour le stabiliser au - dela de son domaine de stabilite naturel (facsec<2). Un facteur d’amortissement des iterations est defini : omega. Il ameliore la stabilite, mais deterore la qualite de la resolution : Aux petits nombres d’iterations, les derivees temporelles sont sous - estimees et les lois de conservation ne sont plus necessairement satisfaites. Pour augmenter le pas de temps, les equations autres que Navier - Stokes sont resolues via le calcul de plusieurs pas de temps d’Euler explicite. A chaque iteration de Sch_CN_iteratif, les n pas de temps d’Euler explicite sont recalcules. Ce schema est adapte aux cas industriels de type gros calculs hydrauliques LES avec thermique couplee a du solide

Inherits from#

Inheritance graph#

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

../../../../../_images/classSch__CN__EX__iteratif__inherit__graph.png

List of Public Methods#

List of Public Static Methods#

List of Protected Methods#

Complete Member Function Documentation#

duplique#

Definition
int Sch_CN_EX_iteratif::duplique() const override
Brief description
Detailed description

Reimplements:

How to reference this method:

Copy the following pieces of RST/Markdown code to cite this element in other parts of the sphinx documentation (there is a copy button on the top-right when hovering the code block):

:ref:`int Sch_CN_EX_iteratif::duplique() const override <sch-cn-ex-iteratif-public-int-sch-cn-ex-iteratif-duplique-const-override>`
[int Sch_CN_EX_iteratif::duplique() const override](#sch-cn-ex-iteratif-public-int-sch-cn-ex-iteratif-duplique-const-override)

get_info#

Definition
const Type_info * Sch_CN_EX_iteratif::get_info() const override
Brief description

Donne des informations sur le type de l’ Objet_U .

Detailed description

Reimplements:

How to reference this method:

Copy the following pieces of RST/Markdown code to cite this element in other parts of the sphinx documentation (there is a copy button on the top-right when hovering the code block):

:ref:`const Type_info * Sch_CN_EX_iteratif::get_info() const override <sch-cn-ex-iteratif-public-const-type-info-ptr-sch-cn-ex-iteratif-get-info-const-override>`
[const Type_info * Sch_CN_EX_iteratif::get_info() const override](#sch-cn-ex-iteratif-public-const-type-info-ptr-sch-cn-ex-iteratif-get-info-const-override)

mettre_a_jour_dt_stab#

Definition
void Sch_CN_EX_iteratif::mettre_a_jour_dt_stab() override
Brief description

Ne tient compte que de l’equation de Navier Stokes du probleme (s’il y en a une) Les autres ne sont pas limitantes : elles font autant de sous - pas de temps que necessaire.

Detailed description

Code honteusement recopie de Probleme_base::calculer_pas_de_temps()

Reimplements:

References
How to reference this method:

Copy the following pieces of RST/Markdown code to cite this element in other parts of the sphinx documentation (there is a copy button on the top-right when hovering the code block):

:ref:`void Sch_CN_EX_iteratif::mettre_a_jour_dt_stab() override <sch-cn-ex-iteratif-public-void-sch-cn-ex-iteratif-mettre-a-jour-dt-stab-override>`
[void Sch_CN_EX_iteratif::mettre_a_jour_dt_stab() override](#sch-cn-ex-iteratif-public-void-sch-cn-ex-iteratif-mettre-a-jour-dt-stab-override)

Sch_CN_EX_iteratif#

Definition
Sch_CN_EX_iteratif::Sch_CN_EX_iteratif()
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:`Sch_CN_EX_iteratif::Sch_CN_EX_iteratif() <sch-cn-ex-iteratif-public-sch-cn-ex-iteratif-sch-cn-ex-iteratif>`
[Sch_CN_EX_iteratif::Sch_CN_EX_iteratif()](#sch-cn-ex-iteratif-public-sch-cn-ex-iteratif-sch-cn-ex-iteratif)

set_param#

Definition
void Sch_CN_EX_iteratif::set_param(Param &titi) override
Brief description
Detailed description

Reimplements:

References
How to reference this method:

Copy the following pieces of RST/Markdown code to cite this element in other parts of the sphinx documentation (there is a copy button on the top-right when hovering the code block):

:ref:`void Sch_CN_EX_iteratif::set_param(Param &titi) override <sch-cn-ex-iteratif-public-void-sch-cn-ex-iteratif-set-param-param-ref-titi-override>`
[void Sch_CN_EX_iteratif::set_param(Param &titi) override](#sch-cn-ex-iteratif-public-void-sch-cn-ex-iteratif-set-param-param-ref-titi-override)

taille_memoire#

Definition
unsigned Sch_CN_EX_iteratif::taille_memoire() const override
Brief description
Detailed description

Reimplements:

How to reference this method:

Copy the following pieces of RST/Markdown code to cite this element in other parts of the sphinx documentation (there is a copy button on the top-right when hovering the code block):

:ref:`unsigned Sch_CN_EX_iteratif::taille_memoire() const override <sch-cn-ex-iteratif-public-unsigned-sch-cn-ex-iteratif-taille-memoire-const-override>`
[unsigned Sch_CN_EX_iteratif::taille_memoire() const override](#sch-cn-ex-iteratif-public-unsigned-sch-cn-ex-iteratif-taille-memoire-const-override)

~Sch_CN_EX_iteratif#

Definition
Sch_CN_EX_iteratif::~Sch_CN_EX_iteratif()
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:`Sch_CN_EX_iteratif::~Sch_CN_EX_iteratif() <sch-cn-ex-iteratif-public-sch-cn-ex-iteratif-dtor-sch-cn-ex-iteratif>`
[Sch_CN_EX_iteratif::~Sch_CN_EX_iteratif()](#sch-cn-ex-iteratif-public-sch-cn-ex-iteratif-dtor-sch-cn-ex-iteratif)

cree_instance#

Definition
Objet_U * Sch_CN_EX_iteratif::cree_instance()
Brief description
Detailed description
How to reference this method:

Copy the following pieces of RST/Markdown code to cite this element in other parts of the sphinx documentation (there is a copy button on the top-right when hovering the code block):

:ref:`Objet_U * Sch_CN_EX_iteratif::cree_instance() <sch-cn-ex-iteratif-public-static-objet-u-ptr-sch-cn-ex-iteratif-cree-instance>`
[Objet_U * Sch_CN_EX_iteratif::cree_instance()](#sch-cn-ex-iteratif-public-static-objet-u-ptr-sch-cn-ex-iteratif-cree-instance)

info#

Definition
const Type_info * Sch_CN_EX_iteratif::info()
Brief description
Detailed description
How to reference this method:

Copy the following pieces of RST/Markdown code to cite this element in other parts of the sphinx documentation (there is a copy button on the top-right when hovering the code block):

:ref:`const Type_info * Sch_CN_EX_iteratif::info() <sch-cn-ex-iteratif-public-static-const-type-info-ptr-sch-cn-ex-iteratif-info>`
[const Type_info * Sch_CN_EX_iteratif::info()](#sch-cn-ex-iteratif-public-static-const-type-info-ptr-sch-cn-ex-iteratif-info)

self_cast#

Definition
const Sch_CN_EX_iteratif & Sch_CN_EX_iteratif::self_cast(const Objet_U &)
Brief description
Detailed description
How to reference this method:

Copy the following pieces of RST/Markdown code to cite this element in other parts of the sphinx documentation (there is a copy button on the top-right when hovering the code block):

:ref:`const Sch_CN_EX_iteratif & Sch_CN_EX_iteratif::self_cast(const Objet_U &) <sch-cn-ex-iteratif-public-static-const-sch-cn-ex-iteratif-ref-sch-cn-ex-iteratif-self-cast-const-objet-u-ref>`
[const Sch_CN_EX_iteratif & Sch_CN_EX_iteratif::self_cast(const Objet_U &)](#sch-cn-ex-iteratif-public-static-const-sch-cn-ex-iteratif-ref-sch-cn-ex-iteratif-self-cast-const-objet-u-ref)

self_cast#

Definition
Sch_CN_EX_iteratif & Sch_CN_EX_iteratif::self_cast(Objet_U &)
Brief description
Detailed description
How to reference this method:

Copy the following pieces of RST/Markdown code to cite this element in other parts of the sphinx documentation (there is a copy button on the top-right when hovering the code block):

:ref:`Sch_CN_EX_iteratif & Sch_CN_EX_iteratif::self_cast(Objet_U &) <sch-cn-ex-iteratif-public-static-sch-cn-ex-iteratif-ref-sch-cn-ex-iteratif-self-cast-objet-u-ref>`
[Sch_CN_EX_iteratif & Sch_CN_EX_iteratif::self_cast(Objet_U &)](#sch-cn-ex-iteratif-public-static-sch-cn-ex-iteratif-ref-sch-cn-ex-iteratif-self-cast-objet-u-ref)

ajuster_facsec#

Definition
void Sch_CN_EX_iteratif::ajuster_facsec(type_convergence cv) override
Brief description
Detailed description

Reimplements:

References
How to reference this method:

Copy the following pieces of RST/Markdown code to cite this element in other parts of the sphinx documentation (there is a copy button on the top-right when hovering the code block):

:ref:`void Sch_CN_EX_iteratif::ajuster_facsec(type_convergence cv) override <sch-cn-ex-iteratif-protected-void-sch-cn-ex-iteratif-ajuster-facsec-type-convergence-cv-override>`
[void Sch_CN_EX_iteratif::ajuster_facsec(type_convergence cv) override](#sch-cn-ex-iteratif-protected-void-sch-cn-ex-iteratif-ajuster-facsec-type-convergence-cv-override)

iterateTimeStepOnEquation#

Definition
bool Sch_CN_EX_iteratif::iterateTimeStepOnEquation(int i, bool &converged) override
Brief description

Calcule une iteration de la resolution sur l’equation i.

Detailed description

Calcule u(n + 1/2,p + 1) = u(n) + f(u(n + 1/2,p))*dt/2 et u(n + 1,p + 1) = u(n) + f(u(n + 1/2,p))*dt ou f donne du/dt en fonction de u Retourne true dans converged si ca ne bouge plus d’une iteration a l’autre, false sinon Renvoie true si OK pour continuer a iterer, false sinon (diverge ou trop d’iterations)

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 Sch_CN_EX_iteratif::iterateTimeStepOnEquation(int i, bool &converged) override <sch-cn-ex-iteratif-protected-bool-sch-cn-ex-iteratif-iteratetimesteponequation-int-i-bool-ref-converged-override>`
[bool Sch_CN_EX_iteratif::iterateTimeStepOnEquation(int i, bool &converged) override](#sch-cn-ex-iteratif-protected-bool-sch-cn-ex-iteratif-iteratetimesteponequation-int-i-bool-ref-converged-override)

iterateTimeStepOnNS#

Definition
bool Sch_CN_EX_iteratif::iterateTimeStepOnNS(int i, bool &converged)
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:`bool Sch_CN_EX_iteratif::iterateTimeStepOnNS(int i, bool &converged) <sch-cn-ex-iteratif-protected-bool-sch-cn-ex-iteratif-iteratetimesteponns-int-i-bool-ref-converged>`
[bool Sch_CN_EX_iteratif::iterateTimeStepOnNS(int i, bool &converged)](#sch-cn-ex-iteratif-protected-bool-sch-cn-ex-iteratif-iteratetimesteponns-int-i-bool-ref-converged)

iterateTimeStepOnOther#

Definition
bool Sch_CN_EX_iteratif::iterateTimeStepOnOther(int i, bool &converged)
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:`bool Sch_CN_EX_iteratif::iterateTimeStepOnOther(int i, bool &converged) <sch-cn-ex-iteratif-protected-bool-sch-cn-ex-iteratif-iteratetimesteponother-int-i-bool-ref-converged>`
[bool Sch_CN_EX_iteratif::iterateTimeStepOnOther(int i, bool &converged)](#sch-cn-ex-iteratif-protected-bool-sch-cn-ex-iteratif-iteratetimesteponother-int-i-bool-ref-converged)

printOn#

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

Surcharge Objet_U::printOn(Sortie&) Imprime le schema en temps sur un flot de sortie.

Detailed description

!! Attention n’est pas symetrique de la lecture !! On ecrit les differents parametres du schema en temps.

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:`Sortie & Sch_CN_EX_iteratif::printOn(Sortie &x) const override <sch-cn-ex-iteratif-protected-sortie-ref-sch-cn-ex-iteratif-printon-sortie-ref-x-const-override>`
[Sortie & Sch_CN_EX_iteratif::printOn(Sortie &x) const override](#sch-cn-ex-iteratif-protected-sortie-ref-sch-cn-ex-iteratif-printon-sortie-ref-x-const-override)

readOn#

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

Lecture d’un schema en temps a partir d’un flot d’entree.

Detailed description

Le format de lecture attendu est le suivant: { [ Motcle valeur_reelle] } Les mots clefs peuvent etre: tinit, tmax, nb_pas_dt_max, dt_min, dt_max, dt_sauv, dt_impr, facsec, seuil_statio,

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 & Sch_CN_EX_iteratif::readOn(Entree &) override <sch-cn-ex-iteratif-protected-entree-ref-sch-cn-ex-iteratif-readon-entree-ref-override>`
[Entree & Sch_CN_EX_iteratif::readOn(Entree &) override](#sch-cn-ex-iteratif-protected-entree-ref-sch-cn-ex-iteratif-readon-entree-ref-override)

Attributes Documentation#

info_obj (public)
const Type_info Sch_CN_EX_iteratif::info_obj
omega (protected)
double Sch_CN_EX_iteratif::omega = 0.1