Dune Core Modules (2.10.0)

Dune::Functions::PowerPreBasis< 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 Node = PowerBasisNode< typename SubPreBasis::Node, C >
 Template mapping root tree path to type of created tree node.
 
using size_type = typename Base::size_type
 Type used for indices and size information.
 
using IndexMergingStrategy = IMS
 Strategy used to merge the global indices of the child factories.
 
using GridView = typename SPB::GridView
 The grid view that the FE basis is defined on.
 

Public Member Functions

template<class... SFArgs, disableCopyMove< PowerPreBasis, SFArgs... > = 0, enableIfConstructible< SubPreBasis, SFArgs... > = 0>
 PowerPreBasis (SFArgs &&... sfArgs)
 Constructor for given child pre-basis objects for static size of the power-basis. More...
 
Node makeNode () const
 Create tree node.
 
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.
 
template<class NodeType , typename It , std::enable_if_t< NodeType::isPower, int > = 0>
It indices (const NodeType &node, It it) const
 Maps from subtree index set [0..size-1] to a globally unique multi index in global basis.
 
auto containerDescriptor () const
 Return the associated container descriptor.
 
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.
 
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 SubPreBasissubPreBasis () const
 Const access to the stored prebasis of the factor in the power space.
 
SubPreBasissubPreBasis ()
 Mutable access to the stored prebasis of the factor in the power space.
 

Static Public Attributes

static constexpr std::integral_constant< std::size_t, C > children = {}
 Number of children provided as an integral constant.
 

Detailed Description

template<class IMS, class SPB, std::size_t C>
class Dune::Functions::PowerPreBasis< 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
IMSAn IndexMergingStrategy used to merge the global indices of the child factories
SPBThe child pre-basis
CThe exponent of the power node

Constructor & Destructor Documentation

◆ PowerPreBasis()

template<class IMS , class SPB , std::size_t C>
template<class... SFArgs, disableCopyMove< PowerPreBasis, SFArgs... > = 0, enableIfConstructible< SubPreBasis, SFArgs... > = 0>
Dune::Functions::PowerPreBasis< IMS, SPB, C >::PowerPreBasis ( SFArgs &&...  sfArgs)
inlineexplicit

Constructor for given child pre-basis objects for static size of the power-basis.

The child factories will be stored as copies


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 26, 23:30, 2024)