SETS#

#include <SETS.h>
Brief description

classe SETS (semi - implicite + etapes de stabilisation, a la TRACE)

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

Detailed description#

SETS (“Stability - Enhancing Two - Step”) Ref : J. H. MAHAFFY, “A stability - enhancing two - step method for fluid flow calculations,” Journal of Computational Physics, 46, 3, 329 (1982).

Inherits from#

Inherited by#

Inheritance graph#

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

../../../../../_images/classSETS__inherit__graph.png

List of Public Methods#

List of Public Static Methods#

List of Protected Methods#

Complete Member Function Documentation#

duplique#

Definition
int SETS::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 SETS::duplique() const override <sets-public-int-sets-duplique-const-override>`
[int SETS::duplique() const override](#sets-public-int-sets-duplique-const-override)

facsec_diffusion_for_sets#

Definition
double SETS::facsec_diffusion_for_sets() const
Brief description
Detailed description
References
Referenced By
How to reference this method:

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

:ref:`double SETS::facsec_diffusion_for_sets() const <sets-public-double-sets-facsec-diffusion-for-sets-const>`
[double SETS::facsec_diffusion_for_sets() const](#sets-public-double-sets-facsec-diffusion-for-sets-const)

get_default_growth_factor#

Definition
double SETS::get_default_growth_factor() 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:`double SETS::get_default_growth_factor() const override <sets-public-double-sets-get-default-growth-factor-const-override>`
[double SETS::get_default_growth_factor() const override](#sets-public-double-sets-get-default-growth-factor-const-override)

get_info#

Definition
const Type_info * SETS::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 * SETS::get_info() const override <sets-public-const-type-info-ptr-sets-get-info-const-override>`
[const Type_info * SETS::get_info() const override](#sets-public-const-type-info-ptr-sets-get-info-const-override)

iterer_eqn#

Definition
bool SETS::iterer_eqn(Equation_base &equation, const DoubleTab &inconnue, DoubleTab &result, double dt, int numero_iteration, int &ok) override
Brief description
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:`bool SETS::iterer_eqn(Equation_base &equation, const DoubleTab &inconnue, DoubleTab &result, double dt, int numero_iteration, int &ok) override <sets-public-bool-sets-iterer-eqn-equation-base-ref-equation-const-doubletab-ref-inconnue-doubletab-ref-result-double-dt-int-numero-iteration-int-ref-ok-override>`
[bool SETS::iterer_eqn(Equation_base &equation, const DoubleTab &inconnue, DoubleTab &result, double dt, int numero_iteration, int &ok) override](#sets-public-bool-sets-iterer-eqn-equation-base-ref-equation-const-doubletab-ref-inconnue-doubletab-ref-result-double-dt-int-numero-iteration-int-ref-ok-override)

iterer_NS#

Definition
void SETS::iterer_NS(Equation_base &, DoubleTab &current, DoubleTab &pression, double, Matrice_Morse &, double, DoubleTrav &, int nb_iter, int &converge, int &ok) override
Brief description
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 SETS::iterer_NS(Equation_base &, DoubleTab &current, DoubleTab &pression, double, Matrice_Morse &, double, DoubleTrav &, int nb_iter, int &converge, int &ok) override <sets-public-void-sets-iterer-ns-equation-base-ref-doubletab-ref-current-doubletab-ref-pression-double-matrice-morse-ref-double-doubletrav-ref-int-nb-iter-int-ref-converge-int-ref-ok-override>`
[void SETS::iterer_NS(Equation_base &, DoubleTab &current, DoubleTab &pression, double, Matrice_Morse &, double, DoubleTrav &, int nb_iter, int &converge, int &ok) override](#sets-public-void-sets-iterer-ns-equation-base-ref-doubletab-ref-current-doubletab-ref-pression-double-matrice-morse-ref-double-doubletrav-ref-int-nb-iter-int-ref-converge-int-ref-ok-override)

lire#

Definition
Entree & SETS::lire(const Motcle &, Entree &) 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:`Entree & SETS::lire(const Motcle &, Entree &) override <sets-public-entree-ref-sets-lire-const-motcle-ref-entree-ref-override>`
[Entree & SETS::lire(const Motcle &, Entree &) override](#sets-public-entree-ref-sets-lire-const-motcle-ref-entree-ref-override)

nb_valeurs_temporelles_pression#

Definition
int SETS::nb_valeurs_temporelles_pression() 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 SETS::nb_valeurs_temporelles_pression() const override <sets-public-int-sets-nb-valeurs-temporelles-pression-const-override>`
[int SETS::nb_valeurs_temporelles_pression() const override](#sets-public-int-sets-nb-valeurs-temporelles-pression-const-override)

SETS#

Definition
SETS::SETS()
Brief description
Detailed description
References
How to reference this method:

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

:ref:`SETS::SETS() <sets-public-sets-sets>`
[SETS::SETS()](#sets-public-sets-sets)

taille_memoire#

Definition
unsigned SETS::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 SETS::taille_memoire() const override <sets-public-unsigned-sets-taille-memoire-const-override>`
[unsigned SETS::taille_memoire() const override](#sets-public-unsigned-sets-taille-memoire-const-override)

unknown_positivation#

Definition
double SETS::unknown_positivation(const DoubleTab &uk, DoubleTab &incr)
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:`double SETS::unknown_positivation(const DoubleTab &uk, DoubleTab &incr) <sets-public-double-sets-unknown-positivation-const-doubletab-ref-uk-doubletab-ref-incr>`
[double SETS::unknown_positivation(const DoubleTab &uk, DoubleTab &incr)](#sets-public-double-sets-unknown-positivation-const-doubletab-ref-uk-doubletab-ref-incr)

~SETS#

Definition
SETS::~SETS()
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:`SETS::~SETS() <sets-public-sets-dtor-sets>`
[SETS::~SETS()](#sets-public-sets-dtor-sets)

assembler#

Definition
void SETS::assembler(const std::string inco_p, const std::map< std::string, Matrice_Morse > &A_p, const tabs_t &b_p, const std::map< std::string, matrices_t > &mats, const ptabs_t &sec, Matrice_Morse &matrice, DoubleTab &secmem, int p_degen)
Brief description
Detailed description
References
How to reference this method:

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

:ref:`void SETS::assembler(const std::string inco_p, const std::map< std::string, Matrice_Morse > &A_p, const tabs_t &b_p, const std::map< std::string, matrices_t > &mats, const ptabs_t &sec, Matrice_Morse &matrice, DoubleTab &secmem, int p_degen) <sets-public-static-void-sets-assembler-const-std-string-inco-p-const-std-map-std-string-matrice-morse-ref-a-p-const-tabs-t-ref-b-p-const-std-map-std-string-matrices-t-ref-mats-const-ptabs-t-ref-sec-matrice-morse-ref-matrice-doubletab-ref-secmem-int-p-degen>`
[void SETS::assembler(const std::string inco_p, const std::map< std::string, Matrice_Morse > &A_p, const tabs_t &b_p, const std::map< std::string, matrices_t > &mats, const ptabs_t &sec, Matrice_Morse &matrice, DoubleTab &secmem, int p_degen)](#sets-public-static-void-sets-assembler-const-std-string-inco-p-const-std-map-std-string-matrice-morse-ref-a-p-const-tabs-t-ref-b-p-const-std-map-std-string-matrices-t-ref-mats-const-ptabs-t-ref-sec-matrice-morse-ref-matrice-doubletab-ref-secmem-int-p-degen)

cree_instance#

Definition
Objet_U * SETS::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 * SETS::cree_instance() <sets-public-static-objet-u-ptr-sets-cree-instance>`
[Objet_U * SETS::cree_instance()](#sets-public-static-objet-u-ptr-sets-cree-instance)

eliminer#

Definition
int SETS::eliminer(const std::vector< std::set< std::pair< std::string, int > > > ordre, const std::string inco_p, const std::map< std::string, matrices_t > &mats, const ptabs_t &sec, std::map< std::string, Matrice_Morse > &A_p, tabs_t &b_p)
Brief description
Detailed description
References
How to reference this method:

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

:ref:`int SETS::eliminer(const std::vector< std::set< std::pair< std::string, int > > > ordre, const std::string inco_p, const std::map< std::string, matrices_t > &mats, const ptabs_t &sec, std::map< std::string, Matrice_Morse > &A_p, tabs_t &b_p) <sets-public-static-int-sets-eliminer-const-std-vector-std-set-std-pair-std-string-int-ordre-const-std-string-inco-p-const-std-map-std-string-matrices-t-ref-mats-const-ptabs-t-ref-sec-std-map-std-string-matrice-morse-ref-a-p-tabs-t-ref-b-p>`
[int SETS::eliminer(const std::vector< std::set< std::pair< std::string, int > > > ordre, const std::string inco_p, const std::map< std::string, matrices_t > &mats, const ptabs_t &sec, std::map< std::string, Matrice_Morse > &A_p, tabs_t &b_p)](#sets-public-static-int-sets-eliminer-const-std-vector-std-set-std-pair-std-string-int-ordre-const-std-string-inco-p-const-std-map-std-string-matrices-t-ref-mats-const-ptabs-t-ref-sec-std-map-std-string-matrice-morse-ref-a-p-tabs-t-ref-b-p)

info#

Definition
const Type_info * SETS::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 * SETS::info() <sets-public-static-const-type-info-ptr-sets-info>`
[const Type_info * SETS::info()](#sets-public-static-const-type-info-ptr-sets-info)

self_cast#

Definition
const SETS & SETS::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 SETS & SETS::self_cast(const Objet_U &) <sets-public-static-const-sets-ref-sets-self-cast-const-objet-u-ref>`
[const SETS & SETS::self_cast(const Objet_U &)](#sets-public-static-const-sets-ref-sets-self-cast-const-objet-u-ref)

self_cast#

Definition
SETS & SETS::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:`SETS & SETS::self_cast(Objet_U &) <sets-public-static-sets-ref-sets-self-cast-objet-u-ref>`
[SETS & SETS::self_cast(Objet_U &)](#sets-public-static-sets-ref-sets-self-cast-objet-u-ref)

printOn#

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

voir Solveur::printOn

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 & SETS::printOn(Sortie &x) const override <sets-protected-sortie-ref-sets-printon-sortie-ref-x-const-override>`
[Sortie & SETS::printOn(Sortie &x) const override](#sets-protected-sortie-ref-sets-printon-sortie-ref-x-const-override)

readOn#

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

Lecture d’un Objet_U sur un flot d’entree Methode a surcharger.

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:`Entree & SETS::readOn(Entree &) override <sets-protected-entree-ref-sets-readon-entree-ref-override>`
[Entree & SETS::readOn(Entree &) override](#sets-protected-entree-ref-sets-readon-entree-ref-override)

Attributes Documentation#

info_obj (public)
const Type_info SETS::info_obj
iteration_ (public)
int SETS::iteration_ = 0
p_degen_ (public)
int SETS::p_degen_ = - 1
sets_ (public)
int SETS::sets_
A_p_ (protected)
std::map<std::string, Matrice_Morse> SETS::A_p_
crit_conv_ (protected)
std::map<std::string, double> SETS::crit_conv_
first_call_ (protected)
int SETS::first_call_ = 1
header_written_ (protected)
bool SETS::header_written_ = false
incr_var_convergence_ (protected)
std::vector<double> SETS::incr_var_convergence_
iter_max_ (protected)
int SETS::iter_max_ = 10
iter_min_ (protected)
int SETS::iter_min_ = 1
mat_pred_ (protected)
std::map<std::string, Matrice_Morse> SETS::mat_pred_
mat_semi_impl_ (protected)
Matrice_Bloc SETS::mat_semi_impl_
matrice_pression_ (protected)
Matrice_Morse SETS::matrice_pression_
mats_ (protected)
std::map<std::string, matrices_t> SETS::mats_
mdv_semi_impl_ (protected)
MD_Vector SETS::mdv_semi_impl_
pressure_reduction_ (protected)
int SETS::pressure_reduction_ = 1