hp-FEM
Adaptive hp-FEM suite for nano-optics
Loading...
Searching...
No Matches
Static Public Attributes | List of all members
hpfem::mesh::SimplexTopology< 3 > Struct Reference

Reference tetrahedron. More...

#include <simplex_topology.hpp>

Static Public Attributes

static constexpr int kDim = 3
 
static constexpr LocalIndex kNumVertices = 4
 
static constexpr LocalIndex kNumEdges = 6
 
static constexpr LocalIndex kNumFaces = 4
 
static constexpr LocalIndex kNumFacets = 4
 
static constexpr LocalIndex kVerticesPerFacet = 3
 
static constexpr std::array< std::array< LocalIndex, 2 >, 6 > kEdgeVertices
 Local vertices of local edge k, k = 0..5, lexicographic order.
 
static constexpr std::array< std::array< LocalIndex, 3 >, 4 > kFaceVertices
 Local vertices of local face i (opposite vertex i), increasing order.
 
static constexpr std::array< std::array< LocalIndex, 3 >, 4 > kFacetVertices = kFaceVertices
 Facets of a tetrahedron are its faces, with the same numbering.
 
static constexpr std::array< std::array< LocalIndex, 3 >, 4 > kFaceEdges
 Local edges of local face i = (f0,f1,f2), in the order (f0,f1), (f1,f2), (f0,f2).
 

Detailed Description

Reference tetrahedron.

Member Data Documentation

◆ kDim

constexpr int hpfem::mesh::SimplexTopology< 3 >::kDim = 3
staticconstexpr

◆ kEdgeVertices

constexpr std::array<std::array<LocalIndex, 2>, 6> hpfem::mesh::SimplexTopology< 3 >::kEdgeVertices
staticconstexpr
Initial value:
{
{{0, 1}, {0, 2}, {0, 3}, {1, 2}, {1, 3}, {2, 3}}}

Local vertices of local edge k, k = 0..5, lexicographic order.

◆ kFaceEdges

constexpr std::array<std::array<LocalIndex, 3>, 4> hpfem::mesh::SimplexTopology< 3 >::kFaceEdges
staticconstexpr
Initial value:
{
{{3, 5, 4}, {1, 5, 2}, {0, 4, 2}, {0, 3, 1}}}

Local edges of local face i = (f0,f1,f2), in the order (f0,f1), (f1,f2), (f0,f2).

◆ kFacetVertices

constexpr std::array<std::array<LocalIndex, 3>, 4> hpfem::mesh::SimplexTopology< 3 >::kFacetVertices = kFaceVertices
staticconstexpr

Facets of a tetrahedron are its faces, with the same numbering.

◆ kFaceVertices

constexpr std::array<std::array<LocalIndex, 3>, 4> hpfem::mesh::SimplexTopology< 3 >::kFaceVertices
staticconstexpr
Initial value:
{
{{1, 2, 3}, {0, 2, 3}, {0, 1, 3}, {0, 1, 2}}}

Local vertices of local face i (opposite vertex i), increasing order.

◆ kNumEdges

constexpr LocalIndex hpfem::mesh::SimplexTopology< 3 >::kNumEdges = 6
staticconstexpr

◆ kNumFaces

constexpr LocalIndex hpfem::mesh::SimplexTopology< 3 >::kNumFaces = 4
staticconstexpr

◆ kNumFacets

constexpr LocalIndex hpfem::mesh::SimplexTopology< 3 >::kNumFacets = 4
staticconstexpr

◆ kNumVertices

constexpr LocalIndex hpfem::mesh::SimplexTopology< 3 >::kNumVertices = 4
staticconstexpr

◆ kVerticesPerFacet

constexpr LocalIndex hpfem::mesh::SimplexTopology< 3 >::kVerticesPerFacet = 3
staticconstexpr

The documentation for this struct was generated from the following file: