Sch_CN_EX_iteratif#
#include <Sch_CN_EX_iteratif.h>
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#
public : Sch_CN_iteratif
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#
duplique#
int Sch_CN_EX_iteratif::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 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#
const Type_info * Sch_CN_EX_iteratif::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 * 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#
void Sch_CN_EX_iteratif::mettre_a_jour_dt_stab() override
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#
Sch_CN_EX_iteratif::Sch_CN_EX_iteratif()
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#
void Sch_CN_EX_iteratif::set_param(Param &titi) override
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#
unsigned Sch_CN_EX_iteratif::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 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#
Sch_CN_EX_iteratif::~Sch_CN_EX_iteratif()
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#
Objet_U * Sch_CN_EX_iteratif::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 * 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#
const Type_info * Sch_CN_EX_iteratif::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 * 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#
const Sch_CN_EX_iteratif & Sch_CN_EX_iteratif::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 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#
Sch_CN_EX_iteratif & Sch_CN_EX_iteratif::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:`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#
void Sch_CN_EX_iteratif::ajuster_facsec(type_convergence cv) override
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#
bool Sch_CN_EX_iteratif::iterateTimeStepOnEquation(int i, bool &converged) override
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#
bool Sch_CN_EX_iteratif::iterateTimeStepOnNS(int i, bool &converged)
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#
bool Sch_CN_EX_iteratif::iterateTimeStepOnOther(int i, bool &converged)
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#
Sortie & Sch_CN_EX_iteratif::printOn(Sortie &x) const override
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#
Entree & Sch_CN_EX_iteratif::readOn(Entree &) override
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#
const Type_info Sch_CN_EX_iteratif::info_obj
double Sch_CN_EX_iteratif::omega = 0.1