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

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...
 
size_type size () const
 
template<class SizePrefix >
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
 
template<typename It >
It indices (const Node &node, It it) const
 
unsigned int order () const
 Polynomial order used in the local Lagrange finite-elements. More...
 

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
 
static constexpr size_type maxMultiIndexSize = 1
 
static constexpr size_type minMultiIndexSize = 1
 
static constexpr size_type multiIndexBufferSize = 1
 

Protected Attributes

GridView gridView_
 
size_t quadrilateralOffset_
 
size_t pyramidOffset_
 
size_t prismOffset_
 
size_t hexahedronOffset_
 

Member Typedef Documentation

◆ GridView

template<typename GV , int k>
using Dune::Functions::LagrangeDGPreBasis< GV, k >::GridView = GV

The grid view that the FE space is defined on.

◆ Node

template<typename GV , int k>
using Dune::Functions::LagrangeDGPreBasis< GV, k >::Node = LagrangeDGNode<GV, k>

◆ size_type

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

Constructor & Destructor Documentation

◆ LagrangeDGPreBasis()

template<typename GV , int k>
Dune::Functions::LagrangeDGPreBasis< GV, k >::LagrangeDGPreBasis ( const GridView gv)
inline

Constructor for a given grid view object.

Member Function Documentation

◆ dimension()

template<typename GV , int k>
size_type Dune::Functions::LagrangeDGPreBasis< GV, k >::dimension ( ) const
inline
Todo:
This method has been added to the interface without prior discussion.

◆ gridView()

template<typename GV , int k>
const GridView & Dune::Functions::LagrangeDGPreBasis< GV, k >::gridView ( ) const
inline

Obtain the grid view that the basis is defined on.

◆ indices()

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

◆ initializeIndices()

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

◆ makeNode()

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

Create tree node.

◆ maxNodeSize()

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

◆ order()

template<typename GV , int k>
unsigned int Dune::Functions::LagrangeDGPreBasis< GV, k >::order ( ) const
inline

Polynomial order used in the local Lagrange finite-elements.

◆ size() [1/2]

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

◆ size() [2/2]

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

Return number possible values for next position in multi index.

◆ update()

template<typename GV , int k>
void Dune::Functions::LagrangeDGPreBasis< GV, k >::update ( const GridView gv)
inline

Member Data Documentation

◆ dofsPerEdge

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

◆ dofsPerHexahedron

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

◆ dofsPerPrism

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

◆ dofsPerPyramid

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

◆ dofsPerQuad

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

◆ dofsPerTetrahedron

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

◆ dofsPerTriangle

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

◆ gridView_

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

◆ hexahedronOffset_

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

◆ maxMultiIndexSize

template<typename GV , int k>
constexpr size_type Dune::Functions::LagrangeDGPreBasis< GV, k >::maxMultiIndexSize = 1
staticconstexpr

◆ minMultiIndexSize

template<typename GV , int k>
constexpr size_type Dune::Functions::LagrangeDGPreBasis< GV, k >::minMultiIndexSize = 1
staticconstexpr

◆ multiIndexBufferSize

template<typename GV , int k>
constexpr size_type Dune::Functions::LagrangeDGPreBasis< GV, k >::multiIndexBufferSize = 1
staticconstexpr

◆ prismOffset_

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

◆ pyramidOffset_

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

◆ quadrilateralOffset_

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

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