DUNE PDELab (git)
defaultlocalview.hh
59 OverflowArray<StaticMultiIndex<size_type, PreBasis::maxMultiIndexSize>, PreBasis::multiIndexBufferSize>,
76 static_assert(models<Concept::BasisTree<GridView>, Tree>(), "Tree type passed to DefaultLocalView does not model the BasisNode concept.");
The restriction of a finite element basis to a single element.
Definition: defaultlocalview.hh:32
void unbind()
Unbind from the current element.
Definition: defaultlocalview.hh:113
bool bound() const
Return if the view is bound to a grid element.
Definition: defaultlocalview.hh:95
typename GlobalBasis::GridView GridView
The grid view the global FE basis lives on.
Definition: defaultlocalview.hh:39
const MultiIndex & index(size_type i) const
Maps from subtree index set [0..size-1] to a globally unique multi index in global basis.
Definition: defaultlocalview.hh:146
typename GridView::template Codim< 0 >::Entity Element
Type of the grid element we are bound to.
Definition: defaultlocalview.hh:42
const Tree & tree() const
Return the local ansatz tree associated to the bound entity.
Definition: defaultlocalview.hh:122
void bind(const Element &e)
Bind the view to a grid element.
Definition: defaultlocalview.hh:85
const Element & element() const
Return the grid element that the view is bound to.
Definition: defaultlocalview.hh:104
size_type size() const
Total number of degrees of freedom on this element.
Definition: defaultlocalview.hh:129
GB GlobalBasis
The global FE basis that this is a view on.
Definition: defaultlocalview.hh:36
size_type maxSize() const
Maximum local size for any element on the GridView.
Definition: defaultlocalview.hh:140
std::size_t size_type
The type used for sizes.
Definition: defaultlocalview.hh:45
std::conditional_t<(PreBasis::minMultiIndexSize==PreBasis::maxMultiIndexSize), StaticMultiIndex< size_type, PreBasis::maxMultiIndexSize >, Dune::ReservedVector< size_type, PreBasis::multiIndexBufferSize > > MultiIndex
Type used for global numbering of the basis vectors.
Definition: defaultlocalview.hh:68
typename GlobalBasis::PreBasis::Node Tree
Tree of local finite elements / local shape function sets.
Definition: defaultlocalview.hh:48
DefaultLocalView(const GlobalBasis &globalBasis)
Construct local view for a given global finite element basis.
Definition: defaultlocalview.hh:72
const GlobalBasis & globalBasis() const
Return the global basis that we are a view on.
Definition: defaultlocalview.hh:153
A dynamically sized array-like class with overflow.
Definition: overflowarray.hh:49
Infrastructure for concepts.
An stl-compliant random-access container which stores everything on the stack.
|
Legal Statements / Impressum |
Hosted by TU Dresden |
generated with Hugo v0.111.3
(Nov 13, 23:29, 2024)