dune-functions  2.8.0
Public Types | Public Member Functions | Protected Attributes | List of all members
Dune::Functions::BrezziDouglasMariniPreBasis< GV, k, MI > Class Template Reference

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

Public Types

using GridView = GV
 The grid view that the FE space is defined on. More...
 
using size_type = std::size_t
 
using Node = BrezziDouglasMariniNode< GV, k >
 
using IndexSet = Impl::DefaultNodeIndexSet< BrezziDouglasMariniPreBasis >
 Type of created tree node index set. More...
 
using MultiIndex = MI
 Type used for global numbering of the basis vectors. More...
 
using SizePrefix = Dune::ReservedVector< size_type, 1 >
 

Public Member Functions

 BrezziDouglasMariniPreBasis (const GridView &gv)
 Constructor for a given grid view object. More...
 
void initializeIndices ()
 
const GridViewgridView () const
 Obtain the grid view that the basis is defined on. More...
 
void update (const GridView &gv)
 
Node makeNode () const
 Create tree node. More...
 
IndexSet makeIndexSet () const
 Create tree node index set. More...
 
size_type size () const
 
size_type size (const SizePrefix prefix) const
 Return number possible values for next position in multi index. More...
 
size_type dimension () const
 
size_type maxNodeSize () const
 
template<typename It >
It indices (const Node &node, It it) const
 Maps from subtree index set [0..size-1] to a globally unique multi index in global basis. More...
 

Protected Attributes

GridView gridView_
 
std::array< size_t, dim+1 > codimOffset_
 
FiniteElementMap finiteElementMap_
 
std::array< int, 2 > dofsPerCodim_ {{dim*(k-1)*3, dim+(k-1)}}
 

Member Typedef Documentation

◆ GridView

template<typename GV , int k, class MI >
using Dune::Functions::BrezziDouglasMariniPreBasis< GV, k, MI >::GridView = GV

The grid view that the FE space is defined on.

◆ IndexSet

template<typename GV , int k, class MI >
using Dune::Functions::BrezziDouglasMariniPreBasis< GV, k, MI >::IndexSet = Impl::DefaultNodeIndexSet<BrezziDouglasMariniPreBasis>

Type of created tree node index set.

Deprecated:

◆ MultiIndex

template<typename GV , int k, class MI >
using Dune::Functions::BrezziDouglasMariniPreBasis< GV, k, MI >::MultiIndex = MI

Type used for global numbering of the basis vectors.

◆ Node

template<typename GV , int k, class MI >
using Dune::Functions::BrezziDouglasMariniPreBasis< GV, k, MI >::Node = BrezziDouglasMariniNode<GV, k>

◆ size_type

template<typename GV , int k, class MI >
using Dune::Functions::BrezziDouglasMariniPreBasis< GV, k, MI >::size_type = std::size_t

◆ SizePrefix

template<typename GV , int k, class MI >
using Dune::Functions::BrezziDouglasMariniPreBasis< GV, k, MI >::SizePrefix = Dune::ReservedVector<size_type, 1>

Constructor & Destructor Documentation

◆ BrezziDouglasMariniPreBasis()

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

Constructor for a given grid view object.

Member Function Documentation

◆ dimension()

template<typename GV , int k, class MI >
size_type Dune::Functions::BrezziDouglasMariniPreBasis< GV, k, MI >::dimension ( ) const
inline
Todo:
This method has been added to the interface without prior discussion.

◆ gridView()

template<typename GV , int k, class MI >
const GridView& Dune::Functions::BrezziDouglasMariniPreBasis< GV, k, MI >::gridView ( ) const
inline

Obtain the grid view that the basis is defined on.

◆ indices()

template<typename GV , int k, class MI >
template<typename It >
It Dune::Functions::BrezziDouglasMariniPreBasis< GV, k, MI >::indices ( const Node node,
It  it 
) const
inline

Maps from subtree index set [0..size-1] to a globally unique multi index in global basis.

This assume dim \in \lbrace 2, 3 \rbrace.

◆ initializeIndices()

template<typename GV , int k, class MI >
void Dune::Functions::BrezziDouglasMariniPreBasis< GV, k, MI >::initializeIndices ( )
inline

◆ makeIndexSet()

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

Create tree node index set.

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

Deprecated:

◆ makeNode()

template<typename GV , int k, class MI >
Node Dune::Functions::BrezziDouglasMariniPreBasis< GV, k, MI >::makeNode ( ) const
inline

Create tree node.

◆ maxNodeSize()

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

◆ size() [1/2]

template<typename GV , int k, class MI >
size_type Dune::Functions::BrezziDouglasMariniPreBasis< GV, k, MI >::size ( ) const
inline

◆ size() [2/2]

template<typename GV , int k, class MI >
size_type Dune::Functions::BrezziDouglasMariniPreBasis< GV, k, MI >::size ( const SizePrefix  prefix) const
inline

Return number possible values for next position in multi index.

◆ update()

template<typename GV , int k, class MI >
void Dune::Functions::BrezziDouglasMariniPreBasis< GV, k, MI >::update ( const GridView gv)
inline

Member Data Documentation

◆ codimOffset_

template<typename GV , int k, class MI >
std::array<size_t,dim+1> Dune::Functions::BrezziDouglasMariniPreBasis< GV, k, MI >::codimOffset_
protected

◆ dofsPerCodim_

template<typename GV , int k, class MI >
std::array<int,2> Dune::Functions::BrezziDouglasMariniPreBasis< GV, k, MI >::dofsPerCodim_ {{dim*(k-1)*3, dim+(k-1)}}
protected

◆ finiteElementMap_

template<typename GV , int k, class MI >
FiniteElementMap Dune::Functions::BrezziDouglasMariniPreBasis< GV, k, MI >::finiteElementMap_
protected

◆ gridView_

template<typename GV , int k, class MI >
GridView Dune::Functions::BrezziDouglasMariniPreBasis< GV, k, MI >::gridView_
protected

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