AMDiS 2.10
The Adaptive Multi-Dimensional Simulation Toolbox
Traits.hpp
1#pragma once
2
3#include <dune/grid/common/partitionset.hh>
4#include <amdis/linearalgebra/IndexDistribution.hpp>
5#include <amdis/linearalgebra/mtl/SlotSize.hpp>
6#include <amdis/linearalgebra/mtl/MatrixBackend.hpp>
7#include <amdis/linearalgebra/mtl/VectorBackend.hpp>
8
9namespace AMDiS
10{
14 struct MTLTraits
15 {
16 template <class>
18
19 template <class,class>
20 struct Matrix
21 {
23 template <class Value>
25 };
26
27 template <class>
28 struct Vector
29 {
30 template <class Value>
31 using Impl = MTLVector<Value>;
32 };
33
34 using PartitionSet = Dune::Partitions::All;
35 };
36
38
39} // end namespace AMDiS
Dummy implementation for sequential index "distribution".
Definition: IndexDistribution.hpp:7
The basic container that stores a base matrix.
Definition: MatrixBackend.hpp:25
The basic container that stores a base vector data.
Definition: VectorBackend.hpp:20
Definition: SlotSize.hpp:16
Definition: Traits.hpp:15
Definition: Traits.hpp:21
Definition: Traits.hpp:29
Definition: Traits.hpp:15