Discontinuous Galerkin Library
#include "dg/algorithm.h"
tensor_traits.h File Reference
#include <type_traits>
#include <thrust/memory.h>
#include "scalar_categories.h"
#include "vector_categories.h"
#include "matrix_categories.h"
#include "execution_policy.h"

Go to the source code of this file.

Classes

struct  dg::TensorTraits< Vector, Enable >
 The vector traits. More...
 

Namespaces

namespace  dg
 This is the namespace for all functions and classes defined and used by the discontinuous Galerkin library.
 

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