dune-functions 2.10
Loading...
Searching...
No Matches
Dune::Functions::RefinedLagrangePreBasis< GV, k, R > Class Template Reference

A pre-basis for a refined Lagrange bases. More...

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

Inheritance diagram for Dune::Functions::RefinedLagrangePreBasis< GV, k, R >:
Inheritance graph

Public Types

using GridView = GV
 The grid view that the FE basis is defined on.
using Node = RefinedLagrangeNode<GV, k, R>
 Type of the refined Lagrange tree node.
using size_type = std::size_t
 Type used for index digits.

Public Member Functions

 RefinedLagrangePreBasis (const GridView &gv)
 Constructor for a given grid view object.
Node makeNode () const
 Create tree node.
void initializeIndices ()
 Initialize the global index information.
const GridView & gridView () const
 Export the stored GridView.
void update (const GridView &gv)
 Update the stored GridView.
size_type dimension () const
 Return total number of basis functions.
size_type maxNodeSize () const
 Return maximal number of basis functions per element.
template<class Node, class It>
It indices (const Node &node, It it) const
 Fill cache with global indices of DOFs associated to the given bound node.
size_type size (const SizePrefix &prefix) const
 Return number of possible values for next position in multi index.
auto containerDescriptor () const
 Return a flat container-descriptor.

Static Public Member Functions

static constexpr unsigned int order ()
 Polynomial order used in the local Lagrange finite-elements.

Static Public Attributes

static constexpr size_type maxMultiIndexSize
 Maximal length of global multi-indices.
static constexpr size_type minMultiIndexSize
 Minimal length of global multi-indices.
static constexpr size_type multiIndexBufferSize
 Size required temporarily when constructing global multi-indices.

Protected Attributes

GridView gridView_
Dune::MultipleCodimMultipleGeomTypeMapper< GridView > mapper_
std::size_t maxNodeSize_

Detailed Description

template<typename GV, int k, typename R = double>
class Dune::Functions::RefinedLagrangePreBasis< GV, k, R >

A pre-basis for a refined Lagrange bases.

Template Parameters
GVThe grid view that the FE basis is defined on
kThe polynomial order of ansatz functions
RRange field-type used for shape function values
Note
This only works for simplex grids.

Member Typedef Documentation

◆ GridView

template<typename GV, int k, typename R = double>
using Dune::Functions::RefinedLagrangePreBasis< GV, k, R >::GridView = GV

The grid view that the FE basis is defined on.

◆ Node

template<typename GV, int k, typename R = double>
using Dune::Functions::RefinedLagrangePreBasis< GV, k, R >::Node = RefinedLagrangeNode<GV, k, R>

Type of the refined Lagrange tree node.

◆ size_type

template<typename GV>
using Dune::Functions::LeafPreBasisMapperMixin< GV >::size_type = std::size_t
inherited

Type used for index digits.

Constructor & Destructor Documentation

◆ RefinedLagrangePreBasis()

template<typename GV, int k, typename R = double>
Dune::Functions::RefinedLagrangePreBasis< GV, k, R >::RefinedLagrangePreBasis ( const GridView & gv)
inline

Constructor for a given grid view object.

Parameters
gvThe GridView the basis is defined on.
Exceptions
Dune::NotImplementedIf an element of type !simplex is found.

Member Function Documentation

◆ containerDescriptor()

Return a flat container-descriptor.

◆ dimension()

template<typename GV>
size_type Dune::Functions::LeafPreBasisMapperMixin< GV >::dimension ( ) const
inlineinherited

Return total number of basis functions.

◆ gridView()

template<typename GV>
const GridView & Dune::Functions::LeafPreBasisMapperMixin< GV >::gridView ( ) const
inlineinherited

Export the stored GridView.

◆ indices()

template<typename GV>
template<class Node, class It>
It Dune::Functions::LeafPreBasisMapperMixin< GV >::indices ( const Node & node,
It it ) const
inlineinherited

Fill cache with global indices of DOFs associated to the given bound node.

◆ initializeIndices()

template<typename GV>
void Dune::Functions::LeafPreBasisMapperMixin< GV >::initializeIndices ( )
inlineinherited

Initialize the global index information.

◆ makeNode()

template<typename GV, int k, typename R = double>
Node Dune::Functions::RefinedLagrangePreBasis< GV, k, R >::makeNode ( ) const
inline

Create tree node.

◆ maxNodeSize()

template<typename GV>
size_type Dune::Functions::LeafPreBasisMapperMixin< GV >::maxNodeSize ( ) const
inlineinherited

Return maximal number of basis functions per element.

◆ order()

template<typename GV, int k, typename R = double>
constexpr unsigned int Dune::Functions::RefinedLagrangePreBasis< GV, k, R >::order ( )
inlinestaticconstexpr

Polynomial order used in the local Lagrange finite-elements.

Note
The local function is of order k only in subdomains of the element. It might be necessary to use a subdivided quadrature rule for integration.

◆ size()

size_type Dune::Functions::LeafPreBasisMixin< LeafPreBasisMapperMixin< GV > >::size ( const SizePrefix & prefix) const
inlineinherited

Return number of possible values for next position in multi index.

◆ update()

template<typename GV>
void Dune::Functions::LeafPreBasisMapperMixin< GV >::update ( const GridView & gv)
inlineinherited

Update the stored GridView.

Member Data Documentation

◆ gridView_

template<typename GV>
GridView Dune::Functions::LeafPreBasisMapperMixin< GV >::gridView_
protectedinherited

◆ mapper_

template<typename GV>
Dune::MultipleCodimMultipleGeomTypeMapper<GridView> Dune::Functions::LeafPreBasisMapperMixin< GV >::mapper_
protectedinherited

◆ maxMultiIndexSize

size_type Dune::Functions::LeafPreBasisMixin< LeafPreBasisMapperMixin< GV > >::maxMultiIndexSize
staticconstexprinherited

Maximal length of global multi-indices.

◆ maxNodeSize_

template<typename GV>
std::size_t Dune::Functions::LeafPreBasisMapperMixin< GV >::maxNodeSize_
protectedinherited

◆ minMultiIndexSize

size_type Dune::Functions::LeafPreBasisMixin< LeafPreBasisMapperMixin< GV > >::minMultiIndexSize
staticconstexprinherited

Minimal length of global multi-indices.

◆ multiIndexBufferSize

size_type Dune::Functions::LeafPreBasisMixin< LeafPreBasisMapperMixin< GV > >::multiIndexBufferSize
staticconstexprinherited

Size required temporarily when constructing global multi-indices.


The documentation for this class was generated from the following file: