dune-functions 2.9.0
|
A pre-basis for a PQ-lagrange bases with given order. More...
#include <dune/functions/functionspacebases/lagrangebasis.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 = LagrangeNode< GV, k, R > |
Template mapping root tree path to type of created tree node. More... | |
Public Member Functions | |
LagrangePreBasis (const GridView &gv) | |
Constructor for a given grid view object with compile-time order. More... | |
LagrangePreBasis (const GridView &gv, unsigned int order) | |
Constructor for a given grid view object and run-time order. 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 |
unsigned int | order () const |
Polynomial order used in the local Lagrange finite-elements. More... | |
Static Public Attributes | |
static constexpr size_type | maxMultiIndexSize = 1 |
static constexpr size_type | minMultiIndexSize = 1 |
static constexpr size_type | multiIndexBufferSize = 1 |
Protected Member Functions | |
size_type | dofsPerSimplex (std::size_t simplexDim) const |
Number of degrees of freedom assigned to a simplex (without the ones assigned to its faces!) More... | |
size_type | dofsPerCube (std::size_t cubeDim) const |
Number of degrees of freedom assigned to a cube (without the ones assigned to its faces!) More... | |
size_type | dofsPerPrism () const |
size_type | dofsPerPyramid () const |
size_type | computeDofsPerSimplex (std::size_t simplexDim) const |
Number of degrees of freedom assigned to a simplex (without the ones assigned to its faces!) More... | |
size_type | computeDofsPerCube (std::size_t cubeDim) const |
Number of degrees of freedom assigned to a cube (without the ones assigned to its faces!) More... | |
size_type | computeDofsPerPrism () const |
size_type | computeDofsPerPyramid () const |
Protected Attributes | |
GridView | gridView_ |
const unsigned int | order_ |
std::array< size_type, dim+1 > | dofsPerSimplex_ |
std::array< size_type, dim+1 > | dofsPerCube_ |
size_type | dofsPerPrism_ |
size_type | dofsPerPyramid_ |
size_type | vertexOffset_ |
size_type | edgeOffset_ |
size_type | triangleOffset_ |
size_type | quadrilateralOffset_ |
size_type | tetrahedronOffset_ |
size_type | pyramidOffset_ |
size_type | prismOffset_ |
size_type | hexahedronOffset_ |
A pre-basis for a PQ-lagrange bases with given order.
GV | The grid view that the FE basis is defined on |
k | The polynomial order of ansatz functions; -1 means 'order determined at run-time' |
R | Range type used for shape function values |
using Dune::Functions::LagrangePreBasis< GV, k, R >::GridView = GV |
The grid view that the FE basis is defined on.
using Dune::Functions::LagrangePreBasis< GV, k, R >::Node = LagrangeNode<GV, k, R> |
Template mapping root tree path to type of created tree node.
using Dune::Functions::LagrangePreBasis< GV, k, R >::size_type = std::size_t |
Type used for indices and size information.
|
inline |
Constructor for a given grid view object with compile-time order.
|
inline |
Constructor for a given grid view object and run-time order.
|
inlineprotected |
Number of degrees of freedom assigned to a cube (without the ones assigned to its faces!)
|
inlineprotected |
|
inlineprotected |
|
inlineprotected |
Number of degrees of freedom assigned to a simplex (without the ones assigned to its faces!)
|
inline |
Get the total dimension of the space spanned by this basis.
|
inlineprotected |
Number of degrees of freedom assigned to a cube (without the ones assigned to its faces!)
|
inlineprotected |
|
inlineprotected |
|
inlineprotected |
Number of degrees of freedom assigned to a simplex (without the ones assigned to its faces!)
|
inline |
Obtain the grid view that the basis is defined on.
|
inline |
|
inline |
Initialize the global indices.
|
inline |
Create tree node.
|
inline |
Get the maximal number of DOFs associated to node for any element.
|
inline |
Polynomial order used in the local Lagrange finite-elements.
|
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 |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
staticconstexpr |
|
staticconstexpr |
|
staticconstexpr |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |