Reference documentation for deal.II version GIT relicensing-487-ge9eb5ab491 2024-04-25 07:20:02+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 {
29 template class SparseMatrix<double>;
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
47 SparseMatrix<double>::reinit(const ::DynamicSparsityPattern &);
48
49 template void
51 const Vector<double> &src) const;
52
53 template void
55 const Vector<double> &src) const;
56
57 template void
59 const Vector<double> &src) const;
60
61 template void
63 const Vector<double> &src) const;
64
65 template void
67 const ::Vector<double> &src) const;
68
69 template void
71 const ::Vector<double> &src) const;
72
73 template void
75 const ::Vector<double> &src) const;
76
77 template void
79 const ::Vector<double> &src) const;
80 } // namespace TpetraWrappers
81} // namespace LinearAlgebra
82# endif // DOXYGEN
83
85
86#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:502
#define DEAL_II_NAMESPACE_CLOSE
Definition config.h:503