dune-vtk 2.12
Loading...
Searching...
No Matches
Dune::Vtk::DefaultComponentMapper Struct Reference

#include <dune/vtk/gridfunctions/componentmapper.hh>

Static Public Member Functions

template<class T , int N, int M>
static double map (int comp, FieldMatrix< T, N, M > const &mat)
 
template<class T , int N>
static double map (int comp, FieldVector< T, N > const &vec)
 
template<class T , std::enable_if_t< IsIndexable< T, int >::value, int > = 0>
static double map (int comp, T const &value)
 
template<class T , std::enable_if_t< not IsIndexable< T, int >::value, int > = 0>
static double map (int comp, T const &value)
 
template<class D , class F >
static auto mapImpl (int comp, D const &x, F const &f, Dune::PriorityTag< 2 >) -> decltype(f.evaluate(comp, x))
 
template<class D , class F >
static auto mapImpl (int comp, D const &x, F const &f, Dune::PriorityTag< 1 >) -> decltype(map(comp, f(x)))
 
template<class D , class F >
static double mapImpl (int comp, D const &x, F const &f, Dune::PriorityTag< 0 >)
 
template<class D , class F >
static double map (int comp, D const &x, F const &f)
 

Member Function Documentation

◆ map() [1/5]

template<class D , class F >
static double Dune::Vtk::DefaultComponentMapper::map ( int  comp,
D const &  x,
F const &  f 
)
inlinestatic

◆ map() [2/5]

template<class T , int N, int M>
static double Dune::Vtk::DefaultComponentMapper::map ( int  comp,
FieldMatrix< T, N, M > const &  mat 
)
inlinestatic

◆ map() [3/5]

template<class T , int N>
static double Dune::Vtk::DefaultComponentMapper::map ( int  comp,
FieldVector< T, N > const &  vec 
)
inlinestatic

◆ map() [4/5]

template<class T , std::enable_if_t< IsIndexable< T, int >::value, int > = 0>
static double Dune::Vtk::DefaultComponentMapper::map ( int  comp,
T const &  value 
)
inlinestatic

◆ map() [5/5]

template<class T , std::enable_if_t< not IsIndexable< T, int >::value, int > = 0>
static double Dune::Vtk::DefaultComponentMapper::map ( int  comp,
T const &  value 
)
inlinestatic

◆ mapImpl() [1/3]

template<class D , class F >
static double Dune::Vtk::DefaultComponentMapper::mapImpl ( int  comp,
D const &  x,
F const &  f,
Dune::PriorityTag< 0 >   
)
inlinestatic

◆ mapImpl() [2/3]

template<class D , class F >
static auto Dune::Vtk::DefaultComponentMapper::mapImpl ( int  comp,
D const &  x,
F const &  f,
Dune::PriorityTag< 1 >   
) -> decltype(map(comp, f(x)))
inlinestatic

◆ mapImpl() [3/3]

template<class D , class F >
static auto Dune::Vtk::DefaultComponentMapper::mapImpl ( int  comp,
D const &  x,
F const &  f,
Dune::PriorityTag< 2 >   
) -> decltype(f.evaluate(comp,x))
inlinestatic

The documentation for this struct was generated from the following file: