Discontinuous Galerkin Library
#include "dg/algorithm.h"
Collaboration diagram for All TensorTraits specialisations:

Classes

struct  dg::TensorTraits< RowColDistMat< LI, LO, C > >
 
struct  dg::TensorTraits< MPIDistMat< L, C > >
 
struct  dg::TensorTraits< MPI_Vector< container > >
 prototypical MPI vector More...
 
struct  dg::TensorTraits< EllSparseBlockMat< T > >
 
struct  dg::TensorTraits< CooSparseBlockMat< T > >
 
struct  dg::TensorTraits< Vector, Enable >
 The vector traits. More...
 
struct  dg::TensorTraits< cusp::coo_matrix< I, V, M > >
 
struct  dg::TensorTraits< cusp::csr_matrix< I, V, M > >
 
struct  dg::TensorTraits< cusp::dia_matrix< I, V, M > >
 
struct  dg::TensorTraits< cusp::ell_matrix< I, V, M > >
 
struct  dg::TensorTraits< cusp::hyb_matrix< I, V, M > >
 
struct  dg::TensorTraits< T, std::enable_if_t< std::is_arithmetic< T >::value > >
 Recognize arithmetic types as scalars. More...
 
struct  dg::TensorTraits< std::vector< T >, std::enable_if_t< !std::is_arithmetic< T >::value > >
 Prototypical Recursive Vector. More...
 
struct  dg::TensorTraits< std::vector< T >, std::enable_if_t< std::is_arithmetic< T >::value > >
 
struct  dg::TensorTraits< std::array< T, N >, std::enable_if_t< !std::is_arithmetic< T >::value > >
 
struct  dg::TensorTraits< std::array< T, N >, std::enable_if_t< std::is_arithmetic< T >::value > >
 
struct  dg::TensorTraits< std::map< Key, T > >
 Behaves like a RecursiveVector. More...
 
struct  dg::TensorTraits< thrust::host_vector< T > >
 prototypical Shared Vector with Serial Tag More...
 
struct  dg::TensorTraits< thrust::device_vector< T > >
 prototypical Shared Vector with Cuda or Omp Tag More...
 
struct  dg::TensorTraits< View< ThrustVector > >
 A View has identical value_type and execution_policy as the underlying container. More...
 

Typedefs

template<class Vector >
using dg::get_value_type = typename TensorTraits< std::decay_t< Vector > >::value_type
 
template<class Vector >
using dg::get_tensor_category = typename TensorTraits< std::decay_t< Vector > >::tensor_category
 
template<class Vector >
using dg::get_execution_policy = typename TensorTraits< std::decay_t< Vector > >::execution_policy
 

Detailed Description

Typedef Documentation

◆ get_execution_policy

template<class Vector >
using dg::get_execution_policy = typedef typename TensorTraits<std::decay_t<Vector> >::execution_policy

◆ get_tensor_category

template<class Vector >
using dg::get_tensor_category = typedef typename TensorTraits< std::decay_t<Vector> >::tensor_category

◆ get_value_type

template<class Vector >
using dg::get_value_type = typedef typename TensorTraits<std::decay_t<Vector> >::value_type