AMDiS  0.3
The Adaptive Multi-Dimensional Simulation Toolbox
Traits.hpp
1 #pragma once
2 
3 #if AMDIS_HAS_MTL
4 #include <amdis/linearalgebra/mtl/Traits.hpp>
5 
6 #elif AMDIS_HAS_EIGEN
7 #include <amdis/linearalgebra/eigen/Traits.hpp>
8 
9 #elif AMDIS_HAS_PETSC
10 #include <amdis/linearalgebra/petsc/Traits.hpp>
11 
12 #else // ISTL
13 #include <amdis/linearalgebra/istl/Traits.hpp>
14 #endif
15 
16 namespace AMDiS
17 {
18 #ifdef DOXYGEN
19 
26  template <class Basis>
27  class BackendTraits
28  {
29  public:
30  template <class T>
31  using MatrixImpl = implementation_defined; //< The backend matrix type
32 
33  template <class T>
34  using VectorImpl = implementation_defined; //< The backend vector type
35 
36  using SparsityPattern = implementation_defined; //< The SparsityPattern for the matrix type
37  using PartitionSet = Dune::Partitions::All; //< The dune partition set where to assemble operators
38  };
39 #endif
40 } // end namespace AMDiS
Contains all classes needed for solving linear and non linear equation systems.
Definition: AdaptBase.hpp:6