GetFEM  5.4.2
bgeot::convex_structure Class Reference

Structure of a convex. More...

#include <bgeot_convex_structure.h>

Inherits dal::static_stored_object.

Inherited by bgeot::cv_pr_structure_, bgeot::dummy_structure_, bgeot::K_simplex_structure_, bgeot::polygon_structure_, bgeot::prism_incomplete_P2_structure_, bgeot::pyramid_Q2_incomplete_structure_, bgeot::pyramid_QK_structure_, bgeot::Q2_incomplete_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)
 

Detailed Description

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.

Member Function Documentation

◆ nb_points_of_face()

short_type bgeot::convex_structure::nb_points_of_face ( short_type  i) const
inline

Number of vertices of a face.

Parameters
ithe face number.

Definition at line 99 of file bgeot_convex_structure.h.

◆ ind_points_of_face()

const convex_ind_ct& bgeot::convex_structure::ind_points_of_face ( short_type  i) const
inline

Give an array of the indexes of the vertices of a face.

The indexes are "local" to the convex.

Parameters
ithe face number.

Definition at line 105 of file bgeot_convex_structure.h.

◆ ind_common_points_of_faces()

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.

Parameters
ithe face number.

Definition at line 56 of file bgeot_convex_structure.cc.

◆ ind_dir_points()

const convex_ind_ct& bgeot::convex_structure::ind_dir_points ( ) const
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.

◆ faces_structure()

const convex_structure_faces_ct& bgeot::convex_structure::faces_structure ( ) const
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.

◆ ind_dir_points_of_face()

ref_convex_ind_ct bgeot::convex_structure::ind_dir_points_of_face ( short_type  i) const
inline

Return "direct" points indexes for a given face.

Parameters
ithe face number.

Definition at line 126 of file bgeot_convex_structure.h.

◆ is_product()

bool bgeot::convex_structure::is_product ( pconvex_structure pprod1 = 0,
pconvex_structure pprod2 = 0 
) const
inline

Return true if the convex structure is indeed a direct product of two convex structures.

Parameters
pprod1the first sub-structure (optional)
pprod2the second sub-structure (optional)

Definition at line 139 of file bgeot_convex_structure.h.


The documentation for this class was generated from the following files:

Rabisu Mirror Service We provide mirrors to support Open source communities. Our mirror server is located in Istanbul/Turkey region.

Please do not hesitate to contact mirror@rabisu.com for new open source mirror submissions.