hp-FEM
Adaptive hp-FEM suite for nano-optics
Loading...
Searching...
No Matches
Classes | Namespaces | Typedefs | Functions
nedelec_basis.hpp File Reference
#include <array>
#include <cstddef>
#include <span>
#include <Eigen/Core>
#include "hpfem/core/types.hpp"
#include "hpfem/fespace/cell_layout.hpp"
#include "hpfem/mesh/simplex_topology.hpp"
Include dependency graph for nedelec_basis.hpp:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

class  hpfem::fespace::NedelecBasis< Dim >
 

Namespaces

namespace  hpfem
 
namespace  hpfem::fespace
 

Typedefs

template<int Dim>
using hpfem::fespace::CurlVector = Eigen::Matrix< Real, Dim==2 ? 1 :3, 1 >
 Curl of a reference field: a scalar (stored as a 1-vector) in 2D, a 3-vector in 3D.
 

Functions

constexpr Index hpfem::fespace::nedelec_edge_functions (int p) noexcept
 Number of functions of the order-p space (Nédélec I, ND_p, lowest order p = 1) per entity.
 
constexpr Index hpfem::fespace::nedelec_face_functions (int p) noexcept
 
template<int Dim>
constexpr Index hpfem::fespace::nedelec_cell_functions (int p) noexcept
 
template<int Dim>
constexpr Index hpfem::fespace::nedelec_dimension (int p) noexcept
 dim ND_p of one cell with uniform order: p(p+2) (triangle), p(p+2)(p+3)/2 (tetrahedron).
 

Detailed Description

Hierarchical H(curl)-conforming Nédélec basis of the first kind on the reference simplex, arbitrary order, orders assignable per edge, face and cell, gradient and non-gradient functions explicitly separated. Formulas, ordering and the de Rham structure: docs/theory/nedelec.md#hierarchical-basis. Entity functions are evaluated in the global orientation of their entity (ADR-0003), exactly as H1Basis.

Values and curls are given on the reference element; the covariant Piola map of docs/theory/nedelec.md#mapping transfers them to a physical cell.