LinearAlgebra.hpp 707 Bytes
Newer Older
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
#pragma once

#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"

#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