DUNE PDELab (2.8)

Dune::Functions::HierarchicalLagrangePreBasis< GV, k, MI, R > Class Template Reference

A pre-basis for a hierarchical basis. More...

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

Public Types

using GridView = GV
 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 = HierarchicalLagrangeNode< GV, k, R >
 Template mapping root tree path to type of created tree node.
 
using IndexSet = Impl::DefaultNodeIndexSet< HierarchicalLagrangePreBasis >
 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, 1 >
 Type used for prefixes handed to the size() method.
 

Public Member Functions

 HierarchicalLagrangePreBasis (const GridView &gv)
 Constructor for a given grid view object with layout for second order. 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 & MultipleCodimMultipleGeomTypeMapper, 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. More...
 

Detailed Description

template<typename GV, int k, class MI, typename R>
class Dune::Functions::HierarchicalLagrangePreBasis< GV, k, MI, R >

A pre-basis for a hierarchical basis.

Template Parameters
GVThe grid view that the FE basis is defined on
kThe polynomial order of ansatz functions (limited to second order till now)
MIType to be used for multi-indices
RRange type used for shape function values

Constructor & Destructor Documentation

◆ HierarchicalLagrangePreBasis()

template<typename GV , int k, class MI , typename R >
Dune::Functions::HierarchicalLagrangePreBasis< GV, k, MI, R >::HierarchicalLagrangePreBasis ( const GridView gv)
inline

Constructor for a given grid view object with layout for second order.

(adjust for higher-orders)

Member Function Documentation

◆ makeIndexSet()

template<typename GV , int k, class MI , typename R >
IndexSet Dune::Functions::HierarchicalLagrangePreBasis< GV, k, MI, R >::makeIndexSet ( ) const
inline

Create tree node index set.

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

◆ maxNodeSize()

template<typename GV , int k, class MI , typename R >
size_type Dune::Functions::HierarchicalLagrangePreBasis< GV, k, MI, R >::maxNodeSize ( ) const
inline

Get the maximal number of DOFs associated to node for any element.

See https://en.wikipedia.org/wiki/Figurate_number for an explanation of the formula

References Dune::binomial().


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