Discontinuous Galerkin Library
#include "dg/algorithm.h"
dg::TensorTraits< View< ThrustVector > > Struct Template Reference

A View has identical value_type and execution_policy as the underlying container. More...

Public Types

using value_type = get_value_type< ThrustVector >
 
using tensor_category = ThrustVectorTag
 
using execution_policy = get_execution_policy< ThrustVector >
 

Detailed Description

template<class ThrustVector>
struct dg::TensorTraits< View< ThrustVector > >

A View has identical value_type and execution_policy as the underlying container.

Member Typedef Documentation

◆ execution_policy

template<class ThrustVector >
using dg::TensorTraits< View< ThrustVector > >::execution_policy = get_execution_policy<ThrustVector>

◆ tensor_category

template<class ThrustVector >
using dg::TensorTraits< View< ThrustVector > >::tensor_category = ThrustVectorTag

◆ value_type

template<class ThrustVector >
using dg::TensorTraits< View< ThrustVector > >::value_type = get_value_type<ThrustVector>

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