Discontinuous Galerkin Library
#include "dg/algorithm.h"
|
The vector traits. More...
Public Types | |
using | value_type = void |
using | tensor_category = NotATensorTag |
using | execution_policy = NoPolicyTag |
The vector traits.
Specialize this struct if you want to enable your own vector/container class for the use in blas1 functions. The contained types are
value_type
the elementary data type of the contained data tensor_category
the layout of the data (derives from AnyMatrixTag
) execution_policy
for SharedVectorTag
the execution policy (derives from AnyPolicyTag
) indicates the type of hardware memory is physically allocated on in a vector class and therefore indicates the possible parallelization and optimization strategies. using dg::TensorTraits< Vector, Enable >::execution_policy = NoPolicyTag |
using dg::TensorTraits< Vector, Enable >::tensor_category = NotATensorTag |
using dg::TensorTraits< Vector, Enable >::value_type = void |