deal.II version GIT relicensing-2206-gaa53ff9447 2024-12-02 09:10:00+00:00
\(\newcommand{\dealvcentcolon}{\mathrel{\mathop{:}}}\) \(\newcommand{\dealcoloneq}{\dealvcentcolon\mathrel{\mkern-1.2mu}=}\) \(\newcommand{\jump}[1]{\left[\!\left[ #1 \right]\!\right]}\) \(\newcommand{\average}[1]{\left\{\!\left\{ #1 \right\}\!\right\}}\)
Loading...
Searching...
No Matches
trilinos_tpetra_solver_direct.cc
Go to the documentation of this file.
1// ------------------------------------------------------------------------
2//
3// SPDX-License-Identifier: LGPL-2.1-or-later
4// Copyright (C) 2024 by the deal.II authors
5//
6// This file is part of the deal.II library.
7//
8// Part of the source code is dual licensed under Apache-2.0 WITH
9// LLVM-exception OR LGPL-2.1-or-later. Detailed license information
10// governing the source code and code contributions can be found in
11// LICENSE.md and CONTRIBUTING.md at the top level directory of deal.II.
12//
13// ------------------------------------------------------------------------
14
15#include "deal.II/lac/trilinos_tpetra_solver_direct.templates.h"
16
17#ifdef DEAL_II_TRILINOS_WITH_TPETRA
18# ifdef DEAL_II_TRILINOS_WITH_AMESOS2
19
21
22# ifndef DOXYGEN
23// explicit instantiations
24namespace LinearAlgebra
25{
26 namespace TpetraWrappers
27 {
28# ifdef HAVE_TPETRA_INST_FLOAT
29 template class SolverDirectBase<float, MemorySpace::Host>;
30 template class SolverDirect<float, MemorySpace::Host>;
31 template class SolverDirectKLU2<float, MemorySpace::Host>;
32
33 template class SolverDirectBase<float, MemorySpace::Default>;
34 template class SolverDirect<float, MemorySpace::Default>;
35 template class SolverDirectKLU2<float, MemorySpace::Default>;
36# endif
37
38# ifdef HAVE_TPETRA_INST_DOUBLE
39 template class SolverDirectBase<double, MemorySpace::Host>;
40 template class SolverDirect<double, MemorySpace::Host>;
41 template class SolverDirectKLU2<double, MemorySpace::Host>;
42
43 template class SolverDirectBase<double, MemorySpace::Default>;
44 template class SolverDirect<double, MemorySpace::Default>;
45 template class SolverDirectKLU2<double, MemorySpace::Default>;
46# endif
47# ifdef DEAL_II_WITH_COMPLEX_VALUES
48# ifdef HAVE_TPETRA_INST_COMPLEX_FLOAT
49 template class SolverDirectBase<std::complex<float>, MemorySpace::Host>;
50 template class SolverDirect<std::complex<float>, MemorySpace::Host>;
51 template class SolverDirectKLU2<std::complex<float>, MemorySpace::Host>;
52
53 template class SolverDirectBase<std::complex<float>, MemorySpace::Default>;
54 template class SolverDirect<std::complex<float>, MemorySpace::Default>;
55 template class SolverDirectKLU2<std::complex<float>, MemorySpace::Default>;
56# endif
57# ifdef HAVE_TPETRA_INST_COMPLEX_DOUBLE
58 template class SolverDirectBase<std::complex<double>, MemorySpace::Host>;
59 template class SolverDirect<std::complex<double>, MemorySpace::Host>;
60 template class SolverDirectKLU2<std::complex<double>, MemorySpace::Host>;
61
62 template class SolverDirectBase<std::complex<double>, MemorySpace::Default>;
63 template class SolverDirect<std::complex<double>, MemorySpace::Default>;
64 template class SolverDirectKLU2<std::complex<double>, MemorySpace::Default>;
65# endif
66# endif
67
68# endif
69
70 } // namespace TpetraWrappers
71
72} // namespace LinearAlgebra
74
75# endif // DEAL_II_TRILINOS_WITH_AMESOS2
76#endif // DEAL_II_TRILINOS_WITH_TPETRA
#define DEAL_II_NAMESPACE_OPEN
Definition config.h:498
#define DEAL_II_NAMESPACE_CLOSE
Definition config.h:499