7#ifndef DUNE_FUNCTIONS_FUNCTIONSPACEBASES_SUBSPACELOCALVIEW_HH
8#define DUNE_FUNCTIONS_FUNCTIONSPACEBASES_SUBSPACELOCALVIEW_HH
13#include <dune/common/concept.hh>
15#include <dune/common/typetree/childaccess.hh>
26template<
class RB,
class PP>
32template<
class RLV,
class PP>
35 using PrefixPath = PP;
48 using Element =
typename GridView::template Codim<0>::Entity;
57 using Tree =
typename TypeTree::ChildForTreePath<RootTree, PrefixPath>;
Definition monomialset.hh:19
Definition monomialset.hh:19
Definition subspacebasis.hh:29
typename RootBasis::GridView GridView
Definition subspacebasis.hh:39
typename TypeTree::ChildForTreePath< RootTree, PrefixPath > Tree
Definition subspacelocalview.hh:57
void unbind()
Unbind from the current element.
Definition subspacelocalview.hh:93
const Element & element() const
Return the grid element that the view is bound to.
Definition subspacelocalview.hh:84
const GlobalBasis * globalBasis_
Definition subspacelocalview.hh:151
bool bound() const
Return if the view is bound to a grid element.
Definition subspacelocalview.hh:100
typename RootLocalView::MultiIndex MultiIndex
Definition subspacelocalview.hh:60
SubspaceBasis< typename RootLocalView::GlobalBasis, PrefixPath > GlobalBasis
Definition subspacelocalview.hh:42
size_type size() const
Total number of degrees of freedom on this element.
Definition subspacelocalview.hh:116
RootLocalView rootLocalView_
Definition subspacelocalview.hh:152
void bind(const Element &e)
Bind the view to a grid element.
Definition subspacelocalview.hh:75
typename GlobalBasis::GridView GridView
Definition subspacelocalview.hh:45
SubspaceLocalView(const GlobalBasis &globalBasis, const PrefixPath &)
Construct local view for a given global finite element basis.
Definition subspacelocalview.hh:63
RootLocalView RootLocalView
Definition subspacelocalview.hh:39
const RootLocalView & rootLocalView() const
Definition subspacelocalview.hh:145
std::size_t size_type
Definition subspacelocalview.hh:51
typename GridView::template Codim< 0 >::Entity Element
Definition subspacelocalview.hh:48
const GlobalBasis & globalBasis() const
Definition subspacelocalview.hh:140
size_type maxSize() const
Maximum local size for any element on the GridView.
Definition subspacelocalview.hh:127
const Tree & tree() const
Return the local ansatz tree associated to the bound entity.
Definition subspacelocalview.hh:109
MultiIndex index(size_type i) const
Maps from subtree index set [0..size-1] to a globally unique multi index in global basis.
Definition subspacelocalview.hh:133
typename RootLocalView::Tree RootTree
Definition subspacelocalview.hh:54