dune-functions
2.9.0
|
Pre-basis for lowest order Taylor-Hood basis. More...
#include <dune/functions/functionspacebases/taylorhoodbasis.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 = TaylorHoodBasisTree< GV > |
Template mapping root tree path to type of created tree node. More... | |
Public Member Functions | |
TaylorHoodPreBasis (const GridView &gv) | |
Constructor for a given grid view object. More... | |
void | initializeIndices () |
Initialize the global indices. More... | |
const GridView & | gridView () 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 = useHybridIndices ? 3 : 2 |
static constexpr size_type | minMultiIndexSize = 2 |
static constexpr size_type | multiIndexBufferSize = maxMultiIndexSize |
Protected Member Functions | |
template<bool hi, class It , typename std::enable_if< not hi, int >::type = 0> | |
It | indicesImp (const Node &node, It multiIndices) const |
template<bool hi, class It , typename std::enable_if< hi, int >::type = 0> | |
It | indicesImp (const Node &node, It multiIndices) const |
Static Protected Member Functions | |
template<class MultiIndex > | |
static const void | multiIndexPushFront (MultiIndex &M, size_type M0) |
Protected Attributes | |
GridView | gridView_ |
PQ1PreBasis | pq1PreBasis_ |
PQ2PreBasis | pq2PreBasis_ |
Pre-basis for lowest order Taylor-Hood basis.
GV | The grid view that the FE basis is defined on |
HI | Flag to select hybrid indices |
using Dune::Functions::TaylorHoodPreBasis< GV, HI >::GridView = GV |
The grid view that the FE basis is defined on.
using Dune::Functions::TaylorHoodPreBasis< GV, HI >::Node = TaylorHoodBasisTree<GV> |
Template mapping root tree path to type of created tree node.
using Dune::Functions::TaylorHoodPreBasis< GV, HI >::size_type = std::size_t |
Type used for indices and size information.
|
inline |
Constructor for a given grid view object.
|
inline |
Get the total dimension of the space spanned by this basis.
|
inline |
Obtain the grid view that the basis is defined on.
|
inline |
|
inlineprotected |
|
inlineprotected |
|
inline |
Initialize the global indices.
|
inline |
Create tree node.
|
inline |
Get the maximal number of DOFs associated to node for any element.
|
inlinestaticprotected |
|
inline |
Same as size(prefix) with empty prefix.
|
inline |
Return number of possible values for next position in multi index.
|
inline |
Update the stored grid view, to be called if the grid has changed.
|
protected |
|
staticconstexpr |
|
staticconstexpr |
|
staticconstexpr |
|
protected |
|
protected |