16#ifndef Rectangle_included
17#define Rectangle_included
20#include <Elem_geom_base.h>
29template <
typename _SIZE_>
50 inline int nb_som()
const override {
return 4; }
80template <
typename _SIZE_>
105template <
typename _SIZE_>
121template <
typename _SIZE_>
137template <
typename _SIZE_>
153template <
typename _SIZE_>
169template <
typename _SIZE_>
182template <
typename _SIZE_>
197template <
typename _SIZE_>
201 return Type_Face::segment_2D;
class Domaine_32_64 A Domain is a mesh composed of a set of geometric elements of the same type.
Class Elem_geom_base This class is the base class for the definition of elements.
class Nom: a character string for naming TRUST objects.
Rectangle class — represents the rectangular geometric element.
DoubleVect_T< _SIZE_ > DoubleVect_t
int face_sommet0(int i) const
Returns the index of the i-th vertex of face 0.
int face_sommet1(int i) const
Returns the index of the i-th vertex of face 1.
int contient(const SmallArrOfTID_t &soms, int_t elem) const override
Returns 1 if the vertices specified by parameter "pos" are the vertices of element "element" of the d...
int face_sommet2(int i) const
Returns the index of the i-th vertex of face 2.
void calculer_normales(const IntTab_t &faces_sommets, DoubleTab_t &face_normales) const override
Computes the normals to the faces of the elements of the associated domain.
int face_sommet3(int i) const
Returns the index of the i-th vertex of face 3.
int face_sommet(int i, int j) const override
Returns the index of the j-th vertex of the i-th face of the element.
const Nom & nom_lml() const override
Returns the LML name of a rectangle = "VOXEL8".
int nb_som_face(int=0) const override
Returns the number of vertices of faces of the specified type.
void calculer_volumes(DoubleVect_t &vols) const override
Computes the volumes of the elements of the associated domain.
int get_tab_faces_sommets_locaux(IntTab &faces_som_local) const override
voir ElemGeomBase::get_tab_faces_sommets_locaux
int reordonner_elem()
Reorders and verifies that the elements are indeed rectangles.
int contient(const ArrOfDouble &pos, int_t elem) const override
Returns 1 if element ielem of the domain associated with the geometric element contains the point.
int nb_faces(int=0) const override
Returns the number of faces of the specified type that the geometric element has.
SmallArrOfTID_T< _SIZE_ > SmallArrOfTID_t
int nb_som() const override
Nb of vertices for the element.
Domaine_32_64< _SIZE_ > Domaine_t
DoubleTab_T< _SIZE_ > DoubleTab_t
void reordonner() override
Reorders the vertices of the rectangle.
bool est_structure() const override
IntTab_T< _SIZE_ > IntTab_t
Type_Face type_face(int=0) const override
Returns the i-th face type.