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

#include <dune/functions/functionspacebases/lagrangedgbasis.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 = LagrangeDGNode< GV, k >
 
using IndexSet = LagrangeDGNodeIndexSet< GV, k, MI >
 
using MultiIndex = MI
 Type used for global numbering of the basis vectors. More...
 
using SizePrefix = Dune::ReservedVector< size_type, 1 >
 

Public Member Functions

 LagrangeDGPreBasis (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
 

Public Attributes

GridView gridView_
 
size_t quadrilateralOffset_
 
size_t pyramidOffset_
 
size_t prismOffset_
 
size_t hexahedronOffset_
 

Static Public Attributes

static const int dofsPerEdge = k+1
 
static const int dofsPerTriangle = (k+1)*(k+2)/2
 
static const int dofsPerQuad = (k+1)*(k+1)
 
static const int dofsPerTetrahedron = (k+1)*(k+2)*(k+3)/6
 
static const int dofsPerPrism = (k+1)*(k+1)*(k+2)/2
 
static const int dofsPerHexahedron = (k+1)*(k+1)*(k+1)
 
static const int dofsPerPyramid = (k+1)*(k+2)*(2*k+3)/6
 

Member Typedef Documentation

◆ GridView

template<typename GV , int k, class MI >
using Dune::Functions::LagrangeDGPreBasis< 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::LagrangeDGPreBasis< GV, k, MI >::IndexSet = LagrangeDGNodeIndexSet<GV, k, MI>

◆ MultiIndex

template<typename GV , int k, class MI >
using Dune::Functions::LagrangeDGPreBasis< 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::LagrangeDGPreBasis< GV, k, MI >::Node = LagrangeDGNode<GV, k>

◆ size_type

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

◆ SizePrefix

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

Constructor & Destructor Documentation

◆ LagrangeDGPreBasis()

template<typename GV , int k, class MI >
Dune::Functions::LagrangeDGPreBasis< GV, k, MI >::LagrangeDGPreBasis ( 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::LagrangeDGPreBasis< 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::LagrangeDGPreBasis< GV, k, MI >::gridView ( ) const
inline

Obtain the grid view that the basis is defined on.

◆ initializeIndices()

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

◆ makeIndexSet()

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

Create tree node index set.

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

◆ makeNode()

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

Create tree node.

◆ maxNodeSize()

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

◆ size() [1/2]

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

◆ size() [2/2]

template<typename GV , int k, class MI >
size_type Dune::Functions::LagrangeDGPreBasis< 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::LagrangeDGPreBasis< GV, k, MI >::update ( const GridView gv)
inline

Member Data Documentation

◆ dofsPerEdge

template<typename GV , int k, class MI >
const int Dune::Functions::LagrangeDGPreBasis< GV, k, MI >::dofsPerEdge = k+1
static

◆ dofsPerHexahedron

template<typename GV , int k, class MI >
const int Dune::Functions::LagrangeDGPreBasis< GV, k, MI >::dofsPerHexahedron = (k+1)*(k+1)*(k+1)
static

◆ dofsPerPrism

template<typename GV , int k, class MI >
const int Dune::Functions::LagrangeDGPreBasis< GV, k, MI >::dofsPerPrism = (k+1)*(k+1)*(k+2)/2
static

◆ dofsPerPyramid

template<typename GV , int k, class MI >
const int Dune::Functions::LagrangeDGPreBasis< GV, k, MI >::dofsPerPyramid = (k+1)*(k+2)*(2*k+3)/6
static

◆ dofsPerQuad

template<typename GV , int k, class MI >
const int Dune::Functions::LagrangeDGPreBasis< GV, k, MI >::dofsPerQuad = (k+1)*(k+1)
static

◆ dofsPerTetrahedron

template<typename GV , int k, class MI >
const int Dune::Functions::LagrangeDGPreBasis< GV, k, MI >::dofsPerTetrahedron = (k+1)*(k+2)*(k+3)/6
static

◆ dofsPerTriangle

template<typename GV , int k, class MI >
const int Dune::Functions::LagrangeDGPreBasis< GV, k, MI >::dofsPerTriangle = (k+1)*(k+2)/2
static

◆ gridView_

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

◆ hexahedronOffset_

template<typename GV , int k, class MI >
size_t Dune::Functions::LagrangeDGPreBasis< GV, k, MI >::hexahedronOffset_

◆ prismOffset_

template<typename GV , int k, class MI >
size_t Dune::Functions::LagrangeDGPreBasis< GV, k, MI >::prismOffset_

◆ pyramidOffset_

template<typename GV , int k, class MI >
size_t Dune::Functions::LagrangeDGPreBasis< GV, k, MI >::pyramidOffset_

◆ quadrilateralOffset_

template<typename GV , int k, class MI >
size_t Dune::Functions::LagrangeDGPreBasis< GV, k, MI >::quadrilateralOffset_

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