dune-functions 2.8.0
Loading...
Searching...
No Matches
Public Types | Public Member Functions | Protected Attributes | List of all members
Dune::Functions::RannacherTurekPreBasis< GV, MI > Class Template Reference

Pre-basis for a Rannacher-Turek basis. More...

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

Public Types

using GridView = GV
 The grid view that the FE basis is defined on. More...
 
using size_type = std::size_t
 Type used for indices and size information. More...
 
using Node = RannacherTurekNode< GV >
 Template mapping root tree path to type of created tree node. More...
 
using IndexSet = Impl::DefaultNodeIndexSet< RannacherTurekPreBasis >
 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 >
 Type used for prefixes handed to the size() method. More...
 

Public Member Functions

 RannacherTurekPreBasis (const GridView &gv)
 Constructor for a given grid view object. More...
 
void initializeIndices ()
 Initialize the global indices. More...
 
const GridViewgridView () const
 Obtain the grid view that the basis is defined on. More...
 
void update (const GridView &gv)
 Update the stored grid view, to be called if the grid has changed. More...
 
Node makeNode () const
 Create tree node. More...
 
IndexSet makeIndexSet () const
 Create tree node index set. More...
 
size_type size () const
 Same as size(prefix) with empty prefix. More...
 
size_type size (const SizePrefix prefix) const
 Return number of possible values for next position in multi index. More...
 
size_type dimension () const
 Get the total dimension of the space spanned by this basis. More...
 
size_type maxNodeSize () const
 Get the maximal number of DOFs associated to node for any element. More...
 
template<typename It >
It indices (const Node &node, It it) const
 

Protected Attributes

GridView gridView_
 

Detailed Description

template<typename GV, class MI>
class Dune::Functions::RannacherTurekPreBasis< GV, MI >

Pre-basis for a Rannacher-Turek basis.

These are Crouzeix-Raviart-elements for quadrilateral elements. See Rolf Rannacher and Stefan Turek. Simple nonconforming quadrilateral Stokes element. Numerical Methods for Partial Differential Equations, 8:97–111, 1992.

Template Parameters
GVThe grid view that the FE basis is defined on
MIType to be used for multi-indices

Member Typedef Documentation

◆ GridView

template<typename GV , class MI >
using Dune::Functions::RannacherTurekPreBasis< GV, MI >::GridView = GV

The grid view that the FE basis is defined on.

◆ IndexSet

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

Type of created tree node index set.

Deprecated:

◆ MultiIndex

template<typename GV , class MI >
using Dune::Functions::RannacherTurekPreBasis< GV, MI >::MultiIndex = MI

Type used for global numbering of the basis vectors.

◆ Node

template<typename GV , class MI >
using Dune::Functions::RannacherTurekPreBasis< GV, MI >::Node = RannacherTurekNode<GV>

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

◆ size_type

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

Type used for indices and size information.

◆ SizePrefix

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

Type used for prefixes handed to the size() method.

Constructor & Destructor Documentation

◆ RannacherTurekPreBasis()

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

Constructor for a given grid view object.

Member Function Documentation

◆ dimension()

template<typename GV , class MI >
size_type Dune::Functions::RannacherTurekPreBasis< GV, MI >::dimension ( ) const
inline

Get the total dimension of the space spanned by this basis.

◆ gridView()

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

Obtain the grid view that the basis is defined on.

◆ indices()

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

◆ initializeIndices()

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

Initialize the global indices.

◆ makeIndexSet()

template<typename GV , class MI >
IndexSet Dune::Functions::RannacherTurekPreBasis< GV, 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 , class MI >
Node Dune::Functions::RannacherTurekPreBasis< GV, MI >::makeNode ( ) const
inline

Create tree node.

◆ maxNodeSize()

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

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

◆ size() [1/2]

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

Same as size(prefix) with empty prefix.

◆ size() [2/2]

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

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

◆ update()

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

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

Member Data Documentation

◆ gridView_

template<typename GV , class MI >
GridView Dune::Functions::RannacherTurekPreBasis< GV, MI >::gridView_
protected

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