13#ifndef DUMUX_IO_GRID_PERIODIC_GRID_TRAITS_HH
14#define DUMUX_IO_GRID_PERIODIC_GRID_TRAITS_HH
17#include <dune/common/std/type_traits.hh>
21template<
typename Gr
id>
28 bool isPeriodic (
const typename Grid::LeafIntersection& intersection)
const
38 using SP =
typename G::SupportsPeriodicity;
40 using type =
typename Dune::Std::detected_or<std::false_type, SP, T>::type;
Definition: periodicgridtraits.hh:36
typename Dune::Std::detected_or< std::false_type, SP, T >::type type
Definition: periodicgridtraits.hh:40
static constexpr bool supportsPeriodicity()
Definition: periodicgridtraits.hh:44
Definition: periodicgridtraits.hh:24
Definition: periodicgridtraits.hh:23
bool isPeriodic(const typename Grid::LeafIntersection &intersection) const
Definition: periodicgridtraits.hh:28
PeriodicGridTraits(const Grid &grid)
Definition: periodicgridtraits.hh:26