dune-functions 2.8.0
Loading...
Searching...
No Matches
Public Types | Public Member Functions | Static Public Attributes | Protected 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.
 
using size_type = std::size_t
 
using Node = LagrangeDGNode< GV, k >
 
using IndexSet = Impl::DefaultNodeIndexSet< LagrangeDGPreBasis >
 Type of created tree node index set.
 
using MultiIndex = MI
 Type used for global numbering of the basis vectors.
 
using SizePrefix = Dune::ReservedVector< size_type, 1 >
 

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.
 
IndexSet makeIndexSet () const
 Create tree node index set.
 
size_type size () const
 
size_type size (const SizePrefix prefix) const
 Return number possible values for next position in multi index.
 
size_type dimension () const
 
size_type maxNodeSize () const
 
template<typename It >
It indices (const Node &node, It it) const
 

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
 

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, 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 = Impl::DefaultNodeIndexSet<LagrangeDGPreBasis>

Type of created tree node index set.

Deprecated:

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

◆ indices()

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

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

Deprecated:

◆ 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_
protected

◆ hexahedronOffset_

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

◆ prismOffset_

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

◆ pyramidOffset_

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

◆ quadrilateralOffset_

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

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