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

#include <cell_layout.hpp>

Static Public Member Functions

static CellLayout uniform (int p)
 Uniform order p on all entities, identity orientation.
 

Public Attributes

int cell_order = 1
 p ≥ 1 for the interior functions
 
std::array< int, kNumEdges > edge_orders {}
 p_e ≥ 1
 
std::array< int, 4 > face_orders {}
 p_f ≥ 1, 3D only
 
std::array< bool, kNumEdges > edge_flipped {}
 local edge runs against global orientation
 
std::array< std::uint8_t, 4 > face_permutations {}
 codes into mesh::kFacePermutations
 

Static Public Attributes

static constexpr std::size_t kNumEdges
 
static constexpr std::size_t kNumFaces = Dim == 3 ? 4 : 0
 

Detailed Description

template<int Dim>
struct hpfem::fespace::CellLayout< Dim >

Orders per entity (minimum rule applied by the DoF maps) and orientation codes straight from mesh::Mesh::cell_edge_flipped / cell_face_permutations.

Member Function Documentation

◆ uniform()

template<int Dim>
static CellLayout hpfem::fespace::CellLayout< Dim >::uniform ( int  p)
inlinestatic

Uniform order p on all entities, identity orientation.

Member Data Documentation

◆ cell_order

template<int Dim>
int hpfem::fespace::CellLayout< Dim >::cell_order = 1

p ≥ 1 for the interior functions

◆ edge_flipped

template<int Dim>
std::array<bool, kNumEdges> hpfem::fespace::CellLayout< Dim >::edge_flipped {}

local edge runs against global orientation

◆ edge_orders

template<int Dim>
std::array<int, kNumEdges> hpfem::fespace::CellLayout< Dim >::edge_orders {}

p_e ≥ 1

◆ face_orders

template<int Dim>
std::array<int, 4> hpfem::fespace::CellLayout< Dim >::face_orders {}

p_f ≥ 1, 3D only

◆ face_permutations

template<int Dim>
std::array<std::uint8_t, 4> hpfem::fespace::CellLayout< Dim >::face_permutations {}

◆ kNumEdges

template<int Dim>
constexpr std::size_t hpfem::fespace::CellLayout< Dim >::kNumEdges
staticconstexpr
Initial value:
=
static_cast<std::size_t>(mesh::SimplexTopology<Dim>::kNumEdges)

◆ kNumFaces

template<int Dim>
constexpr std::size_t hpfem::fespace::CellLayout< Dim >::kNumFaces = Dim == 3 ? 4 : 0
staticconstexpr

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