3 #include <dune/common/rangeutilities.hh> 5 #include <amdis/common/Concepts.hpp> 6 #include <amdis/typetree/MultiIndex.hpp> 7 #include <amdis/utility/MappedRangeView.hpp> 12 template <
class LocalView,
class Node>
15 static_assert(Concepts::LocalView<LocalView>,
"");
16 static_assert(Concepts::BasisTree<Node, typename LocalView::GridView>,
"");
19 return localView.
index(node.localIndex(j));
24 template <
class LocalView>
27 static_assert(Concepts::LocalView<LocalView>,
"");
30 return localView.
index(i);
36 template <
class LocalView,
class Node>
43 template <
class LocalView>
46 return localView.
size();
std::size_t nodeIndexCount(LocalView const &, Node const &node)
Returns the number of DOF indices on a node, given by the localView.
Definition: NodeIndices.hpp:37
size_type size() const
Total number of degrees of freedom on this element.
Definition: LocalView.hpp:144
Contains all classes needed for solving linear and non linear equation systems.
Definition: AdaptBase.hpp:6
MultiIndex index(size_type i) const
Maps from subtree index set [0..size-1] to a globally unique multi index in global basis...
Definition: LocalView.hpp:160
The restriction of a finite element basis to a single element.
Definition: LocalView.hpp:20
auto mappedRangeView(R &&range, F const &f)
Create a MappedRangeView.
Definition: MappedRangeView.hpp:445
typename NodeIndexSet::MultiIndex MultiIndex
Type used for global numbering of the basis vectors.
Definition: LocalView.hpp:47
auto nodeIndices(LocalView const &localView, Node const &node)
Returns a range over (flat) DOF indices on a node, given by the localView.
Definition: NodeIndices.hpp:13