deal.II version GIT relicensing-2169-gec1b43f35b 2024-11-22 07: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_sparse_matrix.cc
Go to the documentation of this file.
1// ------------------------------------------------------------------------
2//
3// SPDX-License-Identifier: LGPL-2.1-or-later
4// Copyright (C) 2023 - 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/base/config.h>
16
17#ifdef DEAL_II_TRILINOS_WITH_TPETRA
18
19# include <deal.II/lac/trilinos_tpetra_sparse_matrix.templates.h>
20
22
23# ifndef DOXYGEN
24// explicit instantiations
25namespace LinearAlgebra
26{
27 namespace TpetraWrappers
28 {
30
31 template void
33 const IndexSet &parallel_partitioning,
34 const ::DynamicSparsityPattern &sparsity_pattern,
35 const MPI_Comm communicator,
36 const bool exchange_data);
37
38 template void
40 const IndexSet &row_parallel_partitioning,
41 const IndexSet &col_parallel_partitioning,
42 const ::DynamicSparsityPattern &sparsity_pattern,
43 const MPI_Comm communicator,
44 const bool exchange_data);
45
46 template void
48 const ::DynamicSparsityPattern &);
49
50 template void
53 const Vector<double, MemorySpace::Host> &src) const;
54
55 template void
58 const Vector<double, MemorySpace::Host> &src) const;
59
60 template void
63 const Vector<double, MemorySpace::Host> &src) const;
64
65 template void
68 const Vector<double, MemorySpace::Host> &src) const;
69
70 template void
73 const ::Vector<double> &src) const;
74
75 template void
78 const ::Vector<double> &src) const;
79
80 template void
83 const ::Vector<double> &src) const;
84
85 template void
88 const ::Vector<double> &src) const;
89
91
92 template void
94 const IndexSet &parallel_partitioning,
95 const ::DynamicSparsityPattern &sparsity_pattern,
96 const MPI_Comm communicator,
97 const bool exchange_data);
98
99 template void
101 const IndexSet &row_parallel_partitioning,
102 const IndexSet &col_parallel_partitioning,
103 const ::DynamicSparsityPattern &sparsity_pattern,
104 const MPI_Comm communicator,
105 const bool exchange_data);
106
107 template void
109 const ::DynamicSparsityPattern &);
110
111 template void
114 const Vector<double, MemorySpace::Default> &src) const;
115
116 template void
119 const Vector<double, MemorySpace::Default> &src) const;
120
121 template void
124 const Vector<double, MemorySpace::Default> &src) const;
125
126 template void
129 const Vector<double, MemorySpace::Default> &src) const;
130
131 template void
133 ::Vector<double> &dst,
134 const ::Vector<double> &src) const;
135
136 template void
138 ::Vector<double> &dst,
139 const ::Vector<double> &src) const;
140
141 template void
143 ::Vector<double> &dst,
144 const ::Vector<double> &src) const;
145
146 template void
148 ::Vector<double> &dst,
149 const ::Vector<double> &src) const;
150 } // namespace TpetraWrappers
151} // namespace LinearAlgebra
152# endif // DOXYGEN
153
155
156#endif // DEAL_II_TRILINOS_WITH_TPETRA
void Tvmult(InputVectorType &dst, const InputVectorType &src) const
void reinit(const SparsityPatternType &sparsity_pattern)
void vmult(InputVectorType &dst, const InputVectorType &src) const
void Tvmult_add(InputVectorType &dst, const InputVectorType &src) const
void vmult_add(InputVectorType &dst, const InputVectorType &src) const
#define DEAL_II_NAMESPACE_OPEN
Definition config.h:498
#define DEAL_II_NAMESPACE_CLOSE
Definition config.h:499