|
dune-functions 2.8.0
|
Loading...
Searching...
No Matches
powerbasis.hh
Go to the documentation of this file.
94 static_assert(models<Concept::PreBasis<GridView>, SubPreBasis>(), "Subprebasis passed to PowerPreBasis does not model the PreBasis concept.");
379 static const bool isBlocked = std::is_same<IndexMergingStrategy,BlockedLexicographic>::value or std::is_same<IndexMergingStrategy,BlockedInterleaved>::value;
385 static const std::size_t requiredMultiIndexSize = isBlocked ? (maxChildIndexSize+1) : maxChildIndexSize;
401 return PowerPreBasis<MultiIndex, IndexMergingStrategy, ChildPreBasis, k>(std::move(childPreBasis));
427 return Imp::PowerPreBasisFactory<k, IndexMergingStrategy, ChildPreBasisFactory>(std::forward<ChildPreBasisFactory>(childPreBasisFactory));
443 return Imp::PowerPreBasisFactory<k, BlockedInterleaved, ChildPreBasisFactory>(std::forward<ChildPreBasisFactory>(childPreBasisFactory));
ImplementationDefined child(Node &&node, Indices... indices)
typename std::enable_if< std::is_constructible< T, Args... >::value, int >::type enableIfConstructible
Helper to constrain forwarding constructors.
Definition type_traits.hh:26
STL namespace.
void push_back(const MemberType &item)
static constexpr size_type M()
static constexpr size_type size()
constexpr Mantissa power(Mantissa m, Exponent p)
void setChild(T &t, index_constant< i >={})
Interleaved merging of direct children without blocking.
Definition basistags.hh:114
Definition nodes.hh:191
size_type maxNodeSize() const
Get the maximal number of DOFs associated to node for any element.
Definition powerbasis.hh:232
void update(const GridView &gv)
Update the stored grid view, to be called if the grid has changed.
Definition powerbasis.hh:110
void initializeIndices()
Initialize the global indices.
Definition powerbasis.hh:98
std::size_t size_type
Type used for indices and size information.
Definition powerbasis.hh:58
typename SubPreBasis::Node SubNode
Definition powerbasis.hh:63
size_type size() const
Same as size(prefix) with empty prefix.
Definition powerbasis.hh:141
MI MultiIndex
Type used for global numbering of the basis vectors.
Definition powerbasis.hh:72
Dune::ReservedVector< size_type, MultiIndex::max_size()> SizePrefix
Type used for prefixes handed to the size() method.
Definition powerbasis.hh:75
SubPreBasis & subPreBasis()
Mutable access to the stored prebasis of the factor in the power space.
Definition powerbasis.hh:244
size_type dimension() const
Get the total dimension of the space spanned by this basis.
Definition powerbasis.hh:226
IMS IndexMergingStrategy
Strategy used to merge the global indices of the child factories.
Definition powerbasis.hh:61
size_type size(const SizePrefix &prefix) const
Return number of possible values for next position in multi index.
Definition powerbasis.hh:147
typename SPB::GridView GridView
The grid view that the FE basis is defined on.
Definition powerbasis.hh:55
const GridView & gridView() const
Obtain the grid view that the basis is defined on.
Definition powerbasis.hh:104
Node makeNode() const
Create tree node.
Definition powerbasis.hh:118
SPB SubPreBasis
The child pre-basis.
Definition powerbasis.hh:52
PowerPreBasis(SFArgs &&... sfArgs)
Constructor for given child pre-basis objects.
Definition powerbasis.hh:91
IndexSet makeIndexSet() const
Create tree node index set.
Definition powerbasis.hh:135
const SubPreBasis & subPreBasis() const
Const access to the stored prebasis of the factor in the power space.
Definition powerbasis.hh:238
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 powerbasis.hh:251
PowerBasisNode< SubNode, children > Node
Template mapping root tree path to type of created tree node.
Definition powerbasis.hh:66
Impl::DefaultNodeIndexSet< PowerPreBasis > IndexSet
Type of created tree node index set.
Definition powerbasis.hh:69
T move(T... args)
T next(T... args)
Legal Statements / Impressum | Hosted by TU Dresden & Uni Heidelberg | Generated by
1.9.8