19Implemente_instanciable_32_64(
Joint_32_64,
"Joint_32_64",Frontiere);
34template <
typename _SIZE_>
37 Frontiere_t::printOn(s) ;
38 s <<
"format_joint_250507" << finl;
39 s << PEvoisin_ << finl;
40 s << epaisseur_ << finl;
41 s << joint_item(JOINT_ITEM::SOMMET).items_communs() << finl;
42 s << joint_item(JOINT_ITEM::ELEMENT).items_distants() << finl;
49template <
typename _SIZE_>
52 Frontiere_t::readOn(s) ;
55 if (format!=
"format_joint_250507")
59 Cerr <<
"The format of .Zones is not recognized because probably too old." << finl;
60 Cerr <<
"Split your mesh with an executable which is more recent" << finl;
61 Cerr <<
"than the version 1.5.2 build 240507." << finl;
67 s >> set_joint_item(JOINT_ITEM::SOMMET).set_items_communs();
68 s >> set_joint_item(JOINT_ITEM::ELEMENT).set_items_distants();
75template <
typename _SIZE_>
78 this->
faces().dimensionner(i);
79 this->
faces().voisins() = -1;
80 this->
faces().les_sommets() = -1;
88template <
typename _SIZE_>
91 this->
faces().ajouter(sommets);
92 this->
faces().voisins() = -1;
103template <
typename _SIZE_>
108 case JOINT_ITEM::SOMMET:
109 return joint_sommets_;
110 case JOINT_ITEM::ELEMENT:
111 return joint_elements_;
112 case JOINT_ITEM::FACE:
114 case JOINT_ITEM::ARETE:
115 return joint_aretes_;
116 case JOINT_ITEM::FACE_FRONT:
117 return joint_faces_front_;
119 Cerr <<
"Error in Joint_32_64<_SIZE_>::set_joint_item, invalid item number : " << (int)item << finl;
122 return joint_sommets_;
130template <
typename _SIZE_>
135 case JOINT_ITEM::SOMMET:
136 return joint_sommets_;
137 case JOINT_ITEM::ELEMENT:
138 return joint_elements_;
139 case JOINT_ITEM::FACE:
141 case JOINT_ITEM::ARETE:
142 return joint_aretes_;
143 case JOINT_ITEM::FACE_FRONT:
144 return joint_faces_front_;
146 Cerr <<
"Error in Joint_32_64<_SIZE_>::set_joint_item, invalid item number : " << (int)item << finl;
149 return joint_sommets_;
Class defining operators and methods for all reading operation in an input flow (file,...
const Faces_t & faces() const
The Joint class is a Frontiere that contains the joint faces and vertices with the neighboring domain...
const Joint_Items_t & joint_item(JOINT_ITEM type) const
Returns the joint information for the requested type (read-only).
Joint_Items_32_64< _SIZE_ > Joint_Items_t
Joint_Items_t & set_joint_item(JOINT_ITEM type)
Returns the joint information for a given geometric item type, for filling the structures.
IntTab_T< _SIZE_ > IntTab_t
void ajouter_faces(const IntTab_t &)
Adds faces to the boundary (to the joint). See Frontiere::ajouter_faces(const IntTab&).
class Nom: a character string for naming TRUST objects.
virtual Entree & readOn(Entree &)
Reads an Objet_U from an input stream. Virtual method to override.
virtual Sortie & printOn(Sortie &) const
Writes the object to an output stream. Virtual method to override.
static void exit(int exit_code=-1)
Exit routine for TRUST within a Kokkos region.
static int je_suis_maitre()
Returns 1 if on the master processor of the current group (i.e. me() == 0), 0 otherwise.
Base class for output streams.