Reference documentation for deal.II version 9.1.1
\(\newcommand{\dealcoloneq}{\mathrel{\vcenter{:}}=}\)
generic_linear_algebra.h
1 // ---------------------------------------------------------------------
2 //
3 // Copyright (C) 2008 - 2019 by the deal.II authors
4 //
5 // This file is part of the deal.II library.
6 //
7 // The deal.II library is free software; you can use it, redistribute
8 // it, and/or modify it under the terms of the GNU Lesser General
9 // Public License as published by the Free Software Foundation; either
10 // version 2.1 of the License, or (at your option) any later version.
11 // The full text of the license can be found in the file LICENSE.md at
12 // the top level directory of deal.II.
13 //
14 // ---------------------------------------------------------------------
15 
16 #ifndef dealii_generic_linear_algebra_h
17 #define dealii_generic_linear_algebra_h
18 
19 #include <deal.II/base/config.h>
20 
21 #include <deal.II/lac/block_vector.h>
22 #include <deal.II/lac/precondition.h>
23 #include <deal.II/lac/sparse_matrix.h>
24 #include <deal.II/lac/vector.h>
25 
26 
27 DEAL_II_NAMESPACE_OPEN
28 
29 
37 {
42 
47 
52 
57 } // namespace LinearAlgebraDealII
58 
59 
60 DEAL_II_NAMESPACE_CLOSE
61 
62 
63 #ifdef DEAL_II_WITH_PETSC
64 
65 # include <deal.II/lac/block_sparsity_pattern.h>
66 # include <deal.II/lac/petsc_block_sparse_matrix.h>
67 # include <deal.II/lac/petsc_precondition.h>
68 # include <deal.II/lac/petsc_solver.h>
69 # include <deal.II/lac/petsc_sparse_matrix.h>
70 
71 DEAL_II_NAMESPACE_OPEN
72 
80 {
85 
90 
95  namespace MPI
96  {
101 
107 
112 
118 
123 
128 
133 
138 
143 
148 
149  } // namespace MPI
150 
151 } // namespace LinearAlgebraPETSc
152 DEAL_II_NAMESPACE_CLOSE
153 
154 
155 #endif // DEAL_II_WITH_PETSC
156 
157 #ifdef DEAL_II_WITH_TRILINOS
158 
159 # include <deal.II/lac/block_sparsity_pattern.h>
160 # include <deal.II/lac/trilinos_block_sparse_matrix.h>
161 # include <deal.II/lac/trilinos_precondition.h>
162 # include <deal.II/lac/trilinos_solver.h>
163 # include <deal.II/lac/trilinos_sparse_matrix.h>
164 
165 DEAL_II_NAMESPACE_OPEN
166 
174 {
179 
184 
189  namespace MPI
190  {
195 
201 
206 
212 
218 
223 
228 
233 
238 
243 
244 
245  } // namespace MPI
246 
247 } // namespace LinearAlgebraTrilinos
248 
249 DEAL_II_NAMESPACE_CLOSE
250 
251 
252 #endif // DEAL_II_WITH_TRILINOS
253 
254 
255 
256 #endif
LinearAlgebra::distributed::Vector< Number > Vector
LinearAlgebra::distributed::BlockVector< Number > BlockVector