dune-vtk 2.12
Loading...
Searching...
No Matches
rangetype.hh File Reference
#include <array>
#include <type_traits>

Go to the source code of this file.

Namespaces

namespace  Dune
 
namespace  Dune::Vtk
 

Typedefs

template<class F , class D >
using Dune::Vtk::RangeType = std::decay_t< std::invoke_result_t< F, D > >
 Result type of the function F when called with an argument of type D.
 

Functions

template<class T >
static constexpr int Dune::Vtk::dimRange ()
 Number of components the range contains.
 
template<class T >
constexpr std::array< int, 2 > Dune::Vtk::rangeShape ()
 Static shape {rows,cols} of a matrix-valued range type, or {0,0} if unknown or not a matrix.