dune-functions  2.6-dev
Public Types | Public Member Functions | Public Attributes | Static Public Attributes | Protected Attributes | List of all members
Dune::Functions::RaviartThomasPreBasis< GV, k, MI, ST, basic_type > Class Template Reference

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

Public Types

using GridView = GV
 The grid view that the FE space is defined on. More...
 
using size_type = ST
 
template<class TP >
using Node = RaviartThomasNode< GV, k, size_type, TP, basic_type >
 
template<class TP >
using IndexSet = RaviartThomasNodeIndexSet< GV, k, MI, TP, ST, basic_type >
 
using MultiIndex = MI
 Type used for global numbering of the basis vectors. More...
 
using SizePrefix = Dune::ReservedVector< size_type, 1 >
 

Public Member Functions

 RaviartThomasPreBasis (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)
 
template<class TP >
Node< TP > node (const TP &tp) const
 
template<class TP >
IndexSet< TP > indexSet () const
 
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
 

Public Attributes

const std::vector< int > dofsPerCodim {dofsPerElement, dofsPerFace}
 

Static Public Attributes

static const int dofsPerFace = dim == 2 ? k+1 : 3*k+1
 
static const int dofsPerElement = dim == 2 ? (basic_type == GeometryType::cube ? k*(k+1)*dim : k*dim) : k*(k+1)*(k+1)*dim
 

Protected Attributes

const GridView gridView_
 
std::vector< size_t > codimOffset_
 
FiniteElementMap finiteElementMap_
 

Member Typedef Documentation

◆ GridView

template<typename GV , int k, class MI , class ST , GeometryType::BasicType basic_type>
using Dune::Functions::RaviartThomasPreBasis< GV, k, MI, ST, basic_type >::GridView = GV

The grid view that the FE space is defined on.

◆ IndexSet

template<typename GV , int k, class MI , class ST , GeometryType::BasicType basic_type>
template<class TP >
using Dune::Functions::RaviartThomasPreBasis< GV, k, MI, ST, basic_type >::IndexSet = RaviartThomasNodeIndexSet<GV, k, MI, TP, ST, basic_type>

◆ MultiIndex

template<typename GV , int k, class MI , class ST , GeometryType::BasicType basic_type>
using Dune::Functions::RaviartThomasPreBasis< GV, k, MI, ST, basic_type >::MultiIndex = MI

Type used for global numbering of the basis vectors.

◆ Node

template<typename GV , int k, class MI , class ST , GeometryType::BasicType basic_type>
template<class TP >
using Dune::Functions::RaviartThomasPreBasis< GV, k, MI, ST, basic_type >::Node = RaviartThomasNode<GV, k, size_type, TP, basic_type>

◆ size_type

template<typename GV , int k, class MI , class ST , GeometryType::BasicType basic_type>
using Dune::Functions::RaviartThomasPreBasis< GV, k, MI, ST, basic_type >::size_type = ST

◆ SizePrefix

template<typename GV , int k, class MI , class ST , GeometryType::BasicType basic_type>
using Dune::Functions::RaviartThomasPreBasis< GV, k, MI, ST, basic_type >::SizePrefix = Dune::ReservedVector<size_type, 1>

Constructor & Destructor Documentation

◆ RaviartThomasPreBasis()

template<typename GV , int k, class MI , class ST , GeometryType::BasicType basic_type>
Dune::Functions::RaviartThomasPreBasis< GV, k, MI, ST, basic_type >::RaviartThomasPreBasis ( const GridView gv)
inline

Constructor for a given grid view object.

Member Function Documentation

◆ dimension()

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

◆ gridView()

template<typename GV , int k, class MI , class ST , GeometryType::BasicType basic_type>
const GridView& Dune::Functions::RaviartThomasPreBasis< GV, k, MI, ST, basic_type >::gridView ( ) const
inline

Obtain the grid view that the basis is defined on.

◆ indexSet()

template<typename GV , int k, class MI , class ST , GeometryType::BasicType basic_type>
template<class TP >
IndexSet<TP> Dune::Functions::RaviartThomasPreBasis< GV, k, MI, ST, basic_type >::indexSet ( ) const
inline

◆ initializeIndices()

template<typename GV , int k, class MI , class ST , GeometryType::BasicType basic_type>
void Dune::Functions::RaviartThomasPreBasis< GV, k, MI, ST, basic_type >::initializeIndices ( )
inline

◆ maxNodeSize()

template<typename GV , int k, class MI , class ST , GeometryType::BasicType basic_type>
size_type Dune::Functions::RaviartThomasPreBasis< GV, k, MI, ST, basic_type >::maxNodeSize ( ) const
inline

◆ node()

template<typename GV , int k, class MI , class ST , GeometryType::BasicType basic_type>
template<class TP >
Node<TP> Dune::Functions::RaviartThomasPreBasis< GV, k, MI, ST, basic_type >::node ( const TP &  tp) const
inline

◆ size() [1/2]

template<typename GV , int k, class MI , class ST , GeometryType::BasicType basic_type>
size_type Dune::Functions::RaviartThomasPreBasis< GV, k, MI, ST, basic_type >::size ( ) const
inline

◆ size() [2/2]

template<typename GV , int k, class MI , class ST , GeometryType::BasicType basic_type>
size_type Dune::Functions::RaviartThomasPreBasis< GV, k, MI, ST, basic_type >::size ( const SizePrefix  prefix) const
inline

Return number possible values for next position in multi index.

◆ update()

template<typename GV , int k, class MI , class ST , GeometryType::BasicType basic_type>
void Dune::Functions::RaviartThomasPreBasis< GV, k, MI, ST, basic_type >::update ( const GridView gv)
inline

Member Data Documentation

◆ codimOffset_

template<typename GV , int k, class MI , class ST , GeometryType::BasicType basic_type>
std::vector<size_t> Dune::Functions::RaviartThomasPreBasis< GV, k, MI, ST, basic_type >::codimOffset_
protected

◆ dofsPerCodim

template<typename GV , int k, class MI , class ST , GeometryType::BasicType basic_type>
const std::vector<int> Dune::Functions::RaviartThomasPreBasis< GV, k, MI, ST, basic_type >::dofsPerCodim {dofsPerElement, dofsPerFace}

◆ dofsPerElement

template<typename GV , int k, class MI , class ST , GeometryType::BasicType basic_type>
const int Dune::Functions::RaviartThomasPreBasis< GV, k, MI, ST, basic_type >::dofsPerElement = dim == 2 ? (basic_type == GeometryType::cube ? k*(k+1)*dim : k*dim) : k*(k+1)*(k+1)*dim
static

◆ dofsPerFace

template<typename GV , int k, class MI , class ST , GeometryType::BasicType basic_type>
const int Dune::Functions::RaviartThomasPreBasis< GV, k, MI, ST, basic_type >::dofsPerFace = dim == 2 ? k+1 : 3*k+1
static

◆ finiteElementMap_

template<typename GV , int k, class MI , class ST , GeometryType::BasicType basic_type>
FiniteElementMap Dune::Functions::RaviartThomasPreBasis< GV, k, MI, ST, basic_type >::finiteElementMap_
protected

◆ gridView_

template<typename GV , int k, class MI , class ST , GeometryType::BasicType basic_type>
const GridView Dune::Functions::RaviartThomasPreBasis< GV, k, MI, ST, basic_type >::gridView_
protected

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