Domaine_DG#

#include <Domaine_DG.h>

How to cite this class in this doc#

: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
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 .

Reimplements:

References
Referenced By
How to cite in this doc:
:ref:`void Domaine_DG::calculer_h_carre() override <public-void-domaine-dg-calculer-h-carre-override>`
[void Domaine_DG::calculer_h_carre() override](#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.

Reimplements:

References
How to cite in this doc:
:ref:`double Domaine_DG::compute_L1_norm(const DoubleVect &val_source) const override <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](#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.

Reimplements:

References
How to cite in this doc:
:ref:`double Domaine_DG::compute_L2_norm(const DoubleVect &val_source) const override <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](#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.

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

Reimplements:

References
How to cite in this doc:
:ref:`void Domaine_DG::discretiser() override <public-void-domaine-dg-discretiser-override>`
[void Domaine_DG::discretiser() override](#public-void-domaine-dg-discretiser-override)
Domaine_DG
Domaine_DG::Domaine_DG()
How to cite in this doc:
:ref:`Domaine_DG::Domaine_DG() <public-domaine-dg-domaine-dg>`
[Domaine_DG::Domaine_DG()](#public-domaine-dg-domaine-dg)
duplique
int Domaine_DG::duplique() const override

Reimplements:

How to cite in this doc:
:ref:`int Domaine_DG::duplique() const override <public-int-domaine-dg-duplique-const-override>`
[int Domaine_DG::duplique() const override](#public-int-domaine-dg-duplique-const-override)
get_dia
const DoubleTab & Domaine_DG::get_dia() const
References
How to cite in this doc:
:ref:`const DoubleTab & Domaine_DG::get_dia() const <public-const-doubletab-ref-domaine-dg-get-dia-const>`
[const DoubleTab & Domaine_DG::get_dia() const](#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.

Reimplements:

References
How to cite in this doc:
:ref:`void Domaine_DG::get_ind_integ_points(IntTab &ind_integ_points) const override <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](#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 .

Reimplements:

How to cite in this doc:
:ref:`const Type_info * Domaine_DG::get_info() const override <public-const-type-info-ptr-domaine-dg-get-info-const-override>`
[const Type_info * Domaine_DG::get_info() const override](#public-const-type-info-ptr-domaine-dg-get-info-const-override)
get_invdia
const DoubleTab & Domaine_DG::get_invdia() const
References
How to cite in this doc:
:ref:`const DoubleTab & Domaine_DG::get_invdia() const <public-const-doubletab-ref-domaine-dg-get-invdia-const>`
[const DoubleTab & Domaine_DG::get_invdia() const](#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.

Reimplements:

References
How to cite in this doc:
:ref:`void Domaine_DG::get_nb_integ_points(IntTab &nb_integ_points) const override <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](#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
References
How to cite in this doc:
:ref:`const IntTab & Domaine_DG::get_nfaces_elem() const <public-const-inttab-ref-domaine-dg-get-nfaces-elem-const>`
[const IntTab & Domaine_DG::get_nfaces_elem() const](#public-const-inttab-ref-domaine-dg-get-nfaces-elem-const)
get_per
const DoubleTab & Domaine_DG::get_per() const
References
How to cite in this doc:
:ref:`const DoubleTab & Domaine_DG::get_per() const <public-const-doubletab-ref-domaine-dg-get-per-const>`
[const DoubleTab & Domaine_DG::get_per() const](#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.

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

Reimplements:

References
How to cite in this doc:
:ref:`void Domaine_DG::get_position(DoubleTab &positions) const override <public-void-domaine-dg-get-position-doubletab-ref-positions-const-override>`
[void Domaine_DG::get_position(DoubleTab &positions) const override](#public-void-domaine-dg-get-position-doubletab-ref-positions-const-override)
get_quadrature
const Quadrature_base & Domaine_DG::get_quadrature() const
References
Referenced By
How to cite in this doc:
:ref:`const Quadrature_base & Domaine_DG::get_quadrature() const <public-const-quadrature-base-ref-domaine-dg-get-quadrature-const>`
[const Quadrature_base & Domaine_DG::get_quadrature() const](#public-const-quadrature-base-ref-domaine-dg-get-quadrature-const)
get_quadrature
const Quadrature_base & Domaine_DG::get_quadrature(int order) const
References
Referenced By
How to cite in this doc:
:ref:`const Quadrature_base & Domaine_DG::get_quadrature(int order) const <public-const-quadrature-base-ref-domaine-dg-get-quadrature-int-order-const>`
[const Quadrature_base & Domaine_DG::get_quadrature(int order) const](#public-const-quadrature-base-ref-domaine-dg-get-quadrature-int-order-const)
get_rho
const DoubleTab & Domaine_DG::get_rho() const
References
How to cite in this doc:
:ref:`const DoubleTab & Domaine_DG::get_rho() const <public-const-doubletab-ref-domaine-dg-get-rho-const>`
[const DoubleTab & Domaine_DG::get_rho() const](#public-const-doubletab-ref-domaine-dg-get-rho-const)
get_sig
const DoubleTab & Domaine_DG::get_sig() const
References
How to cite in this doc:
:ref:`const DoubleTab & Domaine_DG::get_sig() const <public-const-doubletab-ref-domaine-dg-get-sig-const>`
[const DoubleTab & Domaine_DG::get_sig() const](#public-const-doubletab-ref-domaine-dg-get-sig-const)
get_stencil_sorted
const IntTab & Domaine_DG::get_stencil_sorted() const
References
How to cite in this doc:
:ref:`const IntTab & Domaine_DG::get_stencil_sorted() const <public-const-inttab-ref-domaine-dg-get-stencil-sorted-const>`
[const IntTab & Domaine_DG::get_stencil_sorted() const](#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
References
How to cite in this doc:
:ref:`const TRUST_Deriv<Elem_poly_base> Domaine_DG::get_type_elem() const <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](#public-const-trust-deriv-elem-poly-base-domaine-dg-get-type-elem-const)
gram_schmidt
const bool & Domaine_DG::gram_schmidt() const
References
How to cite in this doc:
:ref:`const bool & Domaine_DG::gram_schmidt() const <public-const-bool-ref-domaine-dg-gram-schmidt-const>`
[const bool & Domaine_DG::gram_schmidt() const](#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.

Reimplements:

How to cite in this doc:
:ref:`void Domaine_DG::init_equiv() const override <public-void-domaine-dg-init-equiv-const-override>`
[void Domaine_DG::init_equiv() const override](#public-void-domaine-dg-init-equiv-const-override)
set_default_order
void Domaine_DG::set_default_order(int order)

Set the global default order.

References
How to cite in this doc:
:ref:`void Domaine_DG::set_default_order(int order) <public-void-domaine-dg-set-default-order-int-order>`
[void Domaine_DG::set_default_order(int order)](#public-void-domaine-dg-set-default-order-int-order)
taille_memoire
unsigned Domaine_DG::taille_memoire() const override

Reimplements:

How to cite in this doc:
:ref:`unsigned Domaine_DG::taille_memoire() const override <public-unsigned-domaine-dg-taille-memoire-const-override>`
[unsigned Domaine_DG::taille_memoire() const override](#public-unsigned-domaine-dg-taille-memoire-const-override)
~Domaine_DG
Domaine_DG::~Domaine_DG()
How to cite in this doc:
:ref:`Domaine_DG::~Domaine_DG() <public-domaine-dg-dtor-domaine-dg>`
[Domaine_DG::~Domaine_DG()](#public-domaine-dg-dtor-domaine-dg)
cree_instance
Objet_U * Domaine_DG::cree_instance()
How to cite in this doc:
:ref:`Objet_U * Domaine_DG::cree_instance() <public-static-objet-u-ptr-domaine-dg-cree-instance>`
[Objet_U * Domaine_DG::cree_instance()](#public-static-objet-u-ptr-domaine-dg-cree-instance)
info
const Type_info * Domaine_DG::info()
How to cite in this doc:
:ref:`const Type_info * Domaine_DG::info() <public-static-const-type-info-ptr-domaine-dg-info>`
[const Type_info * Domaine_DG::info()](#public-static-const-type-info-ptr-domaine-dg-info)
self_cast
const Domaine_DG & Domaine_DG::self_cast(const Objet_U &)
How to cite in this doc:
:ref:`const Domaine_DG & Domaine_DG::self_cast(const Objet_U &) <public-static-const-domaine-dg-ref-domaine-dg-self-cast-const-objet-u-ref>`
[const Domaine_DG & Domaine_DG::self_cast(const Objet_U &)](#public-static-const-domaine-dg-ref-domaine-dg-self-cast-const-objet-u-ref)
self_cast
Domaine_DG & Domaine_DG::self_cast(Objet_U &)
How to cite in this doc:
:ref:`Domaine_DG & Domaine_DG::self_cast(Objet_U &) <public-static-domaine-dg-ref-domaine-dg-self-cast-objet-u-ref>`
[Domaine_DG & Domaine_DG::self_cast(Objet_U &)](#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.

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

References
Referenced By
How to cite in this doc:
:ref:`bool Domaine_DG::build_nfaces_elem_() <protected-bool-domaine-dg-build-nfaces-elem-underscore>`
[bool Domaine_DG::build_nfaces_elem_()](#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.

References
Referenced By
How to cite in this doc:
:ref:`void Domaine_DG::compute_mesh_param() <protected-void-domaine-dg-compute-mesh-param>`
[void Domaine_DG::compute_mesh_param()](#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.

Reimplements:

References
How to cite in this doc:
:ref:`Sortie & Domaine_DG::printOn(Sortie &x) const override <protected-sortie-ref-domaine-dg-printon-sortie-ref-x-const-override>`
[Sortie & Domaine_DG::printOn(Sortie &x) const override](#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.

Reimplements:

References
How to cite in this doc:
:ref:`Entree & Domaine_DG::readOn(Entree &) override <protected-entree-ref-domaine-dg-readon-entree-ref-override>`
[Entree & Domaine_DG::readOn(Entree &) override](#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_