Loading [MathJax]/extensions/TeX/newcommand.js
Reference documentation for deal.II version 9.4.1
\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
Modules
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
b
c
d
f
g
h
i
l
m
p
s
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
l
m
n
o
p
q
r
s
t
v
w
Enumerations
b
c
d
e
f
g
i
m
o
p
r
s
t
u
v
w
z
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 Functions
:
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
z
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
r
s
t
u
v
Typedefs
Enumerations
Enumerator
m
u
Macros
a
b
d
e
f
h
i
m
s
t
dealii.org
•
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Friends
Macros
Modules
Pages
Loading...
Searching...
No Matches
include
deal.II
lac
generic_linear_algebra.h
Go to the documentation of this file.
1
// ---------------------------------------------------------------------
2
//
3
// Copyright (C) 2008 - 2020 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_sparse_matrix.h
>
22
#include <
deal.II/lac/block_sparsity_pattern.h
>
23
#include <
deal.II/lac/block_vector.h
>
24
#include <
deal.II/lac/precondition.h
>
25
#include <
deal.II/lac/sparse_matrix.h
>
26
#include <
deal.II/lac/vector.h
>
27
28
29
DEAL_II_NAMESPACE_OPEN
30
31
38
namespace
LinearAlgebraDealII
39
{
43
using
Vector
=
Vector<double>
;
44
48
using
BlockVector
=
BlockVector<double>
;
49
53
using
SparseMatrix
=
SparseMatrix<double>
;
54
58
using
BlockSparseMatrix
=
BlockSparseMatrix<double>
;
59
63
using
PreconditionSSOR
=
PreconditionSSOR<SparseMatrix>
;
64
}
// namespace LinearAlgebraDealII
65
66
67
DEAL_II_NAMESPACE_CLOSE
68
69
70
#ifdef DEAL_II_WITH_PETSC
71
72
# include <
deal.II/lac/petsc_block_sparse_matrix.h
>
73
# include <
deal.II/lac/petsc_precondition.h
>
74
# include <
deal.II/lac/petsc_solver.h
>
75
# include <
deal.II/lac/petsc_sparse_matrix.h
>
76
77
DEAL_II_NAMESPACE_OPEN
78
85
namespace
LinearAlgebraPETSc
86
{
90
using
SolverCG
=
PETScWrappers::SolverCG
;
91
95
using
SolverGMRES
=
PETScWrappers::SolverGMRES
;
96
101
namespace
MPI
102
{
106
using
Vector
=
PETScWrappers::MPI::Vector
;
107
112
using
BlockVector
=
PETScWrappers::MPI::BlockVector
;
113
117
using
SparseMatrix
=
PETScWrappers::MPI::SparseMatrix
;
118
123
using
BlockSparseMatrix
=
PETScWrappers::MPI::BlockSparseMatrix
;
124
128
using
BlockCompressedSparsityPattern
=
::BlockDynamicSparsityPattern
;
129
133
using
PreconditionAMG
=
PETScWrappers::PreconditionBoomerAMG
;
134
138
using
PreconditionIC
=
PETScWrappers::PreconditionICC
;
139
143
using
PreconditionILU
=
PETScWrappers::PreconditionILU
;
144
148
using
PreconditionJacobi
=
PETScWrappers::PreconditionJacobi
;
149
153
using
PreconditionSSOR
=
PETScWrappers::PreconditionSSOR
;
154
155
}
// namespace MPI
156
157
}
// namespace LinearAlgebraPETSc
158
DEAL_II_NAMESPACE_CLOSE
159
160
161
#endif
// DEAL_II_WITH_PETSC
162
163
#ifdef DEAL_II_WITH_TRILINOS
164
165
# include <
deal.II/lac/trilinos_block_sparse_matrix.h
>
166
# include <
deal.II/lac/trilinos_precondition.h
>
167
# include <
deal.II/lac/trilinos_solver.h
>
168
# include <
deal.II/lac/trilinos_sparse_matrix.h
>
169
170
DEAL_II_NAMESPACE_OPEN
171
178
namespace
LinearAlgebraTrilinos
179
{
183
using
SolverCG
=
TrilinosWrappers::SolverCG
;
184
188
using
SolverGMRES
=
TrilinosWrappers::SolverGMRES
;
189
194
namespace
MPI
195
{
199
using
Vector
=
TrilinosWrappers::MPI::Vector
;
200
205
using
BlockVector
=
TrilinosWrappers::MPI::BlockVector
;
206
210
using
SparseMatrix
=
TrilinosWrappers::SparseMatrix
;
211
216
using
BlockSparseMatrix
=
TrilinosWrappers::BlockSparseMatrix
;
217
221
using
BlockCompressedSparsityPattern
=
222
TrilinosWrappers::BlockSparsityPattern
;
223
227
using
PreconditionAMG
=
TrilinosWrappers::PreconditionAMG
;
228
232
using
PreconditionIC
=
TrilinosWrappers::PreconditionIC
;
233
237
using
PreconditionILU
=
TrilinosWrappers::PreconditionILU
;
238
242
using
PreconditionJacobi
=
TrilinosWrappers::PreconditionJacobi
;
243
247
using
PreconditionSSOR
=
TrilinosWrappers::PreconditionSSOR
;
248
249
250
}
// namespace MPI
251
252
}
// namespace LinearAlgebraTrilinos
253
254
DEAL_II_NAMESPACE_CLOSE
255
256
257
#endif
// DEAL_II_WITH_TRILINOS
258
259
260
261
#endif
block_sparse_matrix.h
block_sparsity_pattern.h
block_vector.h
BlockDynamicSparsityPattern
Definition:
block_sparsity_pattern.h:526
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:366
PETScWrappers::MPI::Vector
Definition:
petsc_vector.h:158
PETScWrappers::PreconditionBoomerAMG
Definition:
petsc_precondition.h:613
PETScWrappers::PreconditionICC
Definition:
petsc_precondition.h:409
PETScWrappers::PreconditionILU
Definition:
petsc_precondition.h:469
PETScWrappers::PreconditionJacobi
Definition:
petsc_precondition.h:140
PETScWrappers::PreconditionSSOR
Definition:
petsc_precondition.h:351
PETScWrappers::SolverCG
Definition:
petsc_solver.h:380
PETScWrappers::SolverGMRES
Definition:
petsc_solver.h:480
PreconditionSSOR
Definition:
precondition.h:1258
SparseMatrix< double >
TrilinosWrappers::BlockSparseMatrix
Definition:
trilinos_block_sparse_matrix.h:72
TrilinosWrappers::BlockSparsityPattern
Definition:
block_sparsity_pattern.h:641
TrilinosWrappers::MPI::BlockVector
Definition:
trilinos_parallel_block_vector.h:75
TrilinosWrappers::MPI::Vector
Definition:
trilinos_vector.h:399
TrilinosWrappers::PreconditionAMG
Definition:
trilinos_precondition.h:1337
TrilinosWrappers::PreconditionIC
Definition:
trilinos_precondition.h:858
TrilinosWrappers::PreconditionILU
Definition:
trilinos_precondition.h:962
TrilinosWrappers::PreconditionJacobi
Definition:
trilinos_precondition.h:264
TrilinosWrappers::PreconditionSSOR
Definition:
trilinos_precondition.h:345
TrilinosWrappers::SolverCG
Definition:
trilinos_solver.h:363
TrilinosWrappers::SolverGMRES
Definition:
trilinos_solver.h:437
TrilinosWrappers::SparseMatrix
Definition:
trilinos_sparse_matrix.h:547
Vector
Definition:
vector.h:109
config.h
DEAL_II_NAMESPACE_OPEN
#define DEAL_II_NAMESPACE_OPEN
Definition:
config.h:442
DEAL_II_NAMESPACE_CLOSE
#define DEAL_II_NAMESPACE_CLOSE
Definition:
config.h:443
LinearAlgebraDealII
Definition:
generic_linear_algebra.h:39
LinearAlgebraPETSc
Definition:
generic_linear_algebra.h:86
LinearAlgebraTrilinos
Definition:
generic_linear_algebra.h:179
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.9.5