3.5-git
DUNE for Multi-{Phase, Component, Scale, Physics, ...} flow and transport in porous media
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 * See the file COPYING for full copying permissions. *
5 * *
6 * This program is free software: you can redistribute it and/or modify *
7 * it under the terms of the GNU General Public License as published by *
8 * the Free Software Foundation, either version 3 of the License, or *
9 * (at your option) any later version. *
10 * *
11 * This program is distributed in the hope that it will be useful, *
12 * but WITHOUT ANY WARRANTY; without even the implied warranty of *
13 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the *
14 * GNU General Public License for more details. *
15 * *
16 * You should have received a copy of the GNU General Public License *
17 * along with this program. If not, see <http://www.gnu.org/licenses/>. *
18 *****************************************************************************/
24#ifndef DUMUX_LINEAR_SOLVER_ACCEPTS_MULTITYPEMATRIX_HH
25#define DUMUX_LINEAR_SOLVER_ACCEPTS_MULTITYPEMATRIX_HH
26
28
29namespace Dumux {
30
32template<class LinearSolver>
33struct linearSolverAcceptsMultiTypeMatrix : public std::true_type {};
34
38
39template<>
40struct linearSolverAcceptsMultiTypeMatrix<ILUnBiCGSTABBackend> : public std::false_type {};
41
42template<>
43struct linearSolverAcceptsMultiTypeMatrix<ILUnCGBackend> : public std::false_type {};
44
45template<>
46struct linearSolverAcceptsMultiTypeMatrix<ILU0BiCGSTABBackend> : public std::false_type {};
47
48template<>
49struct linearSolverAcceptsMultiTypeMatrix<ILU0CGBackend> : public std::false_type {};
50
51template<>
53
54template<>
56
57#if HAVE_SUPERLU
58template<>
59struct linearSolverAcceptsMultiTypeMatrix<SuperLUBackend> : public std::false_type {};
60#endif // HAVE_SUPERLU
61
62#if HAVE_UMFPACK
63template<>
64struct linearSolverAcceptsMultiTypeMatrix<UMFPackBackend> : public std::false_type {};
65#endif // HAVE_UMFPACK
66
67} // end namespace Dumux
68
69#endif
Dumux sequential linear solver backends.
Definition: adapt.hh:29
The default.
Definition: linearsolveracceptsmultitypematrix.hh:33
Sequential ILU(n)-preconditioned BiCSTAB solver.
Definition: seqsolverbackend.hh:211
Sequential ILU(n)-preconditioned CG solver.
Definition: seqsolverbackend.hh:399
Sequential ILU(0)-preconditioned BiCGSTAB solver.
Definition: seqsolverbackend.hh:621
Sequential ILU(0)-preconditioned CG solver.
Definition: seqsolverbackend.hh:657
Sequential ILU0-preconditioned GMRes solver.
Definition: seqsolverbackend.hh:694
Sequential ILU(n)-preconditioned GMRes solver.
Definition: seqsolverbackend.hh:732