dune-functions 2.9.0
|
A pre-basis for power bases. More...
#include <dune/functions/functionspacebases/powerbasis.hh>
Public Types | |
using | SubPreBasis = SPB |
The child pre-basis. More... | |
using | GridView = typename SPB::GridView |
The grid view that the FE basis is defined on. More... | |
using | size_type = std::size_t |
Type used for indices and size information. More... | |
using | IndexMergingStrategy = IMS |
Strategy used to merge the global indices of the child factories. More... | |
using | SubNode = typename SubPreBasis::Node |
using | Node = PowerBasisNode< SubNode, children > |
Template mapping root tree path to type of created tree node. More... | |
Public Member Functions | |
template<class... SFArgs, disableCopyMove< PowerPreBasis, SFArgs... > = 0, enableIfConstructible< SubPreBasis, SFArgs... > = 0> | |
PowerPreBasis (SFArgs &&... sfArgs) | |
Constructor for given child pre-basis objects. More... | |
void | initializeIndices () |
Initialize the global indices. More... | |
const GridView & | gridView () const |
Obtain the grid view that the basis is defined on. More... | |
void | update (const GridView &gv) |
Update the stored grid view, to be called if the grid has changed. More... | |
Node | makeNode () const |
Create tree node. More... | |
size_type | size () const |
Same as size(prefix) with empty prefix. More... | |
template<class SizePrefix > | |
size_type | size (const SizePrefix &prefix) const |
Return number of possible values for next position in multi index. More... | |
size_type | dimension () const |
Get the total dimension of the space spanned by this basis. More... | |
size_type | maxNodeSize () const |
Get the maximal number of DOFs associated to node for any element. More... | |
const SubPreBasis & | subPreBasis () const |
Const access to the stored prebasis of the factor in the power space. More... | |
SubPreBasis & | subPreBasis () |
Mutable access to the stored prebasis of the factor in the power space. More... | |
template<typename It > | |
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. More... | |
Static Public Attributes | |
static constexpr size_type | maxMultiIndexSize = SubPreBasis::maxMultiIndexSize + isBlocked |
static constexpr size_type | minMultiIndexSize = SubPreBasis::minMultiIndexSize + isBlocked |
static constexpr size_type | multiIndexBufferSize = SubPreBasis::multiIndexBufferSize + isBlocked |
A pre-basis for power bases.
This pre-basis represents a power of a given pre-basis. Its node type is a PowerBasisNodes for the given subnode.
IMS | An IndexMergingStrategy used to merge the global indices of the child factories |
SPB | The child pre-basis |
C | The exponent of the power node |
using Dune::Functions::PowerPreBasis< IMS, SPB, C >::GridView = typename SPB::GridView |
The grid view that the FE basis is defined on.
using Dune::Functions::PowerPreBasis< IMS, SPB, C >::IndexMergingStrategy = IMS |
Strategy used to merge the global indices of the child factories.
using Dune::Functions::PowerPreBasis< IMS, SPB, C >::Node = PowerBasisNode<SubNode, children> |
Template mapping root tree path to type of created tree node.
using Dune::Functions::PowerPreBasis< IMS, SPB, C >::size_type = std::size_t |
Type used for indices and size information.
using Dune::Functions::PowerPreBasis< IMS, SPB, C >::SubNode = typename SubPreBasis::Node |
using Dune::Functions::PowerPreBasis< IMS, SPB, C >::SubPreBasis = SPB |
The child pre-basis.
|
inline |
Constructor for given child pre-basis objects.
The child factories will be stored as copies
|
inline |
Get the total dimension of the space spanned by this basis.
|
inline |
Obtain the grid view that the basis is defined on.
|
inline |
Maps from subtree index set [0..size-1] to a globally unique multi index in global basis.
|
inline |
Initialize the global indices.
|
inline |
Create tree node.
|
inline |
Get the maximal number of DOFs associated to node for any element.
|
inline |
Same as size(prefix) with empty prefix.
|
inline |
Return number of possible values for next position in multi index.
|
inline |
Mutable access to the stored prebasis of the factor in the power space.
|
inline |
Const access to the stored prebasis of the factor in the power space.
|
inline |
Update the stored grid view, to be called if the grid has changed.
|
staticconstexpr |
|
staticconstexpr |
|
staticconstexpr |