PolyMAC_P0_discretisation#
#include <PolyMAC_P0_discretisation.h>
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:`PolyMAC\_P0\_discretisation <class-polymac-p0-discretisation>`
[PolyMAC\_P0\_discretisation](#class-polymac-p0-discretisation)
Detailed description#
Inherits from#
PolyMAC_P0P1NC_discretisation (public)
Inheritance graph#
If the image is too small, right-click and open in new tab
How to reference this graph
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:`PolyMAC_P0_discretisation Inheritance Graph <polymac-p0-discretisation-inherit-graph>`
[PolyMAC_P0_discretisation Inheritance Graph](#polymac-p0-discretisation-inherit-graph)
Member Functions: Public#
Member Functions: Static Public#
Member Functions: Protected#
Complete Member Function Documentation#
creer_champ_vorticite#
void PolyMAC_P0_discretisation::creer_champ_vorticite(const Schema_Temps_base &, const Champ_Inc_base &, TRUST_Deriv< Champ_Fonc_base > &) const override
Creates a vorticity field for PolyMAC P0 discretization.
Detailed description
This method creates and initializes a vorticity field, which represents the curl of the velocity field (∇ × u). The field structure depends on the spatial dimension. Vorticity field structure by dimension:
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 PolyMAC_P0_discretisation::creer_champ_vorticite(const Schema_Temps_base &, const Champ_Inc_base &, TRUST_Deriv< Champ_Fonc_base > &) const override <polymac-p0-discretisation-public-void-polymac-p0-discretisation-creer-champ-vorticite-const-schema-temps-base-ref-const-champ-inc-base-ref-trust-deriv-champ-fonc-base-ref-const-override>`
[void PolyMAC_P0_discretisation::creer_champ_vorticite(const Schema_Temps_base &, const Champ_Inc_base &, TRUST_Deriv< Champ_Fonc_base > &) const override](#polymac-p0-discretisation-public-void-polymac-p0-discretisation-creer-champ-vorticite-const-schema-temps-base-ref-const-champ-inc-base-ref-trust-deriv-champ-fonc-base-ref-const-override)
duplique#
int PolyMAC_P0_discretisation::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 PolyMAC_P0_discretisation::duplique() const override <polymac-p0-discretisation-public-int-polymac-p0-discretisation-duplique-const-override>`
[int PolyMAC_P0_discretisation::duplique() const override](#polymac-p0-discretisation-public-int-polymac-p0-discretisation-duplique-const-override)
get_info#
const Type_info * PolyMAC_P0_discretisation::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 * PolyMAC_P0_discretisation::get_info() const override <polymac-p0-discretisation-public-const-type-info-ptr-polymac-p0-discretisation-get-info-const-override>`
[const Type_info * PolyMAC_P0_discretisation::get_info() const override](#polymac-p0-discretisation-public-const-type-info-ptr-polymac-p0-discretisation-get-info-const-override)
grad_u#
void PolyMAC_P0_discretisation::grad_u(const Domaine_dis_base &z, const Domaine_Cl_dis_base &zcl, const Champ_Inc_base &ch_vitesse, TRUST_Deriv< Champ_Fonc_base > &ch) const override
Creates a velocity gradient field for PolyMAC P0 discretization.
Detailed description
This method creates and initializes a gradient field of the velocity field, computing the tensor ∇u where u is the velocity field. The resulting field contains all components of the velocity gradient tensor. The gradient field components are named according to spatial dimension: Where phase corresponds to each line component of the velocity field.
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 PolyMAC_P0_discretisation::grad_u(const Domaine_dis_base &z, const Domaine_Cl_dis_base &zcl, const Champ_Inc_base &ch_vitesse, TRUST_Deriv< Champ_Fonc_base > &ch) const override <polymac-p0-discretisation-public-void-polymac-p0-discretisation-grad-u-const-domaine-dis-base-ref-z-const-domaine-cl-dis-base-ref-zcl-const-champ-inc-base-ref-ch-vitesse-trust-deriv-champ-fonc-base-ref-ch-const-override>`
[void PolyMAC_P0_discretisation::grad_u(const Domaine_dis_base &z, const Domaine_Cl_dis_base &zcl, const Champ_Inc_base &ch_vitesse, TRUST_Deriv< Champ_Fonc_base > &ch) const override](#polymac-p0-discretisation-public-void-polymac-p0-discretisation-grad-u-const-domaine-dis-base-ref-z-const-domaine-cl-dis-base-ref-zcl-const-champ-inc-base-ref-ch-vitesse-trust-deriv-champ-fonc-base-ref-ch-const-override)
is_polymac#
bool PolyMAC_P0_discretisation::is_polymac() 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:`bool PolyMAC_P0_discretisation::is_polymac() const override <polymac-p0-discretisation-public-bool-polymac-p0-discretisation-is-polymac-const-override>`
[bool PolyMAC_P0_discretisation::is_polymac() const override](#polymac-p0-discretisation-public-bool-polymac-p0-discretisation-is-polymac-const-override)
is_polymac_p0#
bool PolyMAC_P0_discretisation::is_polymac_p0() 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:`bool PolyMAC_P0_discretisation::is_polymac_p0() const override <polymac-p0-discretisation-public-bool-polymac-p0-discretisation-is-polymac-p0-const-override>`
[bool PolyMAC_P0_discretisation::is_polymac_p0() const override](#polymac-p0-discretisation-public-bool-polymac-p0-discretisation-is-polymac-p0-const-override)
is_polymac_p0p1nc#
bool PolyMAC_P0_discretisation::is_polymac_p0p1nc() 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:`bool PolyMAC_P0_discretisation::is_polymac_p0p1nc() const override <polymac-p0-discretisation-public-bool-polymac-p0-discretisation-is-polymac-p0p1nc-const-override>`
[bool PolyMAC_P0_discretisation::is_polymac_p0p1nc() const override](#polymac-p0-discretisation-public-bool-polymac-p0-discretisation-is-polymac-p0p1nc-const-override)
PolyMAC_P0_discretisation#
PolyMAC_P0_discretisation::PolyMAC_P0_discretisation()
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:`PolyMAC_P0_discretisation::PolyMAC_P0_discretisation() <polymac-p0-discretisation-public-polymac-p0-discretisation-polymac-p0-discretisation>`
[PolyMAC_P0_discretisation::PolyMAC_P0_discretisation()](#polymac-p0-discretisation-public-polymac-p0-discretisation-polymac-p0-discretisation)
residu#
void PolyMAC_P0_discretisation::residu(const Domaine_dis_base &z, const Champ_Inc_base &ch_inco, TRUST_Deriv< Champ_Fonc_base > &champ) const override
Creates a residue field for equation solving diagnostics.
Detailed description
This method creates a field to store the residue of an equation system, which is useful for monitoring convergence and numerical solution quality. The residue represents the difference between the left and right hand sides of the discretized equation.
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 PolyMAC_P0_discretisation::residu(const Domaine_dis_base &z, const Champ_Inc_base &ch_inco, TRUST_Deriv< Champ_Fonc_base > &champ) const override <polymac-p0-discretisation-public-void-polymac-p0-discretisation-residu-const-domaine-dis-base-ref-z-const-champ-inc-base-ref-ch-inco-trust-deriv-champ-fonc-base-ref-champ-const-override>`
[void PolyMAC_P0_discretisation::residu(const Domaine_dis_base &z, const Champ_Inc_base &ch_inco, TRUST_Deriv< Champ_Fonc_base > &champ) const override](#polymac-p0-discretisation-public-void-polymac-p0-discretisation-residu-const-domaine-dis-base-ref-z-const-champ-inc-base-ref-ch-inco-trust-deriv-champ-fonc-base-ref-champ-const-override)
taille_memoire#
unsigned PolyMAC_P0_discretisation::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 PolyMAC_P0_discretisation::taille_memoire() const override <polymac-p0-discretisation-public-unsigned-polymac-p0-discretisation-taille-memoire-const-override>`
[unsigned PolyMAC_P0_discretisation::taille_memoire() const override](#polymac-p0-discretisation-public-unsigned-polymac-p0-discretisation-taille-memoire-const-override)
taux_cisaillement#
void PolyMAC_P0_discretisation::taux_cisaillement(const Domaine_dis_base &, const Domaine_Cl_dis_base &, const Champ_Inc_base &, TRUST_Deriv< Champ_Fonc_base > &) const override
Creates a shear rate field for PolyMAC P0 discretization.
Detailed description
This method creates and initializes a field representing the shear rate magnitude, which is derived from the velocity gradient tensor. The shear rate is computed as the magnitude of the strain rate tensor. The shear rate field contains one scalar component per phase, named “Taux_cisaillement_phase” where phase is the phase index.
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 PolyMAC_P0_discretisation::taux_cisaillement(const Domaine_dis_base &, const Domaine_Cl_dis_base &, const Champ_Inc_base &, TRUST_Deriv< Champ_Fonc_base > &) const override <polymac-p0-discretisation-public-void-polymac-p0-discretisation-taux-cisaillement-const-domaine-dis-base-ref-const-domaine-cl-dis-base-ref-const-champ-inc-base-ref-trust-deriv-champ-fonc-base-ref-const-override>`
[void PolyMAC_P0_discretisation::taux_cisaillement(const Domaine_dis_base &, const Domaine_Cl_dis_base &, const Champ_Inc_base &, TRUST_Deriv< Champ_Fonc_base > &) const override](#polymac-p0-discretisation-public-void-polymac-p0-discretisation-taux-cisaillement-const-domaine-dis-base-ref-const-domaine-cl-dis-base-ref-const-champ-inc-base-ref-trust-deriv-champ-fonc-base-ref-const-override)
~PolyMAC_P0_discretisation#
PolyMAC_P0_discretisation::~PolyMAC_P0_discretisation()
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:`PolyMAC_P0_discretisation::~PolyMAC_P0_discretisation() <polymac-p0-discretisation-public-polymac-p0-discretisation-dtor-polymac-p0-discretisation>`
[PolyMAC_P0_discretisation::~PolyMAC_P0_discretisation()](#polymac-p0-discretisation-public-polymac-p0-discretisation-dtor-polymac-p0-discretisation)
cree_instance#
Objet_U * PolyMAC_P0_discretisation::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 * PolyMAC_P0_discretisation::cree_instance() <polymac-p0-discretisation-public-static-objet-u-ptr-polymac-p0-discretisation-cree-instance>`
[Objet_U * PolyMAC_P0_discretisation::cree_instance()](#polymac-p0-discretisation-public-static-objet-u-ptr-polymac-p0-discretisation-cree-instance)
info#
const Type_info * PolyMAC_P0_discretisation::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 * PolyMAC_P0_discretisation::info() <polymac-p0-discretisation-public-static-const-type-info-ptr-polymac-p0-discretisation-info>`
[const Type_info * PolyMAC_P0_discretisation::info()](#polymac-p0-discretisation-public-static-const-type-info-ptr-polymac-p0-discretisation-info)
self_cast#
const PolyMAC_P0_discretisation & PolyMAC_P0_discretisation::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 PolyMAC_P0_discretisation & PolyMAC_P0_discretisation::self_cast(const Objet_U &) <polymac-p0-discretisation-public-static-const-polymac-p0-discretisation-ref-polymac-p0-discretisation-self-cast-const-objet-u-ref>`
[const PolyMAC_P0_discretisation & PolyMAC_P0_discretisation::self_cast(const Objet_U &)](#polymac-p0-discretisation-public-static-const-polymac-p0-discretisation-ref-polymac-p0-discretisation-self-cast-const-objet-u-ref)
self_cast#
PolyMAC_P0_discretisation & PolyMAC_P0_discretisation::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:`PolyMAC_P0_discretisation & PolyMAC_P0_discretisation::self_cast(Objet_U &) <polymac-p0-discretisation-public-static-polymac-p0-discretisation-ref-polymac-p0-discretisation-self-cast-objet-u-ref>`
[PolyMAC_P0_discretisation & PolyMAC_P0_discretisation::self_cast(Objet_U &)](#polymac-p0-discretisation-public-static-polymac-p0-discretisation-ref-polymac-p0-discretisation-self-cast-objet-u-ref)
printOn#
Sortie & PolyMAC_P0_discretisation::printOn(Sortie &x) const override
Ecriture de l’objet sur un flot de sortie Methode a surcharger.
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:`Sortie & PolyMAC_P0_discretisation::printOn(Sortie &x) const override <polymac-p0-discretisation-protected-sortie-ref-polymac-p0-discretisation-printon-sortie-ref-x-const-override>`
[Sortie & PolyMAC_P0_discretisation::printOn(Sortie &x) const override](#polymac-p0-discretisation-protected-sortie-ref-polymac-p0-discretisation-printon-sortie-ref-x-const-override)
readOn#
Entree & PolyMAC_P0_discretisation::readOn(Entree &) override
Lecture d’un Objet_U sur un flot d’entree Methode a surcharger.
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:`Entree & PolyMAC_P0_discretisation::readOn(Entree &) override <polymac-p0-discretisation-protected-entree-ref-polymac-p0-discretisation-readon-entree-ref-override>`
[Entree & PolyMAC_P0_discretisation::readOn(Entree &) override](#polymac-p0-discretisation-protected-entree-ref-polymac-p0-discretisation-readon-entree-ref-override)
Attributes Documentation#
const Type_info PolyMAC_P0_discretisation::info_obj