dune-functions 2.10
Loading...
Searching...
No Matches
Dune::Functions::LagrangeDGPreBasis< GV, k > Class Template Reference

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

Inheritance diagram for Dune::Functions::LagrangeDGPreBasis< GV, k >:
Inheritance graph

Public Types

using GridView = GV
 The grid view that the FE space is defined on.
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.
void initializeIndices ()
const GridViewgridView () const
 Obtain the grid view that the basis is defined on.
void update (const GridView &gv)
Node makeNode () const
 Create tree node.
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.
size_type size (const SizePrefix &prefix) const
 Return number of possible values for next position in multi index.
auto containerDescriptor () const
 Return a flat container-descriptor.

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
 Maximal length of global multi-indices.
static constexpr size_type minMultiIndexSize
 Minimal length of global multi-indices.
static constexpr size_type multiIndexBufferSize
 Size required temporarily when constructing global multi-indices.

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

◆ containerDescriptor()

auto Dune::Functions::LeafPreBasisMixin< LagrangeDGPreBasis< GV, k > >::containerDescriptor ( ) const
inlineinherited

Return a flat container-descriptor.

◆ dimension()

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

◆ 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()

size_type Dune::Functions::LeafPreBasisMixin< LagrangeDGPreBasis< GV, k > >::size ( const SizePrefix & prefix) const
inlineinherited

Return number of 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

size_type Dune::Functions::LeafPreBasisMixin< LagrangeDGPreBasis< GV, k > >::maxMultiIndexSize
staticconstexprinherited

Maximal length of global multi-indices.

◆ minMultiIndexSize

size_type Dune::Functions::LeafPreBasisMixin< LagrangeDGPreBasis< GV, k > >::minMultiIndexSize
staticconstexprinherited

Minimal length of global multi-indices.

◆ multiIndexBufferSize

size_type Dune::Functions::LeafPreBasisMixin< LagrangeDGPreBasis< GV, k > >::multiIndexBufferSize
staticconstexprinherited

Size required temporarily when constructing global multi-indices.

◆ 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: