23#include <Domaine_forward.h>
48template <
typename _SIZE_>
65 inline Type_Face
type_face()
const {
return type_face_; }
115 Type_Face type_face_ = Type_Face::vide_0D;
129template <
typename _SIZE_>
141template <
typename _SIZE_>
148template <
typename _SIZE_>
154 return sommets.dimension_int(1);
164template <
typename _SIZE_>
167 return faces_voisins(face,i);
176template <
typename _SIZE_>
179 return faces_voisins(face,i);
class Domaine_32_64 A Domain is a mesh composed of a set of geometric elements of the same type.
Class Faces Faces describes a set of faces by their type (point, segment, triangle or quadrangle),...
int_t nb_faces_tot() const
Returns the total number of Faces i (real and virtual) on the current processor.
SmallArrOfTID_T< int > SmallArrOfTID_t
void typer(const Motcle &)
Sets the type of the faces.
void associer_domaine(const Domaine_t &z)
void initialiser_sommets_faces_joint(int_t nb_faces_joints)
Initializes the vertices of joint faces to -1.
IntTab_t & voisins()
Returns the array of neighbors (of the faces).
void calculer_surfaces(DoubleVect_t &surf) const
Computes the surface area of the faces.
int_t & sommet(int_t, int)
Returns a reference to the number of the j-th vertex of the i-th face.
DoubleVect_T< int > DoubleVect_t
Motcle & type(const Type_Face &) const
Returns the name associated with a face type.
void reordonner()
Reorders the faces.
void typer(const Type_Face &)
Sets the type of the faces.
Type_Face type(const Motcle &) const
Returns a Type_Face object representing the type with the specified name.
const Domaine_t & domaine() const
int_t & voisin(int_t, int)
Returns a reference to the number of the i-th neighbor of face.
IntVect_t & compare(const Faces_32_64 &other_fac, IntVect_t &renum)
Compares the Faces_32_64 object passed as parameter with this Faces_32_64 object.
void completer(int_t face, int_t num_elem)
Completes the specified face: updates its neighbors.
Entree & lit(Entree &)
Reads the specifications of a face object from an input stream (binary format).
void calculer_centres_gravite(DoubleTab_t &xv) const
Computes the centers of gravity of each face.
int_t dimensionner(int_t)
(Re-)sizes the faces. The neighbors are resized accordingly.
Sortie & ecrit(Sortie &) const
Writes the faces to an output stream (binary format).
Domaine_32_64< int > Domaine_t
int_t voisin(int_t, int) const
Returns the number of the i-th neighbor of face.
IntVect_T< int > IntVect_t
void initialiser_faces_joint(int_t nb_faces_joints)
Initializes the neighbors of joint faces to -1.
DomaineAxi1d_32_64< int > DomaineAxi1d_t
const IntTab_t & les_sommets() const
Returns the array of vertices of all faces.
void ajouter(const IntTab_t &)
Adds faces.
int_t sommet(int_t, int) const
Returns the number of the j-th vertex of the i-th face.
DoubleTab_T< int > DoubleTab_t
Type_Face type_face() const
static void Calculer_centres_gravite(DoubleTab_t &xv, Type_Face type_face_, const DoubleTab_t &coord, const IntTab_t &sommet)
int nb_som_faces() const
Returns the number of vertices per face.
const IntTab_t & voisins() const
A character string (Nom) in uppercase.
Objet_U()
Default constructor: assigns a unique identifier to the object (object_id_) and registers the object ...