dune-functions 2.9.0
Public Types | Public Member Functions | Static Public Attributes | Protected Attributes | List of all members
Dune::Functions::RannacherTurekPreBasis< GV > 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...
 

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...
 
size_type size () const
 Same as size(prefix) with empty prefix. More...
 
template<class SizePrefix >
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
 

Static Public Attributes

static constexpr size_type maxMultiIndexSize = 1
 
static constexpr size_type minMultiIndexSize = 1
 
static constexpr size_type multiIndexBufferSize = 1
 

Protected Attributes

GridView gridView_
 

Detailed Description

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

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

Member Typedef Documentation

◆ GridView

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

The grid view that the FE basis is defined on.

◆ Node

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

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

◆ size_type

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

Type used for indices and size information.

Constructor & Destructor Documentation

◆ RannacherTurekPreBasis()

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

Constructor for a given grid view object.

Member Function Documentation

◆ dimension()

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

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

◆ gridView()

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

Obtain the grid view that the basis is defined on.

◆ indices()

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

◆ initializeIndices()

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

Initialize the global indices.

◆ makeNode()

template<typename GV >
Node Dune::Functions::RannacherTurekPreBasis< GV >::makeNode ( ) const
inline

Create tree node.

◆ maxNodeSize()

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

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

◆ size() [1/2]

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

Same as size(prefix) with empty prefix.

◆ size() [2/2]

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

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

◆ update()

template<typename GV >
void Dune::Functions::RannacherTurekPreBasis< GV >::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 >
GridView Dune::Functions::RannacherTurekPreBasis< GV >::gridView_
protected

◆ maxMultiIndexSize

template<typename GV >
constexpr size_type Dune::Functions::RannacherTurekPreBasis< GV >::maxMultiIndexSize = 1
staticconstexpr

◆ minMultiIndexSize

template<typename GV >
constexpr size_type Dune::Functions::RannacherTurekPreBasis< GV >::minMultiIndexSize = 1
staticconstexpr

◆ multiIndexBufferSize

template<typename GV >
constexpr size_type Dune::Functions::RannacherTurekPreBasis< GV >::multiIndexBufferSize = 1
staticconstexpr

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