GetFEM
5.4.3
|
Structure of a convex. More...
#include <bgeot_convex_structure.h>
Inherits dal::static_stored_object.
Inherited by bgeot::K_simplex_structure_, bgeot::Q2_incomplete_structure_, bgeot::cv_pr_structure_, bgeot::dummy_structure_, bgeot::polygon_structure_, bgeot::prism_incomplete_P2_structure_, bgeot::pyramid_Q2_incomplete_structure_, bgeot::pyramid_QK_structure_, bgeot::simplex_structure_, and bgeot::torus_structure.
Public Member Functions | |
short_type | nb_faces () const |
Number of faces. | |
dim_type | dim () const |
Dimension of the convex. | |
short_type | nb_points () const |
Number of vertices. | |
short_type | nb_points_of_face (short_type i) const |
Number of vertices of a face. More... | |
const convex_ind_ct & | ind_points_of_face (short_type i) const |
Give an array of the indexes of the vertices of a face. More... | |
const convex_ind_ct & | ind_common_points_of_faces (const std::vector< short_type > &ftab) const |
Give an array of the indexes of the vertices at the intersection of a set of faces. More... | |
const convex_ind_ct & | ind_dir_points () const |
Return "direct" points indexes. More... | |
const convex_structure_faces_ct & | faces_structure () const |
Give a pointer array on the structures of the faces. More... | |
ref_convex_ind_ct | ind_dir_points_of_face (short_type i) const |
Return "direct" points indexes for a given face. More... | |
bool | is_product (pconvex_structure *pprod1=0, pconvex_structure *pprod2=0) const |
Return true if the convex structure is indeed a direct product of two convex structures. More... | |
Friends | |
pconvex_structure | basic_structure (pconvex_structure cv) |
Original structure (if concerned) | |
Structure of a convex.
This class is not to be manipulated by itself. Use pconvex_structure and the functions written to produce the convex structures from classicals convexes (simplexes, polygonals ...). The reason is that there is no need for having more than one convex structure for the same type of convex.
Definition at line 72 of file bgeot_convex_structure.h.
|
inline |
Number of vertices of a face.
i | the face number. |
Definition at line 99 of file bgeot_convex_structure.h.
|
inline |
Give an array of the indexes of the vertices of a face.
The indexes are "local" to the convex.
i | the face number. |
Definition at line 105 of file bgeot_convex_structure.h.
const convex_ind_ct & bgeot::convex_structure::ind_common_points_of_faces | ( | const std::vector< short_type > & | ftab | ) | const |
Give an array of the indexes of the vertices at the intersection of a set of faces.
The indexes are "local" to the convex.
i | the face number. |
Definition at line 55 of file bgeot_convex_structure.cc.
|
inline |
Return "direct" points indexes.
These are the subset of points that can be used to build a direct vector basis. (rarely used)
Definition at line 116 of file bgeot_convex_structure.h.
|
inline |
Give a pointer array on the structures of the faces.
faces_structure()[i] is a pointer on the structure of the face i.
Definition at line 121 of file bgeot_convex_structure.h.
|
inline |
Return "direct" points indexes for a given face.
i | the face number. |
Definition at line 126 of file bgeot_convex_structure.h.
|
inline |
Return true if the convex structure is indeed a direct product of two convex structures.
pprod1 | the first sub-structure (optional) |
pprod2 | the second sub-structure (optional) |
Definition at line 139 of file bgeot_convex_structure.h.