#include <type_traits>
#include <tuple>
#include "execution_policy.h"
#include "scalar_categories.h"
#include "tensor_traits.h"
Go to the source code of this file.
|
| namespace | dg |
| | This is the namespace for all functions and classes defined and used by the discontinuous Galerkin library.
|
| |
|
| template<class T , class Tag = AnyScalarTag> |
| using | dg::is_scalar = typename std::is_base_of<Tag, get_tensor_category<T>>::type |
| | Does a type have a tensor_category derived from Tag.
|
| |
| template<class T , class Tag = AnyVectorTag> |
| using | dg::is_vector = typename std::is_base_of<Tag, get_tensor_category<T>>::type |
| | Does a type have a tensor_category derived from Tag.
|
| |
| template<class T , class Tag = AnyMatrixTag> |
| using | dg::is_matrix = typename std::is_base_of<Tag, get_tensor_category<T>>::type |
| | Does a type have a tensor_category derived from Tag.
|
| |
| template<class T , class Tag = AnyPolicyTag> |
| using | dg::has_policy = std::is_same<Tag, get_execution_policy<T>> |
| | Does a type have an execution_policy equal to Tag.
|
| |