hp-FEM
Adaptive hp-FEM suite for nano-optics
Loading...
Searching...
No Matches
Static Public Member Functions | Public Attributes | List of all members
hpfem::assembly::EntitySet< Dim > Struct Template Reference

#include <interpolation.hpp>

Static Public Member Functions

static EntitySet of_facets (const mesh::Mesh< Dim > &mesh, std::span< const Index > facets)
 Vertices, edges (and faces) of the given facets: the trace space on them.
 
static EntitySet of_boundary_facets (const mesh::Mesh< Dim > &mesh, std::span< const Index > facets)
 
static std::vector< Index > hanging_parents_of (const mesh::Mesh< Dim > &mesh, std::span< const Index > edges)
 
static EntitySet of_cells (const mesh::Mesh< Dim > &mesh, std::span< const Index > cells)
 All entities of the given cells including their interiors.
 
static EntitySet all (const mesh::Mesh< Dim > &mesh)
 Every entity of the mesh.
 

Public Attributes

std::vector< Index > vertices
 
std::vector< Index > edges
 
std::vector< Index > faces
 3D only
 
std::vector< Index > cells
 interior functions
 

Detailed Description

template<int Dim>
struct hpfem::assembly::EntitySet< Dim >

The entities whose DoFs an interpolation sets; processed vertices → edges → faces → cells, lower-dimensional entities first because the higher ones project the remainder.

Member Function Documentation

◆ all()

template<int Dim>
static EntitySet hpfem::assembly::EntitySet< Dim >::all ( const mesh::Mesh< Dim > &  mesh)
static

Every entity of the mesh.

◆ hanging_parents_of()

template<int Dim>
static std::vector< Index > hpfem::assembly::EntitySet< Dim >::hanging_parents_of ( const mesh::Mesh< Dim > &  mesh,
std::span< const Index >  edges 
)
static

The hanging parent edges whose two half edges are in edges (3D; empty in 2D, where hanging edges are facets), ascending.

◆ of_boundary_facets()

template<int Dim>
static EntitySet hpfem::assembly::EntitySet< Dim >::of_boundary_facets ( const mesh::Mesh< Dim > &  mesh,
std::span< const Index >  facets 
)
static

Vertices, edges (and faces) of the given facets plus, in 3D, the parent edges of hanging edges whose two half edges both lie on these facets: a coarse edge can lie in a surface that its own cells touch only along that edge (the surface facets next to it belong to refined neighbours), and the half edges on the surface are constrained to its DoFs, so a Dirichlet condition on the surface must prescribe them as well.

◆ of_cells()

template<int Dim>
static EntitySet hpfem::assembly::EntitySet< Dim >::of_cells ( const mesh::Mesh< Dim > &  mesh,
std::span< const Index >  cells 
)
static

All entities of the given cells including their interiors.

◆ of_facets()

template<int Dim>
static EntitySet hpfem::assembly::EntitySet< Dim >::of_facets ( const mesh::Mesh< Dim > &  mesh,
std::span< const Index >  facets 
)
static

Vertices, edges (and faces) of the given facets: the trace space on them.

Member Data Documentation

◆ cells

template<int Dim>
std::vector<Index> hpfem::assembly::EntitySet< Dim >::cells

interior functions

◆ edges

template<int Dim>
std::vector<Index> hpfem::assembly::EntitySet< Dim >::edges

◆ faces

template<int Dim>
std::vector<Index> hpfem::assembly::EntitySet< Dim >::faces

3D only

◆ vertices

template<int Dim>
std::vector<Index> hpfem::assembly::EntitySet< Dim >::vertices

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