LinearAlgebra.hpp 892 Bytes
Newer Older
1
2
#pragma once

3
4
5
#include "linear_algebra/LinearSolverInterface.hpp"
#include "linear_algebra/SolverInfo.hpp"

6
7
8
9
10
11
12
13
14
15
16
#if defined(AMDIS_BACKEND_ISTL)

#include "linear_algebra/istl/SystemVector.hpp"
#include "linear_algebra/istl/SystemMatrix.hpp"
#include "linear_algebra/istl/LinearSolver.hpp"

#elif defined(AMDIS_BACKEND_MTL)

#include "linear_algebra/mtl/SystemVector.hpp"
#include "linear_algebra/mtl/SystemMatrix.hpp"
#include "linear_algebra/mtl/LinearSolver.hpp"
17
18
#include "linear_algebra/mtl/ITL_Solver.hpp"
#include "linear_algebra/mtl/BITL_Solver.hpp"
19
20
21
22
23
24
25
26
27
28
29
30
31

#elif defined(AMDIS_BACKEND_PETSC)

#include "linear_algebra/petsc/SystemVector.hpp"
#include "linear_algebra/petsc/SystemMatrix.hpp"
#include "linear_algebra/petsc/LinearSolver.hpp"

#else

#error "Unknown linear algebra backend!. Set corresponding variable \
        AMDIS_BACKEND_ISTL, AMDIS_BACKEND_MTL or AMDIS_BACKEND_PETSC."

#endif