|
hp-FEM
Adaptive hp-FEM suite for nano-optics
|
#include <span>#include "hpfem/core/types.hpp"#include "hpfem/fespace/constraints.hpp"#include "hpfem/fespace/dof_map.hpp"
Go to the source code of this file.
Namespaces | |
| namespace | hpfem |
| namespace | hpfem::assembly |
Functions | |
| template<int Dim, class Counts > | |
| fespace::Constraints | hpfem::assembly::hanging_constraints (const fespace::EntityDofMap< Dim, Counts > &dofs, Real tolerance=1e-12) |
| fespace::Constraints | hpfem::assembly::restrict_constraints (const fespace::Constraints &full, std::span< const Index > free) |
| fespace::Constraints | hpfem::assembly::block_constraints (const fespace::Constraints &first, const fespace::Constraints &second) |
| template fespace::Constraints | hpfem::assembly::hanging_constraints< 2, fespace::H1Counts > (const fespace::DofMap< 2 > &, Real) |
| template fespace::Constraints | hpfem::assembly::hanging_constraints< 3, fespace::H1Counts > (const fespace::DofMap< 3 > &, Real) |
| template fespace::Constraints | hpfem::assembly::hanging_constraints< 2, fespace::NedelecCounts > (const fespace::NedelecDofMap< 2 > &, Real) |
| template fespace::Constraints | hpfem::assembly::hanging_constraints< 3, fespace::NedelecCounts > (const fespace::NedelecDofMap< 3 > &, Real) |
Constraints of the DoFs on hanging entities of a one-irregular mesh (mesh::AdaptiveMesh) so that the H1 / H(curl) space stays conforming: every DoF of a child entity (hanging vertex, half edges, child faces and the edges inside a hanging face) is the hierarchical interpolant (interpolate) of the parent entity's functions, \( u_s = \sum_m c_{sm} u_m
\) with the masters m on the parent edge / face and its vertices and edges. The coefficients are computed by interpolating each master function onto the child entities, so no assumptions on orientation or order are needed; the parent order never exceeds the child orders (minimum rule of the DoF map). See docs/theory/hp-adaptivity.md#hanging-nodes.