3#ifndef DUNE_FUNCTIONS_FUNCTIONSPACEBASES_HIERARCHICNODETORANGEMAP_HH
4#define DUNE_FUNCTIONS_FUNCTIONSPACEBASES_HIERARCHICNODETORANGEMAP_HH
10#include <dune/common/concept.hh>
31 template<
class Node,
class TreePath,
class Range,
32 std::enable_if_t< models<Concept::HasIndexAccess, Range, Dune::index_constant<0>>(),
int> = 0>
33 decltype(
auto)
operator()(
const Node&,
const TreePath& treePath, Range&& y)
const
38 template<
class Node,
class TreePath,
class Range,
39 std::enable_if_t<not models<Concept::HasIndexAccess, Range, Dune::index_constant<0>>(),
int> = 0>
40 decltype(
auto)
operator()(
const Node&,
const TreePath&, Range&& y)
const
42 return std::forward<Range>(y);
constexpr decltype(auto) resolveStaticMultiIndex(C &&c, const MultiIndex &multiIndex)
Provide multi-index access by chaining operator[].
Definition: indexaccess.hh:398
Definition: polynomial.hh:10
A simple node to range map using the nested tree indices.
Definition: hierarchicnodetorangemap.hh:30
decltype(auto) operator()(const Node &, const TreePath &treePath, Range &&y) const
Definition: hierarchicnodetorangemap.hh:33
decltype(auto) operator()(const Node &, const TreePath &, Range &&y) const
Definition: hierarchicnodetorangemap.hh:40