Domaine_DG#
#include <Domaine_DG.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:`Domaine\_DG <class-domaine-dg>`
[Domaine\_DG](#class-domaine-dg)
Detailed description#
Inherits from#
public : Domaine_Poly_base
List of Public Methods#
List of Public Static Methods#
List of Protected Methods#
Complete Member Function Documentation#
calculer_h_carre#
void Domaine_DG::calculer_h_carre() override
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#
double Domaine_DG::compute_L1_norm(const DoubleVect &val_source) const override
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#
double Domaine_DG::compute_L2_norm(const DoubleVect &val_source) const override
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#
void Domaine_DG::discretiser() override
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#
Domaine_DG::Domaine_DG()
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#
int Domaine_DG::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 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#
const DoubleTab & Domaine_DG::get_dia() const
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#
void Domaine_DG::get_ind_integ_points(IntTab &ind_integ_points) const override
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#
const Type_info * Domaine_DG::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 * 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#
const DoubleTab & Domaine_DG::get_invdia() const
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#
void Domaine_DG::get_nb_integ_points(IntTab &nb_integ_points) const override
Give an IntTab that contains the number of integration points for each cell.
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::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#
const IntTab & Domaine_DG::get_nfaces_elem() const
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#
const DoubleTab & Domaine_DG::get_per() const
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#
void Domaine_DG::get_position(DoubleTab &positions) const override
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#
const Quadrature_base & Domaine_DG::get_quadrature() const
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#
const Quadrature_base & Domaine_DG::get_quadrature(int order) const
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 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#
const DoubleTab & Domaine_DG::get_rho() const
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#
const DoubleTab & Domaine_DG::get_sig() const
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#
const IntTab & Domaine_DG::get_stencil_sorted() const
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#
const TRUST_Deriv<Elem_poly_base> Domaine_DG::get_type_elem() const
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#
const bool & Domaine_DG::gram_schmidt() const
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#
void Domaine_DG::init_equiv() const override
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#
void Domaine_DG::set_default_order(int order)
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#
unsigned Domaine_DG::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 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#
Domaine_DG::~Domaine_DG()
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#
Objet_U * Domaine_DG::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 * 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#
const Type_info * Domaine_DG::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 * 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#
const Domaine_DG & Domaine_DG::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 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#
Domaine_DG & Domaine_DG::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:`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_#
bool Domaine_DG::build_nfaces_elem_()
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#
void Domaine_DG::compute_mesh_param()
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#
Sortie & Domaine_DG::printOn(Sortie &x) const override
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#
Entree & Domaine_DG::readOn(Entree &) override
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#
const Type_info Domaine_DG::info_obj
DoubleTab Domaine_DG::dia_
bool Domaine_DG::gram_schmidt_
DoubleTab Domaine_DG::invdia_
IntTab Domaine_DG::nfaces_elem_
int Domaine_DG::order_quad_ = - 1
DoubleTab Domaine_DG::per_
std::shared_ptr<Quadrature_base> Domaine_DG::quad1_
std::shared_ptr<Quadrature_base> Domaine_DG::quad3_
std::shared_ptr<Quadrature_base> Domaine_DG::quad5_
DoubleTab Domaine_DG::rho_
DoubleTab Domaine_DG::sig_
IntTab Domaine_DG::stencil_sorted_