MeshAssembly Class Reference
Last update: 16.07.2025describes a finite element mesh More...
Public Types | |
| typedef std::map< string_pair_type, groups::ElementSet > | map_elementset_type |
| a map which associates a string pair ident to an element set. The ident of each set is then: first string: part ident (if empty, it will be a global set), element ident. | |
| typedef std::map< string_pair_type, groups::NodeSet > | map_nodeset_type |
| a map which associates a string pair ident to a node set The ident of each set is then: first string: part ident (if empty, it will be a global set), element ident. | |
| typedef std::map< string, uint > | map_stringindex_type |
| a map which associates integer numbers (often indices) to unique string idents (keys) | |
| enum | mesh_type { MESH_FEM3D, MESH_RAY, MESH_PIXEL, MESH_VOXEL } |
| an enum that collects several mesh types More... | |
| typedef std::vector< boost::shared_ptr< MeshPart > > | meshpart_container_type |
| a vector of managed MeshPart pointers | |
| typedef boost::function< void(boost::shared_ptr< MeshPart > part) > | part_callback_type |
| a callback function being invoked when deleting a MeshPart | |
| typedef common::IteratorWrapper< meshpart_container_type > | part_iterator |
| a simple iterator for iterating through the part container | |
| typedef common::ReverseIteratorWrapper< meshpart_container_type > | reverse_part_iterator |
| a simple iterator for iterating through the part container | |
| typedef std::map< string, boost::shared_ptr< Section > > | section_container_type |
| a map which associates a string ident to managed pointers of Section objects. | |
| typedef common::IteratorWrapper< section_container_type > | section_iterator |
| a simple iterator for iterating through the section container | |
| typedef std::pair< string, string > | string_pair_type |
| a pair of strings | |
| typedef number | uint |
| number type | |
| typedef unsigned short | ushort |
| unsigned short type | |
Public Member Functions | |
| element::ETManager | element_types () |
| returns m_element_types by reference More... | |
| groups::ElementSet | elementSet (string_pair_type theident) |
| reference getter for the specified element set More... | |
| map_elementset_type | elementSets () const |
| reference getter for m_elementSets More... | |
| Eigen::Vector3i | gridDimension () |
| groups::NodeSet | nodeSet (string_pair_type theident) |
| reference getter for the specified node set More... | |
| map_nodeset_type | nodeSets () const |
| reference getter for m_nodeSets More... | |
| size_t | numParts () const |
| MeshPart | part (uint theindex) |
| getter for a specific part More... | |
| MeshPart | part (string theident) |
| getter for a specific part More... | |
| Section | section (string theident) |
| reference brief getter for a specific section More... | |
| SectionTypeManager | section_types () |
| returns m_section_types by reference More... | |
| mesh_type | type () |
| returns the mesh type More... | |
Detailed Description
describes a finite element mesh
A finite element mesh contains all nodes, elements (and faces/edges) which may be associated to individual parts. Parts are individual scopes, for example multiple points may have the same index, but belong to different parts.
Member Enumeration Documentation
◆ mesh_type
| enum mesh_type |
an enum that collects several mesh types
Member Function Documentation
◆ element_types()
| element::ETManager element_types | ( | ) |
returns m_element_types by reference
- Returns
- a reference to m_element_types
◆ elementSet()
| groups::ElementSet elementSet | ( | string_pair_type | theident | ) |
reference getter for the specified element set
- Parameters
-
theident ident of an existing element set
- Returns
- a reference to the element set
◆ elementSets()
| map_elementset_type elementSets | ( | ) | const |
reference getter for m_elementSets
- Returns
- a reference to m_elementSets
◆ gridDimension()
| Eigen::Vector3i gridDimension | ( | ) |
- Returns
- a reference to
- See also
- m_grid_dimension
◆ nodeSet()
| groups::NodeSet nodeSet | ( | string_pair_type | theident | ) |
reference getter for the specified node set
- Parameters
-
theident ident of an existing node set
- Returns
- a reference to the node set
◆ nodeSets()
| map_nodeset_type nodeSets | ( | ) | const |
reference getter for m_nodeSets
- Returns
- a reference to m_nodeSets
◆ numParts()
| size_t numParts | ( | ) | const |
- Returns
- the number of allocated parts
◆ part() [1/2]
| MeshPart part | ( | uint | theindex | ) |
getter for a specific part
- Parameters
-
theindex the index of an existing part
- Returns
- a reference to the part with given index
◆ part() [2/2]
| MeshPart part | ( | string | theident | ) |
getter for a specific part
- Parameters
-
theident the ident of an existing part
- Returns
- a reference to the part with given ident
◆ section()
| Section section | ( | string | theident | ) |
reference brief getter for a specific section
- Parameters
-
theident ident of an existing section
- Returns
- a reference to the section
◆ section_types()
| SectionTypeManager section_types | ( | ) |
returns m_section_types by reference
- Returns
- a reference to m_section_types
◆ type()
| mesh_type type | ( | ) |
returns the mesh type
- Returns
- a reference to
- See also
- m_type