1#ifndef DUNE_FEM_COMMON_INTERSECTIONSIDE_HH
2#define DUNE_FEM_COMMON_INTERSECTIONSIDE_HH
4#include <dune/common/typelist.hh>
11 template<
class GF,
class Intersection>
13 decltype(std::declval<GF&>().bind(
24 template<
class GF,
class Intersection>
27 if constexpr (hasIntersectionBind<GF>(MetaType<Intersection>()))
28 gf.bind(intersection,side);
Definition: bindguard.hh:11
constexpr auto hasIntersectionBind(const MetaType< Intersection > &) -> decltype(std::declval< GF & >().bind(std::declval< const Intersection & >(), IntersectionSide::in), std::true_type{})
Definition: intersectionside.hh:12
void defaultIntersectionBind(GF &gf, const Intersection &intersection, IntersectionSide side)
Definition: intersectionside.hh:25
IntersectionSide
Definition: intersectionside.hh:10