Dune Core Modules (2.8.0)

Dune::Functions::Experimental::TransformedIndexPreBasis< MI, RPB, T > Class Template Reference

A pre-basis transforming multi-indices. More...

#include <dune/functions/functionspacebases/transformedindexbasis.hh>

Public Types

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.
 
using IndexSet = Impl::DefaultNodeIndexSet< TransformedIndexPreBasis >
 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()+1 >
 Type used for prefixes handed to the size() method.
 

Public Member Functions

template<class RPB_R , class T_R >
 TransformedIndexPreBasis (RPB_R &&rawPreBasis, T_R &&transformation)
 Constructor for given child pre-basis objects. More...
 
void initializeIndices ()
 Initialize the global indices.
 
const GridViewgridView () 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. More...
 
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.
 

Detailed Description

template<class MI, class RPB, class T>
class Dune::Functions::Experimental::TransformedIndexPreBasis< MI, RPB, T >

A pre-basis transforming multi-indices.

Warning
This is experimental and may be removed or modified in a non-compatible way. When using this functionality take care to follow the dune-functions development to be aware of possible changes.

This pre-basis wraps another pre-basis and transforms its global multi-indices.

Template Parameters
MIType to be used for global multi-indices
RPBRaw PreBasis to be wrapped
TClass of the index transformation

Member Typedef Documentation

◆ IndexSet

template<class MI , class RPB , class T >
using Dune::Functions::Experimental::TransformedIndexPreBasis< MI, RPB, T >::IndexSet = Impl::DefaultNodeIndexSet<TransformedIndexPreBasis>

Type of created tree node index set.

Deprecated:

Constructor & Destructor Documentation

◆ TransformedIndexPreBasis()

template<class MI , class RPB , class T >
template<class RPB_R , class T_R >
Dune::Functions::Experimental::TransformedIndexPreBasis< MI, RPB, T >::TransformedIndexPreBasis ( RPB_R &&  rawPreBasis,
T_R &&  transformation 
)
inline

Constructor for given child pre-basis objects.

The child pre-basis will be stored as copies

Member Function Documentation

◆ makeIndexSet()

template<class MI , class RPB , class T >
IndexSet Dune::Functions::Experimental::TransformedIndexPreBasis< MI, RPB, T >::makeIndexSet ( ) const
inline

Create tree node index set.

Create an index set suitable for the tree node obtained by makeNode().

Deprecated:

◆ makeNode()

template<class MI , class RPB , class T >
Node Dune::Functions::Experimental::TransformedIndexPreBasis< MI, RPB, T >::makeNode ( ) const
inline

Create tree node with given root tree path.

Template Parameters
TPType of root tree path
Parameters
tpRoot 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.


The documentation for this class was generated from the following file:
Creative Commons License   |  Legal Statements / Impressum  |  Hosted by TU Dresden  |  generated with Hugo v0.111.3 (Dec 22, 23:30, 2024)