LinearAlgebra.hpp 1.56 KB
Newer Older
1
2
#pragma once

3
#if AMDIS_BACKEND == AMDIS_BACKEND_MTL
4

5
6
7
#include <amdis/linearalgebra/mtl/Constraints.hpp>
#include <amdis/linearalgebra/mtl/ITL_Solver.hpp>
#include <amdis/linearalgebra/mtl/ITL_Preconditioner.hpp>
8
#include <amdis/linearalgebra/mtl/Traits.hpp>
9
10
#include <amdis/linearalgebra/mtl/MatrixBackend.hpp>
#include <amdis/linearalgebra/mtl/VectorBackend.hpp>
11

12
#elif AMDIS_BACKEND == AMDIS_BACKEND_EIGEN
13

14
15
#include <amdis/linearalgebra/eigen/Constraints.hpp>
#include <amdis/linearalgebra/eigen/SolverCreator.hpp>
16
#include <amdis/linearalgebra/eigen/Traits.hpp>
17
18
#include <amdis/linearalgebra/eigen/MatrixBackend.hpp>
#include <amdis/linearalgebra/eigen/VectorBackend.hpp>
19

20
#elif AMDIS_BACKEND == AMDIS_BACKEND_PETSC
21
22
23
24
25
26
27

#include <amdis/linearalgebra/petsc/Constraints.hpp>
#include <amdis/linearalgebra/petsc/SolverCreator.hpp>
#include <amdis/linearalgebra/petsc/Traits.hpp>
#include <amdis/linearalgebra/petsc/MatrixBackend.hpp>
#include <amdis/linearalgebra/petsc/VectorBackend.hpp>

28
#elif AMDIS_BACKEND == AMDIS_BACKEND_ISTL
29

30
#include <amdis/linearalgebra/istl/Constraints.hpp>
Praetorius, Simon's avatar
Praetorius, Simon committed
31
#include <amdis/linearalgebra/istl/ISTLSolver.hpp>
32
33
#include <amdis/linearalgebra/istl/PreconCreator.hpp>
#include <amdis/linearalgebra/istl/SolverCreator.hpp>
34
#include <amdis/linearalgebra/istl/Traits.hpp>
35
36
#include <amdis/linearalgebra/istl/MatrixBackend.hpp>
#include <amdis/linearalgebra/istl/VectorBackend.hpp>
37

38
39
#endif

Praetorius, Simon's avatar
Praetorius, Simon committed
40
41
#include <amdis/linearalgebra/MatrixFacade.hpp>
#include <amdis/linearalgebra/VectorFacade.hpp>
42
43
#include <amdis/linearalgebra/LinearSolver.hpp>
#include <amdis/linearalgebra/SolverInfo.hpp>