dune-vtk  0.2
Classes | Namespaces | Typedefs
concepts.hh File Reference
#include <type_traits>
#include <dune/geometry/type.hh>

Go to the source code of this file.

Classes

struct  Dune::Vtk::CheckTypes<... >
 

Namespaces

 Dune
 
 Dune::Vtk
 

Typedefs

template<class DataCollector , class DC = std::decay_t<DataCollector>>
using Dune::Vtk::IsDataCollector = decltype((std::declval< DC & >().update(), std::declval< DC >().numPoints(), std::declval< DC >().numCells(), CheckTypes< typename DC::GridView >{}, true))
 
template<class GridView , class GV = std::decay_t<GridView>>
using Dune::Vtk::IsGridView = decltype((std::declval< GV >().grid(), std::declval< GV >().indexSet(), std::declval< GV >().size(0), std::declval< GV >().size(std::declval< Dune::GeometryType >()), CheckTypes< typename GV::Grid, typename GV::IndexSet >{}, true))
 
template<class GridFunction , class GF = std::decay_t<GridFunction>>
using Dune::Vtk::IsGridFunction = decltype((localFunction(std::declval< GF const & >()), true))
 
template<class LocalFunction , class LocalContext , class LF = std::decay_t<LocalFunction>>
using Dune::Vtk::IsLocalFunction = decltype((std::declval< LF & >().bind(std::declval< LocalContext >()), std::declval< LF & >().unbind(), std::declval< LF >()(std::declval< typename LocalContext::Geometry::LocalCoordinate >()), true))