|  | 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 createTable().
| 
 | inline | 
Definition at line 48 of file NodeAdjacencyTable.h.
References _data, MeshLib::calculateNodesConnectedByElements(), MeshLib::Mesh::getNodes(), MeshLib::Mesh::getNumberOfNodes(), and MeshLib::views::ids.
Referenced by NodeAdjacencyTable().
| 
 | inline | 
Definition at line 42 of file NodeAdjacencyTable.h.
References _data.
| 
 | inline | 
Definition at line 37 of file NodeAdjacencyTable.h.
References _data.
| 
 | inline | 
| 
 | private | 
Definition at line 66 of file NodeAdjacencyTable.h.
Referenced by createTable(), getAdjacentNodes(), getNodeDegree(), and size().