Computes element-to-element and node-to-node connectivity for finite element meshes. More...
#include <cl_Mesh_ConnectivityCalculator.hpp>
Computes element-to-element and node-to-node connectivity for finite element meshes.
This class computes entity-to-entity connectivities (node/edge/face/facet/element/ control point, plus thin-shell element neighbours) on the mesh it is given, in serial on the calling rank.
Key features:
| belfem::mesh::ConnectivityCalculator::ConnectivityCalculator | ( | Mesh * | aMesh | ) |
Constructor.
| aMesh | Pointer to the mesh to compute connectivity for |
| belfem::mesh::ConnectivityCalculator::~ConnectivityCalculator | ( | ) |
Destructor (nothing to release; all containers are owned by the mesh).
| void belfem::mesh::ConnectivityCalculator::connect_control_points_to_control_points | ( | ) |
| void belfem::mesh::ConnectivityCalculator::connect_control_points_to_elements | ( | ) |
| void belfem::mesh::ConnectivityCalculator::connect_edges_to_edges | ( | ) |
| void belfem::mesh::ConnectivityCalculator::connect_edges_to_elements | ( | Cell< Element * > & | aElements | ) |
| void belfem::mesh::ConnectivityCalculator::connect_edges_to_ghost_facets | ( | ) |
| void belfem::mesh::ConnectivityCalculator::connect_elements_to_elements | ( | ) |
Compute element-to-element connectivity.
For each element, finds all other elements that share a facet with it (an edge in 2D, a face in 3D). When thin shells exist, the pass is repeated on the thin-shell blocks alone so that layer elements are linked to their in-layer neighbours.
| void belfem::mesh::ConnectivityCalculator::connect_faces_to_edges_and_edges_to_faces | ( | ) |
| void belfem::mesh::ConnectivityCalculator::connect_faces_to_faces | ( | ) |
| void belfem::mesh::ConnectivityCalculator::connect_faces_to_ghost_facets | ( | ) |
| void belfem::mesh::ConnectivityCalculator::connect_facets_to_elements | ( | ) |
| void belfem::mesh::ConnectivityCalculator::connect_facets_to_facets | ( | ) |
| void belfem::mesh::ConnectivityCalculator::connect_nodes_to_edges | ( | ) |
| void belfem::mesh::ConnectivityCalculator::connect_nodes_to_elements | ( | ) |
Compute node-to-element connectivity.
| void belfem::mesh::ConnectivityCalculator::connect_nodes_to_facets | ( | ) |
| void belfem::mesh::ConnectivityCalculator::connect_nodes_to_nodes | ( | ) |
Compute node-to-node connectivity.
For each node, finds all other nodes that share at least one element with it (all elements attached to the node are considered).
| void belfem::mesh::ConnectivityCalculator::connect_thin_shells_to_thin_shells | ( | ) |
| void belfem::mesh::ConnectivityCalculator::save_connectivity_data | ( | const string & | aPath | ) |
stores the computed connectivities for debugging
| aPath | Path of the HDF5 file where the data is stored |