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

3
#if HAVE_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
13

#elif HAVE_EIGEN

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
21
22
23
24
25
26
27
#elif HAVE_PETSC

#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
29
#else // ISTL

30
#include <amdis/linearalgebra/istl/Constraints.hpp>
31
32
33
#include <amdis/linearalgebra/istl/ISTLRunner.hpp>
#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
40
41
42
43
#endif

#include <amdis/linearalgebra/MatrixBase.hpp>
#include <amdis/linearalgebra/VectorBase.hpp>
#include <amdis/linearalgebra/LinearSolver.hpp>
#include <amdis/linearalgebra/SolverInfo.hpp>