linDG2D::MeshInfo Class Reference
Mesh info about edges for DG FEM in 2D. More...
#include <meshInfo.hh>
Classes | |
class | S |
Scanner class for MeshInfo. More... | |
Public Types | |
typedef concepts::Scan< EdgeInfo > | Scanner |
Public Member Functions | |
const EdgeInfo & | edgeInfo (const concepts::Edge &edge) const |
Returns the edge info object built up for edge edge . More... | |
MeshInfo (concepts::Mesh2 &mesh) | |
Constructor. More... | |
Scanner * | scan () const |
scanner over EdgeInfo objects More... | |
Private Attributes | |
std::unordered_map< uint, EdgeInfo > | edgeInfos_ |
List of edge information objects. More... | |
Detailed Description
Mesh info about edges for DG FEM in 2D.
Scans a mesh for all edges and builds up EdgeInfo objects for all edges efficiently. The EdgeInfo objects can be scanned over or accessed through the Edge object itself. The MeshInfo object serves as a common base to build several DG spaces on the same mesh.
Definition at line 25 of file meshInfo.hh.
Member Typedef Documentation
◆ Scanner
Definition at line 27 of file meshInfo.hh.
Constructor & Destructor Documentation
◆ MeshInfo()
linDG2D::MeshInfo::MeshInfo | ( | concepts::Mesh2 & | mesh | ) |
Constructor.
- Parameters
-
mesh the mesh to build information up for
Member Function Documentation
◆ edgeInfo()
|
inline |
Returns the edge info object built up for edge edge
.
Definition at line 35 of file meshInfo.hh.
◆ scan()
|
inline |
scanner over EdgeInfo objects
Definition at line 33 of file meshInfo.hh.
Member Data Documentation
◆ edgeInfos_
|
private |
List of edge information objects.
Definition at line 55 of file meshInfo.hh.
The documentation for this class was generated from the following file:
- linDG2D/meshInfo.hh