16#include <RegroupeBord.h>
28template <
typename _SIZE_>
34template <
typename _SIZE_>
40template <
typename _SIZE_>
55 Cerr<<
"we expected { and not "<<mot<<finl;
71 for (
int b=0; b<nbfr; b++)
76 for (
int i=0; i<nlistbord.size(); i++)
78 if (!nlistbord_dom.contient(nlistbord[i]))
80 Cerr <<
"Problem in the RegroupeBord instruction " << finl;
81 Cerr <<
"The boundary named " << nlistbord[i] <<
" is not a boundary of the domain " << dom.
le_nom() << finl;
91template <
typename _SIZE_>
95 for (
int b=0; b<nbfr; b++)
107 Cerr<<
"Boundary "<<nom_bord<<
" has been collected"<<finl;
114template <
typename _SIZE_>
121 for (
int b=0; b<nbfr; b++)
127 if (prem_b==-1) prem_b=b;
141 nbfacestot = nbfacestot0;
142 for (
int b=0; b<nbfr; b++)
153 for (
int_t fa=0; fa<nbface; fa++)
154 for (
int s=0; s<nbsom; s++)
155 newsommet(fa+nbfacestot,s)=sommets(fa,s);
163 for (
int b=0; b<nbfr; b++)
174 if (nombord!=bordcons)
178 if (num_b<listbord.size())
179 listbord.suppr(dom.
bord(nombord));
181 listrac.suppr(dom.
raccord(nombord));
Raccord_t & raccord(int i)
int rang_frontiere(const Nom &) const
const Frontiere_t & frontiere(int i) const
Raccords_t & faces_raccord()
void fixer_premieres_faces_frontiere()
const Nom & le_nom() const override
Donne le nom de l'Objet_U Methode a surcharger : renvoie "neant" dans cette implementation.
Class defining operators and methods for all reading operation in an input flow (file,...
int_t dimensionner(int_t)
(Re-)dimensionne les faces On redimensionne les voisins en consequence.
const IntTab_t & les_sommets() const
Renvoie le tableau des sommets de toutes les faces.
int nb_som_faces() const
Renvoie le nombre de sommet par face.
void nommer(const Nom &) override
Donne un nom a la frontiere.
const Nom & le_nom() const override
Donne le nom de l'Objet_U Methode a surcharger : renvoie "neant" dans cette implementation.
int_t nb_faces() const
Renvoie le nombre de faces de la frontiere.
const Faces_t & faces() const
void add(const Frontiere_32_64 &)
Ajoute les sommets (et faces) de la frontiere passee en parametre a l'objet (Frontiere_32_64).
classe Interprete_geometrique_base .
void associer_domaine(Nom &nom_dom)
Domaine_t & domaine(int i=0)
LIST(OBS_PTR(Domaine_t)) &domaines()
class Nom Une chaine de caractere pour nommer les objets de TRUST
bool contient(const Nom &nom) const
virtual Entree & readOn(Entree &)
Lecture d'un Objet_U sur un flot d'entree Methode a surcharger.
virtual Sortie & printOn(Sortie &) const
Ecriture de l'objet sur un flot de sortie Methode a surcharger.
static void exit(int exit_code=-1)
Routine de sortie de TRUST dans une region Kokkos.
class RegroupeBord Regroupe_bord dom titi { bord1 , bord2 }
Frontiere_32_64< _SIZE_ > Frontiere_t
void rassemble_bords(Domaine_t &dom)
Domaine_32_64< _SIZE_ > Domaine_t
Raccords_32_64< _SIZE_ > Raccords_t
Bords_32_64< _SIZE_ > Bords_t
IntTab_T< _SIZE_ > IntTab_t
Faces_32_64< _SIZE_ > Faces_t
void regroupe_bord(Domaine_t &dom, Nom nom, const LIST(Nom)&nlistbord)
Entree & interpreter_(Entree &) override
Classe de base des flux de sortie.