![]() |
Dune-Functions 2.11
|
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
80 variants_.resize(numVariants(GeometryTypes::simplex(dim)) + numVariants(GeometryTypes::cube(dim)));
153 using FiniteElementMap = typename Impl::Nedelec1stKindLocalFiniteElementMap<GV, dim, Range, order>;
175 DUNE_THROW(NotImplemented, "Nédélec basis is only implemented for grids with simplex and cube elements");
179 DUNE_THROW(NotImplemented, "Nédélec basis is only implemented for grids with simplex or cube elements.");
220 using FiniteElementMap = typename Impl::Nedelec1stKindLocalFiniteElementMap<GV, dim, Range, order>;
Hierarchy< Domain, A >::Iterator update
unspecified value type referenceElement(T &&... t)
auto nedelec()
Create a pre-basis factory that can create a Nédélec pre-basis.
Definition nedelecbasis.hh:274
Definition monomialset.hh:19
int size() const
size_type dim() const
#define DUNE_THROW(E,...)
constexpr Base power(Base m, Exponent p)
const IndexSet & indexSet() const
IteratorRange<... > elements(const GV &gv)
MCMGLayout mcmgLayout(Dim< dim >)
MCMGLayout mcmgElementLayout()
GeometryType
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
Global basis for given pre-basis.
Definition defaultglobalbasis.hh:53
A generic MixIn class for PreBasis with flat indices computed from a mapper.
Definition leafprebasismappermixin.hh:62
void update(const GridView &gv)
Update the stored GridView.
Definition leafprebasismappermixin.hh:101
Definition nedelecbasis.hh:212
const FiniteElementMap * finiteElementMap_
Definition nedelecbasis.hh:257
FiniteElement finiteElement_
Definition nedelecbasis.hh:255
Impl::GlobalValuedLocalFiniteElement< Impl::CovariantPiolaTransformator, typename FiniteElementMap::FiniteElement, Element > FiniteElement
Definition nedelecbasis.hh:223
void bind(const Element &e)
Bind to element.
Definition nedelecbasis.hh:246
const Element & element() const
Return current element, throw if unbound.
Definition nedelecbasis.hh:231
typename GV::template Codim< 0 >::Entity Element
Definition nedelecbasis.hh:218
const FiniteElement & finiteElement() const
Return the LocalFiniteElement for the element we are bound to.
Definition nedelecbasis.hh:240
NedelecNode(const FiniteElementMap *finiteElementMap)
Definition nedelecbasis.hh:225
typename Impl::Nedelec1stKindLocalFiniteElementMap< GV, dim, Range, order > FiniteElementMap
Definition nedelecbasis.hh:220
Definition nedelecbasis.hh:150
NedelecPreBasis(const GridView &gv)
Constructor for a given grid view object.
Definition nedelecbasis.hh:165
GV GridView
The grid view that the FE space is defined on.
Definition nedelecbasis.hh:159
FiniteElementMap finiteElementMap_
Definition nedelecbasis.hh:204
void update(const GridView &gv)
Update the stored grid view, to be called if the grid has changed.
Definition nedelecbasis.hh:189
Node makeNode() const
Create tree node.
Definition nedelecbasis.hh:198
Definition nodes.hh:218
T find(T... args)
