Domaine_DG#

#include <Domaine_DG.h>
Brief description

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:`Domaine\_DG <class-domaine-dg>`
[Domaine\_DG](#class-domaine-dg)

Detailed description#

Inherits from#

List of Public Methods#

List of Public Static Methods#

List of Protected Methods#

Complete Member Function Documentation#

calculer_h_carre#

Definition
void Domaine_DG::calculer_h_carre() override
Brief description

Should disappear, as well as h_carre, as we have dia_, this come with a refactoring of Domaine_Poly_base .

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 Domaine_DG::calculer_h_carre() override <domaine-dg-public-void-domaine-dg-calculer-h-carre-override>`
[void Domaine_DG::calculer_h_carre() override](#domaine-dg-public-void-domaine-dg-calculer-h-carre-override)

compute_L1_norm#

Definition
double Domaine_DG::compute_L1_norm(const DoubleVect &val_source) const override
Brief description

Compute L_1 norm.

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:`double Domaine_DG::compute_L1_norm(const DoubleVect &val_source) const override <domaine-dg-public-double-domaine-dg-compute-l1-norm-const-doublevect-ref-val-source-const-override>`
[double Domaine_DG::compute_L1_norm(const DoubleVect &val_source) const override](#domaine-dg-public-double-domaine-dg-compute-l1-norm-const-doublevect-ref-val-source-const-override)

compute_L2_norm#

Definition
double Domaine_DG::compute_L2_norm(const DoubleVect &val_source) const override
Brief description

Compute L_2 norm.

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:`double Domaine_DG::compute_L2_norm(const DoubleVect &val_source) const override <domaine-dg-public-double-domaine-dg-compute-l2-norm-const-doublevect-ref-val-source-const-override>`
[double Domaine_DG::compute_L2_norm(const DoubleVect &val_source) const override](#domaine-dg-public-double-domaine-dg-compute-l2-norm-const-doublevect-ref-val-source-const-override)

discretiser#

Definition
void Domaine_DG::discretiser() override
Brief description

Compute mesh parameters, allocate quadratures and link them to the domain.

Detailed description

The function use Domaine_Poly_base::discretiser() that builds every geometric connectivities that are not in the mesh file

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 Domaine_DG::discretiser() override <domaine-dg-public-void-domaine-dg-discretiser-override>`
[void Domaine_DG::discretiser() override](#domaine-dg-public-void-domaine-dg-discretiser-override)

Domaine_DG#

Definition
Domaine_DG::Domaine_DG()
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:`Domaine_DG::Domaine_DG() <domaine-dg-public-domaine-dg-domaine-dg>`
[Domaine_DG::Domaine_DG()](#domaine-dg-public-domaine-dg-domaine-dg)

duplique#

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

get_dia#

Definition
const DoubleTab & Domaine_DG::get_dia() const
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:`const DoubleTab & Domaine_DG::get_dia() const <domaine-dg-public-const-doubletab-ref-domaine-dg-get-dia-const>`
[const DoubleTab & Domaine_DG::get_dia() const](#domaine-dg-public-const-doubletab-ref-domaine-dg-get-dia-const)

get_ind_integ_points#

Definition
void Domaine_DG::get_ind_integ_points(IntTab &ind_integ_points) const override
Brief description

Create the indirection that give for each cell, the index number of the first integration point.

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 Domaine_DG::get_ind_integ_points(IntTab &ind_integ_points) const override <domaine-dg-public-void-domaine-dg-get-ind-integ-points-inttab-ref-ind-integ-points-const-override>`
[void Domaine_DG::get_ind_integ_points(IntTab &ind_integ_points) const override](#domaine-dg-public-void-domaine-dg-get-ind-integ-points-inttab-ref-ind-integ-points-const-override)

get_info#

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

get_invdia#

Definition
const DoubleTab & Domaine_DG::get_invdia() const
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:`const DoubleTab & Domaine_DG::get_invdia() const <domaine-dg-public-const-doubletab-ref-domaine-dg-get-invdia-const>`
[const DoubleTab & Domaine_DG::get_invdia() const](#domaine-dg-public-const-doubletab-ref-domaine-dg-get-invdia-const)

get_nb_integ_points#

Definition
void Domaine_DG::get_nb_integ_points(IntTab &nb_integ_points) const override
Brief description

Give an IntTab that contains the number of integration points for each cell.

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 Domaine_DG::get_nb_integ_points(IntTab &nb_integ_points) const override <domaine-dg-public-void-domaine-dg-get-nb-integ-points-inttab-ref-nb-integ-points-const-override>`
[void Domaine_DG::get_nb_integ_points(IntTab &nb_integ_points) const override](#domaine-dg-public-void-domaine-dg-get-nb-integ-points-inttab-ref-nb-integ-points-const-override)

get_nfaces_elem#

Definition
const IntTab & Domaine_DG::get_nfaces_elem() const
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:`const IntTab & Domaine_DG::get_nfaces_elem() const <domaine-dg-public-const-inttab-ref-domaine-dg-get-nfaces-elem-const>`
[const IntTab & Domaine_DG::get_nfaces_elem() const](#domaine-dg-public-const-inttab-ref-domaine-dg-get-nfaces-elem-const)

get_per#

Definition
const DoubleTab & Domaine_DG::get_per() const
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:`const DoubleTab & Domaine_DG::get_per() const <domaine-dg-public-const-doubletab-ref-domaine-dg-get-per-const>`
[const DoubleTab & Domaine_DG::get_per() const](#domaine-dg-public-const-doubletab-ref-domaine-dg-get-per-const)

get_position#

Definition
void Domaine_DG::get_position(DoubleTab &positions) const override
Brief description

Compute positions of the quadrature points.

Detailed description

For now it uses the default quadrature order and compute positions for every cells

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 Domaine_DG::get_position(DoubleTab &positions) const override <domaine-dg-public-void-domaine-dg-get-position-doubletab-ref-positions-const-override>`
[void Domaine_DG::get_position(DoubleTab &positions) const override](#domaine-dg-public-void-domaine-dg-get-position-doubletab-ref-positions-const-override)

get_quadrature#

Definition
const Quadrature_base & Domaine_DG::get_quadrature() 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:`const Quadrature_base & Domaine_DG::get_quadrature() const <domaine-dg-public-const-quadrature-base-ref-domaine-dg-get-quadrature-const>`
[const Quadrature_base & Domaine_DG::get_quadrature() const](#domaine-dg-public-const-quadrature-base-ref-domaine-dg-get-quadrature-const)

get_quadrature#

Definition
const Quadrature_base & Domaine_DG::get_quadrature(int order) 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:`const Quadrature_base & Domaine_DG::get_quadrature(int order) const <domaine-dg-public-const-quadrature-base-ref-domaine-dg-get-quadrature-int-order-const>`
[const Quadrature_base & Domaine_DG::get_quadrature(int order) const](#domaine-dg-public-const-quadrature-base-ref-domaine-dg-get-quadrature-int-order-const)

get_rho#

Definition
const DoubleTab & Domaine_DG::get_rho() const
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:`const DoubleTab & Domaine_DG::get_rho() const <domaine-dg-public-const-doubletab-ref-domaine-dg-get-rho-const>`
[const DoubleTab & Domaine_DG::get_rho() const](#domaine-dg-public-const-doubletab-ref-domaine-dg-get-rho-const)

get_sig#

Definition
const DoubleTab & Domaine_DG::get_sig() const
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:`const DoubleTab & Domaine_DG::get_sig() const <domaine-dg-public-const-doubletab-ref-domaine-dg-get-sig-const>`
[const DoubleTab & Domaine_DG::get_sig() const](#domaine-dg-public-const-doubletab-ref-domaine-dg-get-sig-const)

get_stencil_sorted#

Definition
const IntTab & Domaine_DG::get_stencil_sorted() const
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:`const IntTab & Domaine_DG::get_stencil_sorted() const <domaine-dg-public-const-inttab-ref-domaine-dg-get-stencil-sorted-const>`
[const IntTab & Domaine_DG::get_stencil_sorted() const](#domaine-dg-public-const-inttab-ref-domaine-dg-get-stencil-sorted-const)

get_type_elem#

Definition
const TRUST_Deriv<Elem_poly_base> Domaine_DG::get_type_elem() const
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:`const TRUST_Deriv<Elem_poly_base> Domaine_DG::get_type_elem() const <domaine-dg-public-const-trust-deriv-elem-poly-base-domaine-dg-get-type-elem-const>`
[const TRUST_Deriv<Elem_poly_base> Domaine_DG::get_type_elem() const](#domaine-dg-public-const-trust-deriv-elem-poly-base-domaine-dg-get-type-elem-const)

gram_schmidt#

Definition
const bool & Domaine_DG::gram_schmidt() const
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:`const bool & Domaine_DG::gram_schmidt() const <domaine-dg-public-const-bool-ref-domaine-dg-gram-schmidt-const>`
[const bool & Domaine_DG::gram_schmidt() const](#domaine-dg-public-const-bool-ref-domaine-dg-gram-schmidt-const)

init_equiv#

Definition
void Domaine_DG::init_equiv() const override
Brief description

New feature in Trust, not yet available in DG, ask Elie.

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:`void Domaine_DG::init_equiv() const override <domaine-dg-public-void-domaine-dg-init-equiv-const-override>`
[void Domaine_DG::init_equiv() const override](#domaine-dg-public-void-domaine-dg-init-equiv-const-override)

set_default_order#

Definition
void Domaine_DG::set_default_order(int order)
Brief description

Set the global default order.

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 Domaine_DG::set_default_order(int order) <domaine-dg-public-void-domaine-dg-set-default-order-int-order>`
[void Domaine_DG::set_default_order(int order)](#domaine-dg-public-void-domaine-dg-set-default-order-int-order)

taille_memoire#

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

~Domaine_DG#

Definition
Domaine_DG::~Domaine_DG()
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:`Domaine_DG::~Domaine_DG() <domaine-dg-public-domaine-dg-dtor-domaine-dg>`
[Domaine_DG::~Domaine_DG()](#domaine-dg-public-domaine-dg-dtor-domaine-dg)

cree_instance#

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

info#

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

self_cast#

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

self_cast#

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

build_nfaces_elem_#

Definition
bool Domaine_DG::build_nfaces_elem_()
Brief description

Create an array that store the number of faces per element.

Detailed description

If the mesh is only composed with the same type of element, return yes.

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 Domaine_DG::build_nfaces_elem_() <domaine-dg-protected-bool-domaine-dg-build-nfaces-elem-underscore>`
[bool Domaine_DG::build_nfaces_elem_()](#domaine-dg-protected-bool-domaine-dg-build-nfaces-elem-underscore)

compute_mesh_param#

Definition
void Domaine_DG::compute_mesh_param()
Brief description

Compute geometric quantities used for the computation TODO :: Put this in the Domain_Poly_base and delete h_carre.

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:`void Domaine_DG::compute_mesh_param() <domaine-dg-protected-void-domaine-dg-compute-mesh-param>`
[void Domaine_DG::compute_mesh_param()](#domaine-dg-protected-void-domaine-dg-compute-mesh-param)

printOn#

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

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

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

readOn#

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

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

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

Attributes Documentation#

info_obj (public)
const Type_info Domaine_DG::info_obj
dia_ (protected)
DoubleTab Domaine_DG::dia_
gram_schmidt_ (protected)
bool Domaine_DG::gram_schmidt_
invdia_ (protected)
DoubleTab Domaine_DG::invdia_
nfaces_elem_ (protected)
IntTab Domaine_DG::nfaces_elem_
order_quad_ (protected)
int Domaine_DG::order_quad_ = - 1
per_ (protected)
DoubleTab Domaine_DG::per_
quad1_ (protected)
std::shared_ptr<Quadrature_base> Domaine_DG::quad1_
quad3_ (protected)
std::shared_ptr<Quadrature_base> Domaine_DG::quad3_
quad5_ (protected)
std::shared_ptr<Quadrature_base> Domaine_DG::quad5_
rho_ (protected)
DoubleTab Domaine_DG::rho_
sig_ (protected)
DoubleTab Domaine_DG::sig_
stencil_sorted_ (protected)
IntTab Domaine_DG::stencil_sorted_