|
dune-functions 2.8.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. | |
| using | size_type = std::size_t |
| Type used for indices and size information. | |
| using | Node = LagrangeNode< GV, k, R > |
| Template mapping root tree path to type of created tree node. | |
| using | IndexSet = Impl::DefaultNodeIndexSet< LagrangePreBasis > |
| 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 > |
| Type used for prefixes handed to the size() method. | |
Public Member Functions | |
| LagrangePreBasis (const GridView &gv) | |
| Constructor for a given grid view object with compile-time order. | |
| LagrangePreBasis (const GridView &gv, unsigned int order) | |
| Constructor for a given grid view object and run-time order. | |
| void | initializeIndices () |
| Initialize the global indices. | |
| const GridView & | gridView () const |
| Obtain the grid view that the basis is defined on. | |
| void | update (const GridView &gv) |
| Update the stored grid view, to be called if the grid has changed. | |
| Node | makeNode () const |
| Create tree node. | |
| IndexSet | makeIndexSet () const |
| Create tree node index set. | |
| size_type | size () const |
| Same as size(prefix) with empty prefix. | |
| size_type | size (const SizePrefix prefix) const |
| Return number of possible values for next position in multi index. | |
| size_type | dimension () const |
| Get the total dimension of the space spanned by this basis. | |
| size_type | maxNodeSize () const |
| Get the maximal number of DOFs associated to node for any element. | |
| template<typename It > | |
| It | indices (const Node &node, It it) const |
Protected Member Functions | |
| unsigned int | order () const |
| size_type | dofsPerSimplex (std::size_t simplexDim) const |
| Number of degrees of freedom assigned to a simplex (without the ones assigned to its faces!) | |
| size_type | dofsPerCube (std::size_t cubeDim) const |
| Number of degrees of freedom assigned to a cube (without the ones assigned to its faces!) | |
| 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!) | |
| size_type | computeDofsPerCube (std::size_t cubeDim) const |
| Number of degrees of freedom assigned to a cube (without the ones assigned to its faces!) | |
| 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_ |
Detailed Description
class Dune::Functions::LagrangePreBasis< GV, k, MI, R >
A pre-basis for a PQ-lagrange bases with given order.
- Template Parameters
-
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' MI Type to be used for multi-indices R Range type used for shape function values
- Note
- This only works for certain grids. The following restrictions hold
- If k is no larger than 2, then the grids can have any dimension
- If k is larger than 3 then the grid must be two-dimensional
- If k is 3, then the grid can be 3d if it is a simplex grid
Member Typedef Documentation
◆ GridView
| using Dune::Functions::LagrangePreBasis< GV, k, MI, R >::GridView = GV |
The grid view that the FE basis is defined on.
◆ IndexSet
| using Dune::Functions::LagrangePreBasis< GV, k, MI, R >::IndexSet = Impl::DefaultNodeIndexSet<LagrangePreBasis> |
Type of created tree node index set.
◆ MultiIndex
| using Dune::Functions::LagrangePreBasis< GV, k, MI, R >::MultiIndex = MI |
Type used for global numbering of the basis vectors.
◆ Node
| using Dune::Functions::LagrangePreBasis< GV, k, MI, R >::Node = LagrangeNode<GV, k, R> |
Template mapping root tree path to type of created tree node.
◆ size_type
| using Dune::Functions::LagrangePreBasis< GV, k, MI, R >::size_type = std::size_t |
Type used for indices and size information.
◆ SizePrefix
| using Dune::Functions::LagrangePreBasis< GV, k, MI, R >::SizePrefix = Dune::ReservedVector<size_type, 1> |
Type used for prefixes handed to the size() method.
Constructor & Destructor Documentation
◆ LagrangePreBasis() [1/2]
|
inline |
Constructor for a given grid view object with compile-time order.
◆ LagrangePreBasis() [2/2]
|
inline |
Constructor for a given grid view object and run-time order.
Member Function Documentation
◆ computeDofsPerCube()
|
inlineprotected |
Number of degrees of freedom assigned to a cube (without the ones assigned to its faces!)
◆ computeDofsPerPrism()
|
inlineprotected |
◆ computeDofsPerPyramid()
|
inlineprotected |
◆ computeDofsPerSimplex()
|
inlineprotected |
Number of degrees of freedom assigned to a simplex (without the ones assigned to its faces!)
◆ dimension()
|
inline |
Get the total dimension of the space spanned by this basis.
◆ dofsPerCube()
|
inlineprotected |
Number of degrees of freedom assigned to a cube (without the ones assigned to its faces!)
◆ dofsPerPrism()
|
inlineprotected |
◆ dofsPerPyramid()
|
inlineprotected |
◆ dofsPerSimplex()
|
inlineprotected |
Number of degrees of freedom assigned to a simplex (without the ones assigned to its faces!)
◆ gridView()
|
inline |
Obtain the grid view that the basis is defined on.
◆ indices()
|
inline |
◆ initializeIndices()
|
inline |
Initialize the global indices.
◆ makeIndexSet()
|
inline |
Create tree node index set.
Create an index set suitable for the tree node obtained by makeNode().
◆ makeNode()
|
inline |
Create tree node.
◆ maxNodeSize()
|
inline |
Get the maximal number of DOFs associated to node for any element.
◆ order()
|
inlineprotected |
◆ size() [1/2]
|
inline |
Same as size(prefix) with empty prefix.
◆ size() [2/2]
|
inline |
Return number of possible values for next position in multi index.
◆ update()
|
inline |
Update the stored grid view, to be called if the grid has changed.
Member Data Documentation
◆ dofsPerCube_
|
protected |
◆ dofsPerPrism_
|
protected |
◆ dofsPerPyramid_
|
protected |
◆ dofsPerSimplex_
|
protected |
◆ edgeOffset_
|
protected |
◆ gridView_
|
protected |
◆ hexahedronOffset_
|
protected |
◆ order_
|
protected |
◆ prismOffset_
|
protected |
◆ pyramidOffset_
|
protected |
◆ quadrilateralOffset_
|
protected |
◆ tetrahedronOffset_
|
protected |
◆ triangleOffset_
|
protected |
◆ vertexOffset_
|
protected |
The documentation for this class was generated from the following file:
Legal Statements / Impressum | Hosted by TU Dresden & Uni Heidelberg | Generated by
1.9.8