7#ifndef DUNE_FUNCTIONS_FUNCTIONSPACEBASES_HIERARCHICNODETORANGEMAP_HH
8#define DUNE_FUNCTIONS_FUNCTIONSPACEBASES_HIERARCHICNODETORANGEMAP_HH
14#include <dune/common/concept.hh>
16#include <dune/functions/functionspacebases/concepts.hh>
17#include <dune/functions/common/indexaccess.hh>
35 template<
class Node,
class TreePath,
class Range,
36 std::enable_if_t< models<Concept::HasIndexAccess, Range, Dune::index_constant<0>>(),
int> = 0>
37 decltype(
auto) operator()(
const Node&,
const TreePath& treePath, Range&& y)
const
42 template<
class Node,
class TreePath,
class Range,
43 std::enable_if_t<not models<Concept::HasIndexAccess, Range, Dune::index_constant<0>>(),
int> = 0>
44 decltype(
auto) operator()(
const Node&,
const TreePath&, Range&& y)
const
46 return std::forward<Range>(y);
constexpr decltype(auto) resolveStaticMultiIndex(C &&c, const MultiIndex &multiIndex)
Provide multi-index access by chaining operator[].
Definition: indexaccess.hh:421
Definition: polynomial.hh:17
A simple node to range map using the nested tree indices.
Definition: hierarchicnodetorangemap.hh:34