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

#include <nedelec_basis.hpp>

Public Types

using Topology = mesh::SimplexTopology< Dim >
 
using Curl = CurlVector< Dim >
 

Public Member Functions

 NedelecBasis (const CellLayout< Dim > &layout)
 
const CellLayout< Dim > & layout () const noexcept
 
Index size () const noexcept
 
int max_order () const noexcept
 
Index edge_offset (std::size_t k) const noexcept
 
Index face_offset (std::size_t k) const noexcept
 
Index cell_offset () const noexcept
 
void evaluate (const Point< Dim > &xi, std::span< Point< Dim > > values, std::span< Curl > curls) const
 

Detailed Description

template<int Dim>
class hpfem::fespace::NedelecBasis< Dim >

Nédélec (first kind) basis of one cell. Function order: edge 0, 1, … (Whitney function, then the gradients ∇L_i^S for i = 2..p_e), then (3D) face 0, 1, …, then the interior functions; within faces / interiors by type (gradient, non-gradient twin, Whitney-type) and ascending degree, see docs/theory/nedelec.md.

Member Typedef Documentation

◆ Curl

template<int Dim>
using hpfem::fespace::NedelecBasis< Dim >::Curl = CurlVector<Dim>

◆ Topology

template<int Dim>
using hpfem::fespace::NedelecBasis< Dim >::Topology = mesh::SimplexTopology<Dim>

Constructor & Destructor Documentation

◆ NedelecBasis()

template<int Dim>
hpfem::fespace::NedelecBasis< Dim >::NedelecBasis ( const CellLayout< Dim > &  layout)
explicit
Exceptions
InvalidArgumentif any order is < 1 or an entity order exceeds the cell order.

Member Function Documentation

◆ cell_offset()

template<int Dim>
Index hpfem::fespace::NedelecBasis< Dim >::cell_offset ( ) const
inlinenoexcept

◆ edge_offset()

template<int Dim>
Index hpfem::fespace::NedelecBasis< Dim >::edge_offset ( std::size_t  k) const
inlinenoexcept

◆ evaluate()

template<int Dim>
void hpfem::fespace::NedelecBasis< Dim >::evaluate ( const Point< Dim > &  xi,
std::span< Point< Dim > >  values,
std::span< Curl >  curls 
) const

Reference values and reference curls of all functions at ξ; values needs size() entries, curls either size() entries or none.

◆ face_offset()

template<int Dim>
Index hpfem::fespace::NedelecBasis< Dim >::face_offset ( std::size_t  k) const
inlinenoexcept

◆ layout()

template<int Dim>
const CellLayout< Dim > & hpfem::fespace::NedelecBasis< Dim >::layout ( ) const
inlinenoexcept

◆ max_order()

template<int Dim>
int hpfem::fespace::NedelecBasis< Dim >::max_order ( ) const
inlinenoexcept

◆ size()

template<int Dim>
Index hpfem::fespace::NedelecBasis< Dim >::size ( ) const
inlinenoexcept

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