Loading [MathJax]/extensions/TeX/AMSsymbols.js
Reference documentation for deal.II version 9.6.0
\(\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\}}\)
Toggle main menu visibility
Main Page
Tutorial
Code gallery
Topics
Namespaces
Namespace List
Namespace Members
All
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
z
Functions
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
Variables
a
b
c
d
e
f
h
i
l
m
n
o
p
q
r
s
t
u
v
w
z
Typedefs
a
b
c
d
e
f
g
h
i
k
l
m
n
p
r
s
t
v
Enumerations
a
b
c
d
e
f
g
h
i
l
n
o
p
r
s
v
Enumerator
a
b
c
d
e
f
g
h
i
l
m
n
o
p
r
s
t
u
v
w
Classes
Class List
Class Index
Class Hierarchy
Class Members
All
:
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
~
Functions
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
z
~
Variables
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
Typedefs
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
z
Enumerations
b
c
d
e
f
g
i
m
o
p
r
s
t
u
v
w
Enumerator
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
Related Symbols
:
a
b
c
d
f
g
i
l
m
n
o
p
r
s
t
u
v
Related Pages
Files
File List
File Members
All
a
b
c
d
e
f
g
h
i
k
l
m
n
o
p
q
r
s
t
u
v
Functions
a
b
c
d
e
f
g
h
i
l
m
n
o
p
s
t
u
v
Variables
a
c
d
e
f
g
h
i
k
l
m
n
o
p
s
t
u
v
Typedefs
Enumerations
Enumerator
m
u
Macros
a
b
d
e
f
h
i
m
p
s
t
dealii.org
•
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Friends
Macros
Modules
Pages
Concepts
Loading...
Searching...
No Matches
include
deal.II
lac
generic_linear_algebra.h
Go to the documentation of this file.
1
// ------------------------------------------------------------------------
2
//
3
// SPDX-License-Identifier: LGPL-2.1-or-later
4
// Copyright (C) 2012 - 2023 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
#ifndef dealii_generic_linear_algebra_h
16
#define dealii_generic_linear_algebra_h
17
18
#include <
deal.II/base/config.h
>
19
20
#include <
deal.II/lac/block_sparse_matrix.h
>
21
#include <
deal.II/lac/block_sparsity_pattern.h
>
22
#include <
deal.II/lac/block_vector.h
>
23
#include <
deal.II/lac/precondition.h
>
24
#include <
deal.II/lac/sparse_matrix.h
>
25
#include <
deal.II/lac/vector.h
>
26
27
28
DEAL_II_NAMESPACE_OPEN
29
30
37
namespace
LinearAlgebraDealII
38
{
42
using
Vector
=
Vector<double>
;
43
47
using
BlockVector
=
BlockVector<double>
;
48
52
using
SparseMatrix
=
SparseMatrix<double>
;
53
57
using
BlockSparseMatrix
=
BlockSparseMatrix<double>
;
58
62
using
PreconditionSSOR
=
PreconditionSSOR<SparseMatrix>
;
63
}
// namespace LinearAlgebraDealII
37
namespace
LinearAlgebraDealII
{
…
}
64
65
66
DEAL_II_NAMESPACE_CLOSE
67
68
69
#ifdef DEAL_II_WITH_PETSC
70
71
# include <
deal.II/lac/petsc_block_sparse_matrix.h
>
72
# include <
deal.II/lac/petsc_precondition.h
>
73
# include <
deal.II/lac/petsc_solver.h
>
74
# include <
deal.II/lac/petsc_sparse_matrix.h
>
75
76
DEAL_II_NAMESPACE_OPEN
77
84
namespace
LinearAlgebraPETSc
85
{
89
using
SolverCG
=
PETScWrappers::SolverCG
;
90
94
using
SolverGMRES
=
PETScWrappers::SolverGMRES
;
95
100
namespace
MPI
101
{
105
using
Vector
=
PETScWrappers::MPI::Vector
;
106
111
using
BlockVector
=
PETScWrappers::MPI::BlockVector
;
112
116
using
SparseMatrix
=
PETScWrappers::MPI::SparseMatrix
;
117
122
using
BlockSparseMatrix
=
PETScWrappers::MPI::BlockSparseMatrix
;
123
127
using
BlockCompressedSparsityPattern
=
::BlockDynamicSparsityPattern
;
128
132
using
PreconditionAMG
=
PETScWrappers::PreconditionBoomerAMG
;
133
137
using
PreconditionIC
=
PETScWrappers::PreconditionICC
;
138
142
using
PreconditionILU
=
PETScWrappers::PreconditionILU
;
143
147
using
PreconditionJacobi
=
PETScWrappers::PreconditionJacobi
;
148
152
using
PreconditionSSOR
=
PETScWrappers::PreconditionSSOR
;
153
154
}
// namespace MPI
100
namespace
MPI
{
…
}
155
156
}
// namespace LinearAlgebraPETSc
84
namespace
LinearAlgebraPETSc
{
…
}
157
DEAL_II_NAMESPACE_CLOSE
158
159
160
#endif
// DEAL_II_WITH_PETSC
161
162
#ifdef DEAL_II_WITH_TRILINOS
163
164
# include <
deal.II/lac/trilinos_block_sparse_matrix.h
>
165
# include <
deal.II/lac/trilinos_precondition.h
>
166
# include <
deal.II/lac/trilinos_solver.h
>
167
# include <
deal.II/lac/trilinos_sparse_matrix.h
>
168
169
DEAL_II_NAMESPACE_OPEN
170
177
namespace
LinearAlgebraTrilinos
178
{
182
using
SolverCG
=
TrilinosWrappers::SolverCG
;
183
187
using
SolverGMRES
=
TrilinosWrappers::SolverGMRES
;
188
193
namespace
MPI
194
{
198
using
Vector
=
TrilinosWrappers::MPI::Vector
;
199
204
using
BlockVector
=
TrilinosWrappers::MPI::BlockVector
;
205
209
using
SparseMatrix
=
TrilinosWrappers::SparseMatrix
;
210
215
using
BlockSparseMatrix
=
TrilinosWrappers::BlockSparseMatrix
;
216
220
using
BlockCompressedSparsityPattern
=
221
TrilinosWrappers::BlockSparsityPattern
;
222
226
using
PreconditionAMG
=
TrilinosWrappers::PreconditionAMG
;
227
231
using
PreconditionIC
=
TrilinosWrappers::PreconditionIC
;
232
236
using
PreconditionILU
=
TrilinosWrappers::PreconditionILU
;
237
241
using
PreconditionJacobi
=
TrilinosWrappers::PreconditionJacobi
;
242
246
using
PreconditionSSOR
=
TrilinosWrappers::PreconditionSSOR
;
247
248
249
}
// namespace MPI
193
namespace
MPI
{
…
}
250
251
}
// namespace LinearAlgebraTrilinos
177
namespace
LinearAlgebraTrilinos
{
…
}
252
253
DEAL_II_NAMESPACE_CLOSE
254
255
256
#endif
// DEAL_II_WITH_TRILINOS
257
258
259
260
#endif
block_sparse_matrix.h
block_sparsity_pattern.h
block_vector.h
BlockDynamicSparsityPattern
Definition
block_sparsity_pattern.h:549
BlockSparseMatrix< double >
BlockVector< double >
PETScWrappers::MPI::BlockSparseMatrix
Definition
petsc_block_sparse_matrix.h:67
PETScWrappers::MPI::BlockVector
Definition
petsc_block_vector.h:61
PETScWrappers::MPI::SparseMatrix
Definition
petsc_sparse_matrix.h:367
PETScWrappers::MPI::Vector
Definition
petsc_vector.h:158
PETScWrappers::PreconditionBoomerAMG
Definition
petsc_precondition.h:621
PETScWrappers::PreconditionICC
Definition
petsc_precondition.h:417
PETScWrappers::PreconditionILU
Definition
petsc_precondition.h:477
PETScWrappers::PreconditionJacobi
Definition
petsc_precondition.h:149
PETScWrappers::PreconditionSSOR
Definition
petsc_precondition.h:359
PETScWrappers::SolverCG
Definition
petsc_solver.h:351
PETScWrappers::SolverGMRES
Definition
petsc_solver.h:452
PreconditionSSOR
Definition
precondition.h:1778
SparseMatrix< double >
TrilinosWrappers::BlockSparseMatrix
Definition
trilinos_block_sparse_matrix.h:72
TrilinosWrappers::BlockSparsityPattern
Definition
block_sparsity_pattern.h:665
TrilinosWrappers::MPI::BlockVector
Definition
trilinos_parallel_block_vector.h:75
TrilinosWrappers::MPI::Vector
Definition
trilinos_vector.h:405
TrilinosWrappers::PreconditionAMG
Definition
trilinos_precondition.h:1321
TrilinosWrappers::PreconditionIC
Definition
trilinos_precondition.h:842
TrilinosWrappers::PreconditionILU
Definition
trilinos_precondition.h:946
TrilinosWrappers::PreconditionJacobi
Definition
trilinos_precondition.h:248
TrilinosWrappers::PreconditionSSOR
Definition
trilinos_precondition.h:329
TrilinosWrappers::SolverCG
Definition
trilinos_solver.h:375
TrilinosWrappers::SolverGMRES
Definition
trilinos_solver.h:414
TrilinosWrappers::SparseMatrix
Definition
trilinos_sparse_matrix.h:550
Vector< double >
config.h
DEAL_II_NAMESPACE_OPEN
#define DEAL_II_NAMESPACE_OPEN
Definition
config.h:503
DEAL_II_NAMESPACE_CLOSE
#define DEAL_II_NAMESPACE_CLOSE
Definition
config.h:504
InitializeLibrary::MPI
@ MPI
LinearAlgebraDealII
Definition
generic_linear_algebra.h:38
LinearAlgebraPETSc
Definition
generic_linear_algebra.h:85
LinearAlgebraTrilinos
Definition
generic_linear_algebra.h:178
petsc_block_sparse_matrix.h
petsc_precondition.h
petsc_solver.h
petsc_sparse_matrix.h
precondition.h
sparse_matrix.h
trilinos_block_sparse_matrix.h
trilinos_precondition.h
trilinos_solver.h
trilinos_sparse_matrix.h
vector.h
Generated by
1.11.0