|
dune-functions 2.8.0
|
Loading...
Searching...
No Matches
nedelecbasis.hh
Go to the documentation of this file.
29 constexpr static bool hasFixedElementType = Capabilities::hasSingleGeometryType<typename GV::Grid>::v;
36 using T = LocalBasisTraits<D, dim, FieldVector<D,dim>, R, dim, FieldVector<R,dim>, FieldMatrix<D,dim,dim> >;
38 constexpr static unsigned int topologyId = Capabilities::hasSingleGeometryType<typename GV::Grid>::topologyId; // meaningless if hasFixedElementType is false
68 variants_.resize(numVariants(GeometryTypes::simplex(dim)) + numVariants(GeometryTypes::cube(dim)));
140 using FiniteElementMap = typename Impl::Nedelec1stKindLocalFiniteElementMap<GV, dim, Range, order>;
171 DUNE_THROW(NotImplemented, "Nédélec basis is only implemented for grids with simplex and cube elements");
175 DUNE_THROW(NotImplemented, "Nédélec basis is only implemented for grids with simplex or cube elements.");
292 using FiniteElementMap = typename Impl::Nedelec1stKindLocalFiniteElementMap<GV, dim, Range, order>;
385using NedelecBasis = DefaultGlobalBasis<NedelecPreBasis<GV, Range, kind, order, FlatMultiIndex<std::size_t> > >;
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:364
Definition polynomial.hh:11
int size() const
iterator end()
size_type dim() const
#define DUNE_THROW(E, m)
constexpr Mantissa power(Mantissa m, Exponent p)
const IndexSet & indexSet() const
IteratorRange<... > elements(const GV &gv)
MCMGLayout mcmgLayout(Dim< dim >)
MCMGLayout mcmgElementLayout()
GeometryType
size_type size() const
unsigned int index() const
unsigned int codim() const
unsigned int subEntity() const
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:47
Definition nedelecbasis.hh:284
const FiniteElementMap * finiteElementMap_
Definition nedelecbasis.hh:329
FiniteElement finiteElement_
Definition nedelecbasis.hh:327
Impl::GlobalValuedLocalFiniteElement< Impl::CovariantPiolaTransformator, typename FiniteElementMap::FiniteElement, Element > FiniteElement
Definition nedelecbasis.hh:295
void bind(const Element &e)
Bind to element.
Definition nedelecbasis.hh:318
const Element & element() const
Return current element, throw if unbound.
Definition nedelecbasis.hh:303
typename GV::template Codim< 0 >::Entity Element
Definition nedelecbasis.hh:290
const FiniteElement & finiteElement() const
Return the LocalFiniteElement for the element we are bound to.
Definition nedelecbasis.hh:312
NedelecNode(const FiniteElementMap *finiteElementMap)
Definition nedelecbasis.hh:297
typename Impl::Nedelec1stKindLocalFiniteElementMap< GV, dim, Range, order > FiniteElementMap
Definition nedelecbasis.hh:292
Definition nedelecbasis.hh:137
size_type dimension() const
Definition nedelecbasis.hh:235
FiniteElementMap finiteElementMap_
Definition nedelecbasis.hh:275
const GridView & gridView() const
Obtain the grid view that the basis is defined on.
Definition nedelecbasis.hh:189
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:256
Impl::DefaultNodeIndexSet< NedelecPreBasis > IndexSet
Type of created tree node index set.
Definition nedelecbasis.hh:152
void update(const GridView &gv)
Definition nedelecbasis.hh:195
NedelecPreBasis(const GridView &gv)
Constructor for a given grid view object.
Definition nedelecbasis.hh:160
size_type maxNodeSize() const
Definition nedelecbasis.hh:240
void initializeIndices()
Definition nedelecbasis.hh:184
IndexSet makeIndexSet() const
Create tree node index set.
Definition nedelecbasis.hh:218
GV GridView
The grid view that the FE space is defined on.
Definition nedelecbasis.hh:146
MI MultiIndex
Type used for global numbering of the basis vectors.
Definition nedelecbasis.hh:155
Node makeNode() const
Create tree node.
Definition nedelecbasis.hh:204
size_type size(const SizePrefix prefix) const
Return number possible values for next position in multi index.
Definition nedelecbasis.hh:229
Definition nodes.hh:184
T find(T... args)
T max(T... args)
Legal Statements / Impressum | Hosted by TU Dresden & Uni Heidelberg | Generated by
1.9.8