GetFEM
5.4.2
|
Classes | |
class | bgeot::mesh_structure |
Mesh structure definition. More... | |
class | getfem::mesh |
Describe a mesh (collection of convexes (elements) and points). More... | |
Functions | |
void APIDECL | getfem::extrude (const mesh &in, mesh &out, size_type nb_layers, short_type degree=short_type(1)) |
build a N+1 dimensions mesh from a N-dimensions mesh by extrusion. | |
scalar_type APIDECL | getfem::convex_area_estimate (bgeot::pgeometric_trans pgt, const base_matrix &pts, pintegration_method pim) |
rough estimate of the convex area. More... | |
scalar_type APIDECL | getfem::convex_quality_estimate (bgeot::pgeometric_trans pgt, const base_matrix &pts) |
rough estimate of the maximum value of the condition number of the jacobian of the geometric transformation | |
scalar_type APIDECL | getfem::convex_radius_estimate (bgeot::pgeometric_trans pgt, const base_matrix &pts) |
rough estimate of the radius of the convex using the largest eigenvalue of the jacobian of the geometric transformation | |
void APIDECL | getfem::outer_faces_of_mesh (const mesh &m, const dal::bit_vector &cvlst, convex_face_ct &flist) |
returns a list of "exterior" faces of a mesh (i.e. More... | |
mesh_region APIDECL | getfem::inner_faces_of_mesh (const mesh &m, const mesh_region &mr=mesh_region::all_convexes()) |
Select all the faces sharing at least two element of the given mesh region. More... | |
mesh_region APIDECL | getfem::all_faces_of_mesh (const mesh &m, const mesh_region &mr=mesh_region::all_convexes()) |
Select all the faces of the given mesh region. More... | |
mesh_region APIDECL | getfem::select_faces_of_normal (const mesh &m, const mesh_region &mr, const base_small_vector &V, scalar_type angle) |
Select in the region mr the faces of the mesh m with their unit outward vector having a maximal angle "angle" with the vector V. | |
mesh_region APIDECL | getfem::select_faces_in_box (const mesh &m, const mesh_region &mr, const base_node &pt1, const base_node &pt2) |
Select in the region mr the faces of the mesh m lying entirely in the box delimated by pt1 and pt2. | |
mesh_region APIDECL | getfem::select_faces_in_ball (const mesh &m, const mesh_region &mr, const base_node ¢er, scalar_type radius) |
Select in the region mr the faces of the mesh m lying entirely in the ball delimated by pt1 and radius. | |
template<class ITER > | |
size_type | getfem::mesh::add_convex_by_points (bgeot::pgeometric_trans pgt, ITER ipts, const scalar_type tol=scalar_type(0)) |
Add a convex to the mesh, given a geometric transformation and a list of point coordinates. More... | |
template<class ITER > | |
size_type | getfem::mesh::add_simplex_by_points (dim_type dim, ITER ipts) |
Add a simplex to the mesh, given its dimension and point coordinates. More... | |
template<class ITER > | |
size_type | getfem::mesh::add_parallelepiped (dim_type di, const ITER &ipts) |
Add a parallelepiped to the mesh. More... | |
template<class ITER > | |
size_type | getfem::mesh::add_parallelepiped_by_points (dim_type di, const ITER &ps) |
Add a parallelepiped to the mesh. More... | |
template<class ITER > | |
size_type | getfem::mesh::add_prism (dim_type di, const ITER &ipts) |
Add a prism to the mesh. More... | |
template<class ITER > | |
size_type | getfem::mesh::add_prism_by_points (dim_type di, const ITER &ps) |
Add a prism to the mesh. More... | |
scalar_type getfem::convex_area_estimate | ( | bgeot::pgeometric_trans | pgt, |
const base_matrix & | pts, | ||
pintegration_method | pim | ||
) |
rough estimate of the convex area.
pgt | the geometric transformation. |
pts | the convex nodes. |
pai | the approximate integration used for the computation of the convex area. |
Definition at line 745 of file getfem_mesh.cc.
void getfem::outer_faces_of_mesh | ( | const mesh & | m, |
const dal::bit_vector & | cvlst, | ||
convex_face_ct & | flist | ||
) |
returns a list of "exterior" faces of a mesh (i.e.
faces which are not shared by two convexes)
Definition at line 822 of file getfem_mesh.cc.
mesh_region getfem::inner_faces_of_mesh | ( | const mesh & | m, |
const mesh_region & | mr = mesh_region::all_convexes() |
||
) |
Select all the faces sharing at least two element of the given mesh region.
Each face is represented only once and is arbitrarily chosen between the two neighbor elements.
Definition at line 877 of file getfem_mesh.cc.
mesh_region getfem::all_faces_of_mesh | ( | const mesh & | m, |
const mesh_region & | mr = mesh_region::all_convexes() |
||
) |
Select all the faces of the given mesh region.
The faces are represented* twice if they are shared by two neighbor elements.
Definition at line 858 of file getfem_mesh.cc.
size_type getfem::mesh::add_convex_by_points | ( | bgeot::pgeometric_trans | pgt, |
ITER | ipts, | ||
const scalar_type | tol = scalar_type(0) |
||
) |
Add a convex to the mesh, given a geometric transformation and a list of point coordinates.
As a side-effect, the points are also added to the mesh (if they were not already in the mesh).
pgt | the geometric transformation of the convex. |
ipts | an iterator on a set of getfem::base_node. |
Definition at line 558 of file getfem_mesh.h.
size_type getfem::mesh::add_simplex_by_points | ( | dim_type | dim, |
ITER | ipts | ||
) |
Add a simplex to the mesh, given its dimension and point coordinates.
Definition at line 568 of file getfem_mesh.h.
size_type getfem::mesh::add_parallelepiped | ( | dim_type | di, |
const ITER & | ipts | ||
) |
Add a parallelepiped to the mesh.
di | dimension of the parallelepiped |
ipts | iterator on the list of point id. |
Definition at line 572 of file getfem_mesh.h.
size_type getfem::mesh::add_parallelepiped_by_points | ( | dim_type | di, |
const ITER & | ps | ||
) |
Add a parallelepiped to the mesh.
di | dimension of the parallelepiped |
ps | iterator on the list of point coordinates. |
Definition at line 577 of file getfem_mesh.h.
size_type getfem::mesh::add_prism | ( | dim_type | di, |
const ITER & | ipts | ||
) |
Add a prism to the mesh.
di | dimension of the prism |
ipts | iterator on the list of point id. |
Definition at line 581 of file getfem_mesh.h.
size_type getfem::mesh::add_prism_by_points | ( | dim_type | di, |
const ITER & | ps | ||
) |
Add a prism to the mesh.
di | dimension of the prism |
ps | iterator on the list of point coordinates. |
Definition at line 586 of file getfem_mesh.h.