Dune Core Modules (2.8.0)
Dune::Functions::PowerPreBasis< MI, IMS, SPB, C > Class Template Reference
A pre-basis for power bases. More...
#include <dune/functions/functionspacebases/powerbasis.hh>
Public Types | |
| using | SubPreBasis = SPB |
| The child pre-basis. | |
| using | GridView = typename SPB::GridView |
| The grid view that the FE basis is defined on. | |
| using | size_type = std::size_t |
| Type used for indices and size information. | |
| using | IndexMergingStrategy = IMS |
| Strategy used to merge the global indices of the child factories. | |
| using | Node = PowerBasisNode< SubNode, children > |
| Template mapping root tree path to type of created tree node. | |
| using | IndexSet = Impl::DefaultNodeIndexSet< PowerPreBasis > |
| Type of created tree node index set. More... | |
| using | MultiIndex = MI |
| Type used for global numbering of the basis vectors. | |
| using | SizePrefix = Dune::ReservedVector< size_type, MultiIndex::max_size()> |
| Type used for prefixes handed to the size() method. | |
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. | |
| const GridView & | gridView () const |
| Obtain the grid view that the basis is defined on. | |
| void | update (const GridView &gv) |
| Update the stored grid view, to be called if the grid has changed. | |
| Node | makeNode () const |
| Create tree node. | |
| IndexSet | makeIndexSet () const |
| Create tree node index set. More... | |
| size_type | size () const |
| Same as size(prefix) with empty prefix. | |
| size_type | size (const SizePrefix &prefix) const |
| Return number of possible values for next position in multi index. | |
| size_type | dimension () const |
| Get the total dimension of the space spanned by this basis. | |
| size_type | maxNodeSize () const |
| Get the maximal number of DOFs associated to node for any element. | |
| const SubPreBasis & | subPreBasis () const |
| Const access to the stored prebasis of the factor in the power space. | |
| SubPreBasis & | subPreBasis () |
| Mutable access to the stored prebasis of the factor in the power space. | |
| 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. | |
Detailed Description
template<class MI, class IMS, class SPB, std::size_t C>
class Dune::Functions::PowerPreBasis< MI, IMS, SPB, C >
class Dune::Functions::PowerPreBasis< MI, IMS, SPB, C >
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.
- Template Parameters
-
MI Type to be used for multi-indices 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
Member Typedef Documentation
◆ IndexSet
template<class MI , class IMS , class SPB , std::size_t C>
| using Dune::Functions::PowerPreBasis< MI, IMS, SPB, C >::IndexSet = Impl::DefaultNodeIndexSet<PowerPreBasis> |
Type of created tree node index set.
Constructor & Destructor Documentation
◆ PowerPreBasis()
template<class MI , class IMS , class SPB , std::size_t C>
template<class... SFArgs, disableCopyMove< PowerPreBasis, SFArgs... > = 0, enableIfConstructible< SubPreBasis, SFArgs... > = 0>
|
inline |
Constructor for given child pre-basis objects.
The child factories will be stored as copies
Member Function Documentation
◆ makeIndexSet()
template<class MI , class IMS , class SPB , std::size_t C>
|
inline |
Create tree node index set.
Create an index set suitable for the tree node obtained by makeNode().
The documentation for this class was generated from the following file:
- dune/functions/functionspacebases/powerbasis.hh
|
Legal Statements / Impressum |
Hosted by TU Dresden & Uni Heidelberg |
generated with Hugo v0.111.3
(Jan 14, 23:39, 2026)