Dune-Functions 2.11
Loading...
Searching...
No Matches
Dune::Functions::MorleyPreBasis< GV, R > Class Template Reference

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

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

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

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 = MorleyNode<GridView, R>
 Template mapping root tree path to type of created tree node.

Public Member Functions

 MorleyPreBasis (const GV &gv)
 Constructor for a given grid view object.
void update (GridView const &gv)
 Update the stored grid view, to be called if the grid has changed.
Node makeNode () const
 Create tree node.
void initializeIndices ()
 Initialize the global index information.
const GridViewgridView () const
 Export 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 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

SubEntityMapper mapper_
std::vector< std::bitset< 3 > > data_
GridView gridView_
std::size_t maxNodeSize_

Detailed Description

template<class GV, class R>
class Dune::Functions::MorleyPreBasis< GV, R >

A pre-basis for a Morleybasis.

Template Parameters
GVThe grid view that the FE basis is defined on
RRange type used for shape function values
Note
This only works for simplex grids

Member Typedef Documentation

◆ GridView

template<class GV, class R>
using Dune::Functions::MorleyPreBasis< GV, R >::GridView = GV

The grid view that the FE basis is defined on.

◆ Node

template<class GV, class R>
using Dune::Functions::MorleyPreBasis< GV, R >::Node = MorleyNode<GridView, R>

Template mapping root tree path to type of created tree node.

◆ size_type

template<class GV, class R>
using Dune::Functions::MorleyPreBasis< GV, R >::size_type = std::size_t

Type used for indices and size information.

Constructor & Destructor Documentation

◆ MorleyPreBasis()

template<class GV, class R>
Dune::Functions::MorleyPreBasis< GV, R >::MorleyPreBasis ( const GV & gv)
inline

Constructor for a given grid view object.

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<class GV, class R>
Node Dune::Functions::MorleyPreBasis< GV, 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.

◆ 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<class GV, class R>
void Dune::Functions::MorleyPreBasis< GV, R >::update ( GridView const & gv)
inline

Update the stored grid view, to be called if the grid has changed.

Member Data Documentation

◆ data_

template<class GV, class R>
std::vector<std::bitset<3> > Dune::Functions::MorleyPreBasis< GV, R >::data_
protected

◆ gridView_

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

◆ mapper_

template<class GV, class R>
SubEntityMapper Dune::Functions::MorleyPreBasis< GV, R >::mapper_
protected

◆ 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: