OGS
|
Representation of topological node adjacency.
The topological sparsity pattern in the context of FEM is defined in terms of supports of the nodal functions. Especially, two nodes i and j are called adjacent if and only if there is a mesh element E including nodes i and j. This information is represented by the NodeAdjacenceTable.
The topological adjacency of nodes is created by MeshLib::calculateNodesConnectedByElements().
Definition at line 30 of file NodeAdjacencyTable.h.
#include <NodeAdjacencyTable.h>
Public Member Functions | |
NodeAdjacencyTable (Mesh const &mesh) | |
std::size_t | size () const |
std::size_t | getNodeDegree (std::size_t const node_id) const |
std::vector< std::size_t > const & | getAdjacentNodes (std::size_t const node_id) const |
void | createTable (Mesh const &mesh) |
Private Attributes | |
std::vector< std::vector< std::size_t > > | _data |
|
inlineexplicit |
Definition at line 33 of file NodeAdjacencyTable.h.
References _data, createTable(), and MeshLib::Mesh::getNodes().
|
inline |
Definition at line 53 of file NodeAdjacencyTable.h.
References _data, MeshLib::calculateNodesConnectedByElements(), and MeshLib::Mesh::getNodes().
Referenced by NodeAdjacencyTable().
|
inline |
Definition at line 47 of file NodeAdjacencyTable.h.
References _data.
|
inline |
Definition at line 42 of file NodeAdjacencyTable.h.
References _data.
|
inline |
|
private |
Definition at line 76 of file NodeAdjacencyTable.h.
Referenced by NodeAdjacencyTable(), createTable(), getAdjacentNodes(), getNodeDegree(), and size().