16#ifndef Frontiere_included
17#define Frontiere_included
30template <
typename _SIZE_>
49 inline const Nom&
le_nom()
const override {
return nom; }
72 inline const double&
get_aire()
const {
return aire_; }
73 inline void set_aire(
double& aire) { aire_ = aire; }
93 int_t num_premiere_face_ = -100;
Empty class used as a base for all the arrays.
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),...
void set_aire(double &aire)
const IntTab_t & les_sommets_des_faces() const
Returns the vertices of the boundary faces (const version).
virtual void trace_elem_distant(const DoubleTab &, DoubleTab &) const
const ArrOfInt_t & get_faces_virt() const
virtual void trace_face_distant(const DoubleTab &, DoubleTab &) const
IntVect_T< int > IntVect_t
void ajouter_faces(const IntTab_t &)
Adds one or more faces to the boundary; the face(s) are specified by an array.
virtual void trace_face_local(const DoubleVect &, DoubleVect &) const
void nommer(const Nom &) override
Gives a name to the boundary.
DoubleTab_T< int > DoubleTab_t
ArrOfInt_T< int > ArrOfInt_t
virtual void trace_face_local(const DoubleTab &, DoubleTab &) const
Domaine_32_64< int > Domaine_t
Domaine_t & domaine()
Returns the domain associated with the boundary.
const Domaine_t & domaine() const
Returns the domain associated with the boundary (const version).
void typer_faces(const Type_Face &)
Sets the type of the boundary faces.
ArrOfInt_t & get_faces_virt()
int_t face_virt(int_t i) const
int_t num_premiere_face() const
void dimensionner(int_t i)
Sizes the boundary, i.e. sets its number of faces.
void fixer_num_premiere_face(int_t i)
const Nom & le_nom() const override
Returns the name of the Objet_U. Virtual method to override: returns "neant" in this implementation.
DoubleVect_T< int > DoubleVect_t
int_t nb_faces_virt() const
virtual void trace_elem_local(const DoubleTab &, DoubleTab &) const
void typer_faces(const Motcle &)
Sets the type of the boundary faces.
int_t nb_faces() const
Returns the number of faces of the boundary.
void associer_domaine(const Domaine_t &)
Associates the boundary to the domain it belongs to.
IntTab_t & les_sommets_des_faces()
Returns the vertices of the boundary faces.
void renum(const IntVect_t &)
Renumbers the nodes (vertices) of the faces.
virtual void trace_face_distant(const DoubleVect &, DoubleVect &) const
virtual void creer_tableau_faces(Array_base &, RESIZE_OPTIONS opt=RESIZE_OPTIONS::COPY_INIT) const
Creates an array with one "row" per face of this boundary.
Faces_32_64< int > Faces_t
virtual void trace_som_distant(const DoubleTab &, DoubleTab &) const
const Faces_t & faces() const
virtual void trace_som_local(const DoubleTab &y, DoubleTab &x) const
const double & get_aire() const
void add(const Frontiere_32_64 &)
Adds the vertices (and faces) of the given boundary to this object (Frontiere_32_64).
A character string (Nom) in uppercase.
class Nom: a character string for naming TRUST objects.
Objet_U()
Default constructor: assigns a unique identifier to the object (object_id_) and registers the object ...