Faces_builder#

#include <Faces_builder.h>

classe outil pour construire les faces d’un domaine (utilisee uniquement pour creer les tableau des faces reelles)

How to cite this class in this doc#

:ref:`Faces\_builder <class-faces-builder>`
[Faces\_builder](#class-faces-builder)

Detailed description#

List of Public Methods#

List of Public Static Methods#

List of Private Static Methods#

List of Private Methods#

Complete Member Function Documentation#

creer_faces_reeles
void Faces_builder::creer_faces_reeles(Domaine &domaine, const Static_Int_Lists &connect_som_elem, Faces &les_faces, IntTab &elem_faces)

A partir de la description des elements du domaine et des frontieres (bords, raccords, groupe de faces et joints) :

Remplissage des structures suivantes:

References
Referenced By
How to cite in this doc:
:ref:`void Faces_builder::creer_faces_reeles(Domaine &domaine, const Static_Int_Lists &connect_som_elem, Faces &les_faces, IntTab &elem_faces) <public-void-faces-builder-creer-faces-reeles-domaine-ref-domaine-const-static-int-lists-ref-connect-som-elem-faces-ref-les-faces-inttab-ref-elem-faces>`
[void Faces_builder::creer_faces_reeles(Domaine &domaine, const Static_Int_Lists &connect_som_elem, Faces &les_faces, IntTab &elem_faces)](#public-void-faces-builder-creer-faces-reeles-domaine-ref-domaine-const-static-int-lists-ref-connect-som-elem-faces-ref-les-faces-inttab-ref-elem-faces)
Faces_builder
Faces_builder::Faces_builder()
How to cite in this doc:
:ref:`Faces_builder::Faces_builder() <public-faces-builder-faces-builder>`
[Faces_builder::Faces_builder()](#public-faces-builder-faces-builder)
reset
void Faces_builder::reset()
References
How to cite in this doc:
:ref:`void Faces_builder::reset() <public-void-faces-builder-reset>`
[void Faces_builder::reset()](#public-void-faces-builder-reset)
chercher_face_element
int Faces_builder::chercher_face_element(const IntTab_T< _SIZE_ > &elem_som, const IntTab &faces_element_ref, const SmallArrOfTID_T< _SIZE_ > &une_face, const _SIZE_ elem)
References
How to cite in this doc:
:ref:`int Faces_builder::chercher_face_element(const IntTab_T< _SIZE_ > &elem_som, const IntTab &faces_element_ref, const SmallArrOfTID_T< _SIZE_ > &une_face, const _SIZE_ elem) <public-static-int-faces-builder-chercher-face-element-const-inttab-t-size-ref-elem-som-const-inttab-ref-faces-element-ref-const-smallarroftid-t-size-ref-une-face-const-size-elem>`
[int Faces_builder::chercher_face_element(const IntTab_T< _SIZE_ > &elem_som, const IntTab &faces_element_ref, const SmallArrOfTID_T< _SIZE_ > &une_face, const _SIZE_ elem)](#public-static-int-faces-builder-chercher-face-element-const-inttab-t-size-ref-elem-som-const-inttab-ref-faces-element-ref-const-smallarroftid-t-size-ref-une-face-const-size-elem)
ajouter_une_face
int Faces_builder::ajouter_une_face(const ArrOfInt &une_face, const int elem0, const int elem1, IntTab &faces_sommets, IntTab &faces_voisins)

ajoute une face reelle dans faces_sommets et faces_voisins.

How to cite in this doc:
:ref:`int Faces_builder::ajouter_une_face(const ArrOfInt &une_face, const int elem0, const int elem1, IntTab &faces_sommets, IntTab &faces_voisins) <private-static-int-faces-builder-ajouter-une-face-const-arrofint-ref-une-face-const-int-elem0-const-int-elem1-inttab-ref-faces-sommets-inttab-ref-faces-voisins>`
[int Faces_builder::ajouter_une_face(const ArrOfInt &une_face, const int elem0, const int elem1, IntTab &faces_sommets, IntTab &faces_voisins)](#private-static-int-faces-builder-ajouter-une-face-const-arrofint-ref-une-face-const-int-elem0-const-int-elem1-inttab-ref-faces-sommets-inttab-ref-faces-voisins)
check_erreur_faces
void Faces_builder::check_erreur_faces(const char *message, const ArrOfInt &liste_faces) const

methode outil pour creer_faces_frontiere et creer_faces_internes (si liste non vide sur au moins un processeur, affiche un message et exit()).

How to cite in this doc:
:ref:`void Faces_builder::check_erreur_faces(const char *message, const ArrOfInt &liste_faces) const <private-void-faces-builder-check-erreur-faces-const-char-ptr-message-const-arrofint-ref-liste-faces-const>`
[void Faces_builder::check_erreur_faces(const char *message, const ArrOfInt &liste_faces) const](#private-void-faces-builder-check-erreur-faces-const-char-ptr-message-const-arrofint-ref-liste-faces-const)
chercher_face_element
int Faces_builder::chercher_face_element(const ArrOfInt &une_face, const int elem) const

Methode outil: on suppose que “une_face” contient les indices des sommets d’une face de l’element d’indice “elem” dans le domaine.

On cherche quel est le numero de cette face sur l’element de reference. Si les sommets ne correspondent a aucune face de l’element, on renvoie-1.

How to cite in this doc:
:ref:`int Faces_builder::chercher_face_element(const ArrOfInt &une_face, const int elem) const <private-int-faces-builder-chercher-face-element-const-arrofint-ref-une-face-const-int-elem-const>`
[int Faces_builder::chercher_face_element(const ArrOfInt &une_face, const int elem) const](#private-int-faces-builder-chercher-face-element-const-arrofint-ref-une-face-const-int-elem-const)
connectivite_som_elem
const Static_Int_Lists & Faces_builder::connectivite_som_elem() const
How to cite in this doc:
:ref:`const Static_Int_Lists & Faces_builder::connectivite_som_elem() const <private-const-static-int-lists-ref-faces-builder-connectivite-som-elem-const>`
[const Static_Int_Lists & Faces_builder::connectivite_som_elem() const](#private-const-static-int-lists-ref-faces-builder-connectivite-som-elem-const)
creer_faces_frontiere
void Faces_builder::creer_faces_frontiere(const int nb_voisins_attendus, Frontiere &frontiere, IntTab &faces_sommets, IntTab &faces_voisins, IntTab &elem_faces) const

Insere les faces de la frontiere donnee dans les trois tableaux, a la suite des faces deja presentes dans faces_sommets.

Remplissage de : frontiere.num_premiere_face Completion de : faces_sommets elem_faces faces_voisins

How to cite in this doc:
:ref:`void Faces_builder::creer_faces_frontiere(const int nb_voisins_attendus, Frontiere &frontiere, IntTab &faces_sommets, IntTab &faces_voisins, IntTab &elem_faces) const <private-void-faces-builder-creer-faces-frontiere-const-int-nb-voisins-attendus-frontiere-ref-frontiere-inttab-ref-faces-sommets-inttab-ref-faces-voisins-inttab-ref-elem-faces-const>`
[void Faces_builder::creer_faces_frontiere(const int nb_voisins_attendus, Frontiere &frontiere, IntTab &faces_sommets, IntTab &faces_voisins, IntTab &elem_faces) const](#private-void-faces-builder-creer-faces-frontiere-const-int-nb-voisins-attendus-frontiere-ref-frontiere-inttab-ref-faces-sommets-inttab-ref-faces-voisins-inttab-ref-elem-faces-const)
creer_faces_internes
void Faces_builder::creer_faces_internes(IntTab &faces_sommets, IntTab &elem_faces, IntTab &faces_voisins) const

Construction des faces interieures au domaine (faces qui ont deux voisins et qui ne sont pas des “faces_bord_internes”)

Les faces de joint ont deja ete creees.

How to cite in this doc:
:ref:`void Faces_builder::creer_faces_internes(IntTab &faces_sommets, IntTab &elem_faces, IntTab &faces_voisins) const <private-void-faces-builder-creer-faces-internes-inttab-ref-faces-sommets-inttab-ref-elem-faces-inttab-ref-faces-voisins-const>`
[void Faces_builder::creer_faces_internes(IntTab &faces_sommets, IntTab &elem_faces, IntTab &faces_voisins) const](#private-void-faces-builder-creer-faces-internes-inttab-ref-faces-sommets-inttab-ref-elem-faces-inttab-ref-faces-voisins-const)
faces_element_reference
const IntTab & Faces_builder::faces_element_reference(int elem) const
How to cite in this doc:
:ref:`const IntTab & Faces_builder::faces_element_reference(int elem) const <private-const-inttab-ref-faces-builder-faces-element-reference-int-elem-const>`
[const IntTab & Faces_builder::faces_element_reference(int elem) const](#private-const-inttab-ref-faces-builder-faces-element-reference-int-elem-const)
identification_groupe_faces
void Faces_builder::identification_groupe_faces(Groupe_Faces &groupe_int, const IntTab &elem_faces) const

Identification des groupes de faces specifiees dans le domaine.

Remplissage du tableau indices_faces d’un groupes de faces specifique

How to cite in this doc:
:ref:`void Faces_builder::identification_groupe_faces(Groupe_Faces &groupe_int, const IntTab &elem_faces) const <private-void-faces-builder-identification-groupe-faces-groupe-faces-ref-groupe-int-const-inttab-ref-elem-faces-const>`
[void Faces_builder::identification_groupe_faces(Groupe_Faces &groupe_int, const IntTab &elem_faces) const](#private-void-faces-builder-identification-groupe-faces-groupe-faces-ref-groupe-int-const-inttab-ref-elem-faces-const)
les_elements
const IntTab & Faces_builder::les_elements() const
How to cite in this doc:
:ref:`const IntTab & Faces_builder::les_elements() const <private-const-inttab-ref-faces-builder-les-elements-const>`
[const IntTab & Faces_builder::les_elements() const](#private-const-inttab-ref-faces-builder-les-elements-const)

Attributes Documentation#

connectivite_som_elem_ptr_ (private)
const Static_Int_Lists* Faces_builder::connectivite_som_elem_ptr_
face_elem_ (private)
TRUST_Ref<IntTab *> Faces_builder::face_elem_
faces_element_reference_old_ (private)
IntTab Faces_builder::faces_element_reference_old_

des faces de l’element de reference (voir elem_geom_base::get_tab_faces_sommets_locaux)

faces_sommets_ (private)
TRUST_Ref<IntTab *> Faces_builder::faces_sommets_
is_polyedre_ (private)
int Faces_builder::is_polyedre_
les_elements_ptr_ (private)
const IntTab* Faces_builder::les_elements_ptr_
ref_domaine_ (private)
TRUST_Ref<Domaine *> Faces_builder::ref_domaine_