Loading [MathJax]/extensions/TeX/newcommand.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
source
lac
trilinos_tpetra_block_vector.cc
Go to the documentation of this file.
1
// ------------------------------------------------------------------------
2
//
3
// SPDX-License-Identifier: LGPL-2.1-or-later
4
// Copyright (C) 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/lac/trilinos_tpetra_block_vector.templates.h>
16
17
#ifdef DEAL_II_TRILINOS_WITH_TPETRA
18
19
DEAL_II_NAMESPACE_OPEN
20
21
namespace
LinearAlgebra
22
{
23
namespace
TpetraWrappers
24
{
25
// Instantiate these vectors types for specific scalar types.
26
//
27
// While there:
28
// Check that the class we declare here satisfies the
29
// vector-space-vector concept. If we catch it here,
30
// any mistake in the vector class declaration would
31
// show up in uses of this class later on as well.
32
33
# ifdef HAVE_TPETRA_INST_FLOAT
34
# ifdef DEAL_II_HAVE_CXX20
35
static_assert
(
concepts::is_vector_space_vector<BlockVector<float>
>);
36
# endif
37
template
class
BlockVector<float>
;
38
# endif
39
# ifdef HAVE_TPETRA_INST_DOUBLE
40
# ifdef DEAL_II_HAVE_CXX20
41
static_assert
(
concepts::is_vector_space_vector<BlockVector<double>
>);
42
# endif
43
template
class
BlockVector<double>
;
44
# endif
45
# ifdef DEAL_II_WITH_COMPLEX_VALUES
46
# ifdef HAVE_TPETRA_INST_COMPLEX_FLOAT
47
# ifdef DEAL_II_HAVE_CXX20
48
static_assert
(
concepts::is_vector_space_vector
<
49
BlockVector<std::complex<float>
>);
50
# endif
51
template
class
BlockVector<std::complex<float>
>;
52
# endif
53
# ifdef HAVE_TPETRA_INST_COMPLEX_DOUBLE
54
# ifdef DEAL_II_HAVE_CXX20
55
static_assert
(
concepts::is_vector_space_vector
<
56
BlockVector<std::complex<double>
>);
57
# endif
58
template
class
BlockVector<std::complex<double>
>;
59
# endif
60
# endif
61
}
// namespace TpetraWrappers
62
}
// namespace LinearAlgebra
63
64
DEAL_II_NAMESPACE_CLOSE
65
66
#endif
// DEAL_II_TRILINOS_WITH_TPETRA
BlockVector
Definition
block_vector.h:71
concepts::is_vector_space_vector
Definition
template_constraints.h:984
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
LinearAlgebra
Definition
template_constraints.h:615
Generated by
1.11.0