Discontinuous Galerkin Library
#include "dg/algorithm.h"
topological_traits.h
Go to the documentation of this file.
1#pragma once
2
3namespace dg
4{
5
6template <class Topology>
8 typedef typename Topology::memory_category memory_category;
9 typedef typename Topology::dimensionality dimensionality;
10 typedef typename Topology::value_type value_type;
11};
12
13//memory categories
14struct MPITag{};
15struct SharedTag{};
16
17//dimensionality
21
22}//namespace dg
This is the namespace for all functions and classes defined and used by the discontinuous Galerkin li...
distributed memory system
Definition: topological_traits.h:14
1d
Definition: topological_traits.h:18
shared memory system
Definition: topological_traits.h:15
3d
Definition: topological_traits.h:20
Definition: topological_traits.h:7
Topology::memory_category memory_category
either shared or distributed
Definition: topological_traits.h:8
Topology::dimensionality dimensionality
two-dimensional or three-dimensional
Definition: topological_traits.h:9
Topology::value_type value_type
value type
Definition: topological_traits.h:10
2d
Definition: topological_traits.h:19