|
hp-FEM
Adaptive hp-FEM suite for nano-optics
|
#include <dof_map.hpp>
Public Member Functions | |
| EntityDofMap (const mesh::Mesh< Dim > &mesh, std::vector< int > cell_orders) | |
| Variable order: one entry per cell, all ≥ 1. | |
| EntityDofMap (const mesh::Mesh< Dim > &mesh, int order) | |
| Uniform order p on every cell. | |
| const mesh::Mesh< Dim > & | mesh () const noexcept |
| Index | num_dofs () const noexcept |
| int | cell_order (Index c) const |
| int | edge_order (Index e) const |
| int | face_order (Index f) const |
| int | max_order () const noexcept |
| Index | vertex_dof (Index v) const noexcept |
| Global DoF of vertex v (H1 spaces only). | |
| std::span< const Index > | edge_dofs (Index e) const |
| Global DoFs of the functions of edge e (ascending degree), possibly empty. | |
| std::span< const Index > | face_dofs (Index f) const |
| std::span< const Index > | interior_dofs (Index c) const |
| CellLayout< Dim > | cell_layout (Index c) const |
| Basis layout (orders and orientation codes) of cell c. | |
| std::span< const Index > | cell_dofs (Index c) const |
| Global DoFs of cell c in basis function order. | |
| std::vector< Index > | facet_dofs (Index f) const |
| std::vector< Index > | dofs_on_tag (mesh::Tag tag) const |
Union of facet_dofs over all facets carrying tag, sorted and unique. | |
Numbers the DoFs of a hierarchical space on a mesh: vertex DoFs (if the space has them), then the edge functions edge by edge, the face functions (3D) and the interior functions cell by cell. The order of an edge or face is the minimum of the orders of its cells, so the space is conforming and every entity function is shared by all adjacent cells. On a one-irregular mesh (mesh::Mesh::hanging_edges) a hanging parent entity additionally takes at most the order of its children, whose DoFs assembly::hanging_constraints expresses through the parent's. Cell-local DoF lists follow the function order of the corresponding basis, with cell_layout(c) supplying orders and orientations.
| hpfem::fespace::EntityDofMap< Dim, Counts >::EntityDofMap | ( | const mesh::Mesh< Dim > & | mesh, |
| std::vector< int > | cell_orders | ||
| ) |
Variable order: one entry per cell, all ≥ 1.
| hpfem::fespace::EntityDofMap< Dim, Counts >::EntityDofMap | ( | const mesh::Mesh< Dim > & | mesh, |
| int | order | ||
| ) |
Uniform order p on every cell.
| std::span< const Index > hpfem::fespace::EntityDofMap< Dim, Counts >::cell_dofs | ( | Index | c | ) | const |
Global DoFs of cell c in basis function order.
| CellLayout< Dim > hpfem::fespace::EntityDofMap< Dim, Counts >::cell_layout | ( | Index | c | ) | const |
Basis layout (orders and orientation codes) of cell c.
|
inline |
| std::vector< Index > hpfem::fespace::EntityDofMap< Dim, Counts >::dofs_on_tag | ( | mesh::Tag | tag | ) | const |
Union of facet_dofs over all facets carrying tag, sorted and unique.
| std::span< const Index > hpfem::fespace::EntityDofMap< Dim, Counts >::edge_dofs | ( | Index | e | ) | const |
Global DoFs of the functions of edge e (ascending degree), possibly empty.
|
inline |
| std::span< const Index > hpfem::fespace::EntityDofMap< Dim, Counts >::face_dofs | ( | Index | f | ) | const |
|
inline |
| std::vector< Index > hpfem::fespace::EntityDofMap< Dim, Counts >::facet_dofs | ( | Index | f | ) | const |
All DoFs whose functions have support on facet f (its vertices, edges and, in 3D, the face itself), ascending: the DoFs fixed by an essential condition on f.
| std::span< const Index > hpfem::fespace::EntityDofMap< Dim, Counts >::interior_dofs | ( | Index | c | ) | const |
|
inlinenoexcept |
|
inlinenoexcept |
|
inlinenoexcept |
|
inlinenoexcept |
Global DoF of vertex v (H1 spaces only).