|
dune-functions 2.8.0
|
A pre-basis for composite bases. More...
#include <dune/functions/functionspacebases/compositebasis.hh>
Public Types | |
| using | SubPreBases = std::tuple< SPB... > |
| Tuple of child pre-bases. | |
| template<std::size_t i> | |
| using | SubPreBasis = std::tuple_element_t< i, SubPreBases > |
| Export individual child pre-bases by index. | |
| using | GridView = typename std::tuple_element_t< 0, SubPreBases >::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 pre-bases. | |
| using | Node = CompositeBasisNode< typename SPB::Node... > |
| Template mapping root tree path to type of created tree node. | |
| using | IndexSet = Impl::DefaultNodeIndexSet< CompositePreBasis > |
| Type of created tree node index set. | |
| 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< CompositePreBasis, SFArgs... > = 0, enableIfConstructible< std::tuple< SPB... >, SFArgs... > = 0> | |
| CompositePreBasis (SFArgs &&... sfArgs) | |
| 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. | |
| IndexSet | makeIndexSet () const |
| Create tree node index set. | |
| 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. | |
| template<std::size_t i> | |
| const SubPreBasis< i > & | subPreBasis (Dune::index_constant< i >={}) const |
| Const access to the stored prebasis of the factor in the power space. | |
| template<std::size_t i> | |
| SubPreBasis< i > & | subPreBasis (Dune::index_constant< i >={}) |
| 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. | |
Protected Types | |
| using | ChildIndices = std::make_index_sequence< children > |
Static Protected Attributes | |
| static const std::size_t | children = sizeof...(SPB) |
Detailed Description
class Dune::Functions::CompositePreBasis< MI, IMS, SPB >
A pre-basis for composite bases.
This pre-basis represents a composition of several given pre-bases. Its node type is a CompositeBasisNodes for the given subnodes.
- Template Parameters
-
MI Type to be used for global multi-indices IMS An IndexMergingStrategy used to merge the global indices of the child pre-bases SPB The child pre-bases
Member Typedef Documentation
◆ ChildIndices
|
protected |
◆ GridView
| using Dune::Functions::CompositePreBasis< MI, IMS, SPB >::GridView = typename std::tuple_element_t<0, SubPreBases>::GridView |
The grid view that the FE basis is defined on.
◆ IndexMergingStrategy
| using Dune::Functions::CompositePreBasis< MI, IMS, SPB >::IndexMergingStrategy = IMS |
Strategy used to merge the global indices of the child pre-bases.
◆ IndexSet
| using Dune::Functions::CompositePreBasis< MI, IMS, SPB >::IndexSet = Impl::DefaultNodeIndexSet<CompositePreBasis> |
Type of created tree node index set.
◆ MultiIndex
| using Dune::Functions::CompositePreBasis< MI, IMS, SPB >::MultiIndex = MI |
Type used for global numbering of the basis vectors.
◆ Node
| using Dune::Functions::CompositePreBasis< MI, IMS, SPB >::Node = CompositeBasisNode<typename SPB::Node...> |
Template mapping root tree path to type of created tree node.
◆ size_type
| using Dune::Functions::CompositePreBasis< MI, IMS, SPB >::size_type = std::size_t |
Type used for indices and size information.
◆ SizePrefix
| using Dune::Functions::CompositePreBasis< MI, IMS, SPB >::SizePrefix = Dune::ReservedVector<size_type, MultiIndex::max_size()> |
Type used for prefixes handed to the size() method.
◆ SubPreBases
| using Dune::Functions::CompositePreBasis< MI, IMS, SPB >::SubPreBases = std::tuple<SPB...> |
Tuple of child pre-bases.
◆ SubPreBasis
| using Dune::Functions::CompositePreBasis< MI, IMS, SPB >::SubPreBasis = std::tuple_element_t<i, SubPreBases> |
Export individual child pre-bases by index.
Constructor & Destructor Documentation
◆ CompositePreBasis()
|
inline |
Constructor for given child pre-basis objects.
The child pre-basis will be stored as copies
Member Function Documentation
◆ dimension()
|
inline |
Get the total dimension of the space spanned by this basis.
◆ gridView()
|
inline |
Obtain the grid view that the basis is defined on.
◆ indices()
|
inline |
Maps from subtree index set [0..size-1] to a globally unique multi index in global basis.
◆ initializeIndices()
|
inline |
Initialize the global indices.
◆ makeIndexSet()
|
inline |
Create tree node index set.
Create an index set suitable for the tree node obtained by makeNode().
◆ makeNode()
|
inline |
Create tree node.
◆ maxNodeSize()
|
inline |
Get the maximal number of DOFs associated to node for any element.
◆ size() [1/2]
|
inline |
Same as size(prefix) with empty prefix.
◆ size() [2/2]
|
inline |
Return number of possible values for next position in multi index.
◆ subPreBasis() [1/2]
|
inline |
Mutable access to the stored prebasis of the factor in the power space.
◆ subPreBasis() [2/2]
|
inline |
Const access to the stored prebasis of the factor in the power space.
◆ update()
|
inline |
Update the stored grid view, to be called if the grid has changed.
Member Data Documentation
◆ children
|
staticprotected |
The documentation for this class was generated from the following file:
Legal Statements / Impressum | Hosted by TU Dresden & Uni Heidelberg | Generated by
1.9.8