|
dune-functions 2.10
|
Loading...
Searching...
No Matches
nedelecbasis.hh
Go to the documentation of this file.
33 constexpr static bool hasFixedElementType = Capabilities::hasSingleGeometryType<typename GV::Grid>::v;
40 using T = LocalBasisTraits<D, dim, FieldVector<D,dim>, R, dim, FieldVector<R,dim>, FieldMatrix<D,dim,dim> >;
42 constexpr static unsigned int topologyId = Capabilities::hasSingleGeometryType<typename GV::Grid>::topologyId; // meaningless if hasFixedElementType is false
72 variants_.resize(numVariants(GeometryTypes::simplex(dim)) + numVariants(GeometryTypes::cube(dim)));
145 using FiniteElementMap = typename Impl::Nedelec1stKindLocalFiniteElementMap<GV, dim, Range, order>;
168 DUNE_THROW(NotImplemented, "Nédélec basis is only implemented for grids with simplex and cube elements");
172 DUNE_THROW(NotImplemented, "Nédélec basis is only implemented for grids with simplex or cube elements.");
263 using FiniteElementMap = typename Impl::Nedelec1stKindLocalFiniteElementMap<GV, dim, Range, order>;
auto nedelec()
Create a pre-basis factory that can create a Nédélec pre-basis.
Definition nedelecbasis.hh:317
Definition polynomial.hh:18
DefaultGlobalBasis< NedelecPreBasis< GV, Range, kind, order > > NedelecBasis
Basis of a k-th-order Nédélec finite element space.
Definition nedelecbasis.hh:340
unspecified value type referenceElement(T &&... t)
int size() const
iterator end()
size_type dim() const
#define DUNE_THROW(E, m)
constexpr Base power(Base m, Exponent p)
const IndexSet & indexSet() const
IteratorRange<... > elements(const GV &gv)
MCMGLayout mcmgLayout(Dim< dim >)
MCMGLayout mcmgElementLayout()
GeometryType
constexpr unsigned int index() const noexcept
constexpr unsigned int codim() const noexcept
constexpr unsigned int subEntity() const noexcept
static const bool v
static const unsigned int topologyId
IndexType subIndex(const typename Traits::template Codim< cc >::Entity &e, int i, unsigned int codim) const
size_type size() const
Index subIndex(const typename GV::template Codim< 0 >::Entity &e, int i, unsigned int codim) const
void update(const GV &gridView)
Global basis for given pre-basis.
Definition defaultglobalbasis.hh:50
A generic MixIn class for PreBasis.
Definition leafprebasismixin.hh:36
Definition nedelecbasis.hh:255
const FiniteElementMap * finiteElementMap_
Definition nedelecbasis.hh:300
FiniteElement finiteElement_
Definition nedelecbasis.hh:298
Impl::GlobalValuedLocalFiniteElement< Impl::CovariantPiolaTransformator, typename FiniteElementMap::FiniteElement, Element > FiniteElement
Definition nedelecbasis.hh:266
void bind(const Element &e)
Bind to element.
Definition nedelecbasis.hh:289
const Element & element() const
Return current element, throw if unbound.
Definition nedelecbasis.hh:274
typename GV::template Codim< 0 >::Entity Element
Definition nedelecbasis.hh:261
const FiniteElement & finiteElement() const
Return the LocalFiniteElement for the element we are bound to.
Definition nedelecbasis.hh:283
NedelecNode(const FiniteElementMap *finiteElementMap)
Definition nedelecbasis.hh:268
typename Impl::Nedelec1stKindLocalFiniteElementMap< GV, dim, Range, order > FiniteElementMap
Definition nedelecbasis.hh:263
Definition nedelecbasis.hh:142
It indices(const Node &node, It it) const
Maps from subtree index set [0..size-1] to a globally unique multi index in global basis.
Definition nedelecbasis.hh:227
NedelecPreBasis(const GridView &gv)
Constructor for a given grid view object.
Definition nedelecbasis.hh:157
GV GridView
The grid view that the FE space is defined on.
Definition nedelecbasis.hh:151
size_type dimension() const
Definition nedelecbasis.hh:206
FiniteElementMap finiteElementMap_
Definition nedelecbasis.hh:246
NedelecNode< GV, Range, kind, order > Node
Definition nedelecbasis.hh:154
void initializeIndices()
Definition nedelecbasis.hh:181
void update(const GridView &gv)
Definition nedelecbasis.hh:192
size_type maxNodeSize() const
Definition nedelecbasis.hh:211
const GridView & gridView() const
Obtain the grid view that the basis is defined on.
Definition nedelecbasis.hh:186
Node makeNode() const
Create tree node.
Definition nedelecbasis.hh:201
Definition nodes.hh:191
T find(T... args)
T max(T... args)
Legal Statements / Impressum | Hosted by TU Dresden & Uni Heidelberg | Generated by
1.9.8