version 3.7
linearsolveracceptsmultitypematrix.hh
Go to the documentation of this file.
1// -*- mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*-
2// vi: set et ts=4 sw=4 sts=4:
3//
4// SPDX-FileCopyrightInfo: Copyright © DuMux Project contributors, see AUTHORS.md in root folder
5// SPDX-License-Identifier: GPL-3.0-or-later
6//
12#ifndef DUMUX_LINEAR_SOLVER_ACCEPTS_MULTITYPEMATRIX_HH
13#define DUMUX_LINEAR_SOLVER_ACCEPTS_MULTITYPEMATRIX_HH
14
16#ifndef DUMUX_SUPPRESS_LINEAR_SOLVER_ACCEPTS_MULTITYPEMATRIX_WARNING
17#warning "This header is deprecated and will be removed after release 3.7."
18#endif
19
20// suppress all secondary deprecation warning from this deprecated file
21#pragma GCC diagnostic push
22#pragma GCC diagnostic ignored "-Wdeprecated-declarations"
23
24namespace Dumux {
25
27template<class LinearSolver>
28struct linearSolverAcceptsMultiTypeMatrix : public std::true_type {};
29
33
35
36template<>
37struct linearSolverAcceptsMultiTypeMatrix<ILUnBiCGSTABBackend> : public std::false_type {};
38
39class ILUnCGBackend;
40
41template<>
42struct linearSolverAcceptsMultiTypeMatrix<ILUnCGBackend> : public std::false_type {};
43
45
46template<>
47struct linearSolverAcceptsMultiTypeMatrix<ILU0BiCGSTABBackend> : public std::false_type {};
48
49class ILU0CGBackend;
50
51template<>
52struct linearSolverAcceptsMultiTypeMatrix<ILU0CGBackend> : public std::false_type {};
53
55
56template<>
58
60
61template<>
63
64#if HAVE_SUPERLU
65class SuperLUBackend;
66template<>
67struct linearSolverAcceptsMultiTypeMatrix<SuperLUBackend> : public std::false_type {};
68#endif // HAVE_SUPERLU
69
70#if HAVE_UMFPACK
71class UMFPackBackend;
72template<>
73struct linearSolverAcceptsMultiTypeMatrix<UMFPackBackend> : public std::false_type {};
74#endif // HAVE_UMFPACK
75
76} // end namespace Dumux
77
78#pragma GCC diagnostic pop
79
80#endif
Sequential ILU(0)-preconditioned BiCGSTAB solver.
Definition: seqsolverbackend.hh:603
Sequential ILU(0)-preconditioned CG solver.
Definition: seqsolverbackend.hh:639
Sequential ILU0-preconditioned GMRes solver.
Definition: seqsolverbackend.hh:676
Sequential ILU(n)-preconditioned BiCSTAB solver.
Definition: seqsolverbackend.hh:193
Sequential ILU(n)-preconditioned CG solver.
Definition: seqsolverbackend.hh:381
Sequential ILU(n)-preconditioned GMRes solver.
Definition: seqsolverbackend.hh:714
Definition: adapt.hh:17
Dumux sequential linear solver backends.
The default.
Definition: linearsolveracceptsmultitypematrix.hh:28