16#ifndef Hexaedre_included
17#define Hexaedre_included
19#include <Elem_geom_base.h>
27template <
typename _SIZE_>
49 inline int nb_som()
const override {
return 8; }
69template<
typename _SIZE_>
82template<
typename _SIZE_>
95template<
typename _SIZE_>
113template<
typename _SIZE_>
131template<
typename _SIZE_>
149template<
typename _SIZE_>
167template<
typename _SIZE_>
185template<
typename _SIZE_>
205template<
typename _SIZE_>
209 return Type_Face::quadrangle_3D;
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 Hexaedre: represents a geometric element with 6 faces, 8 vertices, and.
int nb_som_face(int=0) const override
Returns the number of vertices of the faces of the specified type.
int reordonner_elem()
Reorders the vertices of the hexahedron element.
int nb_som() const override
Nb of vertices for the element.
void calculer_normales(const IntTab_t &faces_sommets, DoubleTab_t &face_normales) const override
Computes the face normals of the elements of the associated domain.
int contient(const ArrOfDouble &pos, int_t elem) const override
Returns 1 if element "element" of the domain associated with this geometric element contains the poin...
DoubleVect_T< _SIZE_ > DoubleVect_t
Type_Face type_face(int=0) const override
Returns the i-th face type.
int face_sommet1(int i) const
Returns the index of the i-th vertex of face 1.
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.
int face_sommet2(int i) const
Returns the index of the i-th vertex of face 2.
int face_sommet0(int i) const
Returns the index of the i-th vertex of face 0.
void calculer_volumes(DoubleVect_t &vols) const override
Computes the volumes of the elements of the associated domain.
int contient(const SmallArrOfTID_t &soms, int_t elem) const override
Returns 1 if the vertices specified by parameter "som" are the vertices of element "element".
int face_sommet4(int i) const
Returns the index of the i-th vertex of face 4.
int nb_faces(int=0) const override
Returns the number of faces of the specified type that the geometric element has.
int get_tab_faces_sommets_locaux(IntTab &faces_som_local) const override
See ElemGeomBase::get_tab_faces_sommets_locaux.
Domaine_32_64< _SIZE_ > Domaine_t
const Nom & nom_lml() const override
Returns the LML name of a hexahedron = "VOXEL8".
int face_sommet5(int i) const
Returns the index of the i-th vertex of face 5.
void reordonner() override
Reorders the vertices of the hexahedron.
SmallArrOfTID_T< _SIZE_ > SmallArrOfTID_t
DoubleTab_T< _SIZE_ > DoubleTab_t
bool est_structure() const override
int face_sommet3(int i) const
Returns the index of the i-th vertex of face 3.
IntTab_T< _SIZE_ > IntTab_t
class Nom: a character string for naming TRUST objects.