Go to the documentation of this file.
3 #ifndef DUNE_FUNCTIONS_FUNCTIONSPACEBASES_SUBSPACELOCALVIEW_HH
4 #define DUNE_FUNCTIONS_FUNCTIONSPACEBASES_SUBSPACELOCALVIEW_HH
9 #include <dune/common/concept.hh>
11 #include <dune/typetree/childextraction.hh>
22 template<
class RB,
class PP>
28 template<
class RLV,
class PP>
31 using PrefixPath = PP;
44 using Element =
typename GridView::template Codim<0>::Entity;
53 using Tree =
typename TypeTree::ChildForTreePath<RootTree, PrefixPath>;
142 #endif // DUNE_FUNCTIONS_FUNCTIONSPACEBASES_SUBSPACELOCALVIEW_HH
Definition: polynomial.hh:7
size_type maxSize() const
Maximum local size for any element on the GridView.
Definition: subspacelocalview.hh:113
typename TypeTree::ChildForTreePath< RootTree, PrefixPath > Tree
Tree of local finite elements / local shape function sets.
Definition: subspacelocalview.hh:53
const GlobalBasis & globalBasis() const
Return the global basis that we are a view on.
Definition: subspacelocalview.hh:120
typename GridView::template Codim< 0 >::Entity Element
Type of the grid element we are bound to.
Definition: subspacelocalview.hh:44
typename RootBasis::GridView GridView
The grid view that the FE space is defined on.
Definition: subspacebasis.hh:33
RootLocalView rootLocalView_
Definition: subspacelocalview.hh:132
const PrefixPath & prefixPath() const
Definition: subspacebasis.hh:100
RLV RootLocalView
Definition: subspacelocalview.hh:35
void unbind()
Unbind from the current element.
Definition: subspacelocalview.hh:86
SubspaceLocalView(const GlobalBasis &globalBasis, const PrefixPath &prefixPath)
Construct local view for a given global finite element basis.
Definition: subspacelocalview.hh:56
The restriction of a finite element basis to a single element.
Definition: subspacelocalview.hh:29
const GlobalBasis * globalBasis_
Definition: subspacelocalview.hh:131
const Tree & tree() const
Return the local ansatz tree associated to the bound entity.
Definition: subspacelocalview.hh:95
size_type size() const
Total number of degrees of freedom on this element.
Definition: subspacelocalview.hh:102
const Element & element() const
Return the grid element that the view is bound to.
Definition: subspacelocalview.hh:77
Definition: subspacebasis.hh:22
const RootLocalView & rootLocalView() const
Definition: subspacelocalview.hh:125
typename GlobalBasis::GridView GridView
The grid view the global FE basis lives on.
Definition: subspacelocalview.hh:41
std::size_t size_type
The type used for sizes.
Definition: subspacelocalview.hh:47
void bind(const Element &e)
Bind the view to a grid element.
Definition: subspacelocalview.hh:68
typename RootLocalView::Tree RootTree
Tree of local finite elements / local shape function sets.
Definition: subspacelocalview.hh:50