|
dune-functions 2.10
|
A pre-basis transforming multi-indices. More...
#include <dune/functions/functionspacebases/transformedindexbasis.hh>
Public Types | |
| using | RawPreBasis = RPB |
| using | GridView = typename RawPreBasis::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 | Node = typename RawPreBasis::Node |
| Template mapping root tree path to type of created tree node. | |
Public Member Functions | |
| template<class RPB_R , class T_R > | |
| TransformedIndexPreBasis (RPB_R &&rawPreBasis, T_R &&transformation) | |
| Constructor for given child pre-basis objects. | |
| 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 with given root tree path. | |
| size_type | size () const |
| Same as size(prefix) with empty prefix. | |
| template<class SizePrefix > | |
| size_type | size (const SizePrefix &prefix) const |
| Return number of possible values for next position in multi index. | |
| auto | containerDescriptor () const |
| Return the container descriptor of the transformed pre-basis. | |
| 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 RawPreBasis & | rawPreBasis () const |
| RawPreBasis & | rawPreBasis () |
| template<class MultiIndex > | |
| void | transformIndex (MultiIndex &multiIndex) const |
| template<typename It > | |
| It | indices (const Node &node, It it) const |
Static Public Attributes | |
| static constexpr size_type | maxMultiIndexSize = Transformation::maxIndexSize |
| static constexpr size_type | minMultiIndexSize = Transformation::minIndexSize |
| static constexpr size_type | multiIndexBufferSize = std::max(RawPreBasis::multiIndexBufferSize, maxMultiIndexSize) |
Protected Attributes | |
| RawPreBasis | rawPreBasis_ |
| Transformation | transformation_ |
A pre-basis transforming multi-indices.
This pre-basis wraps another pre-basis and transforms its global multi-indices.
| RPB | Raw PreBasis to be wrapped |
| T | Class of the index transformation |
| using Dune::Functions::Experimental::TransformedIndexPreBasis< RPB, T >::GridView = typename RawPreBasis::GridView |
The grid view that the FE basis is defined on.
| using Dune::Functions::Experimental::TransformedIndexPreBasis< RPB, T >::Node = typename RawPreBasis::Node |
Template mapping root tree path to type of created tree node.
| using Dune::Functions::Experimental::TransformedIndexPreBasis< RPB, T >::RawPreBasis = RPB |
| using Dune::Functions::Experimental::TransformedIndexPreBasis< RPB, T >::size_type = std::size_t |
Type used for indices and size information.
|
inline |
Constructor for given child pre-basis objects.
The child pre-basis will be stored as copies
|
inline |
Return the container descriptor of the transformed pre-basis.
|
inline |
Get the total dimension of the space spanned by this basis.
|
inline |
Obtain the grid view that the basis is defined on.
|
inline |
|
inline |
Initialize the global indices.
|
inline |
Create tree node with given root tree path.
| TP | Type of root tree path |
| tp | Root tree path |
By passing a non-trivial root tree path this can be used to create a node suitable for being placed in a tree at the position specified by the root tree path.
|
inline |
Get the maximal number of DOFs associated to node for any element.
|
inline |
|
inline |
|
inline |
Same as size(prefix) with empty prefix.
|
inline |
Return number of possible values for next position in multi index.
|
inline |
|
inline |
Update the stored grid view, to be called if the grid has changed.
|
staticconstexpr |
|
staticconstexpr |
|
staticconstexpr |
|
protected |
|
protected |