Loading [MathJax]/extensions/TeX/newcommand.js
Reference documentation for deal.II version 9.1.1
\newcommand{\dealcoloneq}{\mathrel{\vcenter{:}}=}
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
e
f
i
l
n
o
p
r
s
t
u
v
z
+
Typedefs
b
g
i
m
p
s
v
Enumerations
+
Enumerator
a
c
d
e
g
h
i
l
m
n
o
p
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
l
m
n
o
p
q
r
s
t
v
w
+
Enumerations
a
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
l
m
n
o
p
q
r
s
t
u
v
w
x
+
Related Functions
:
a
b
c
d
f
i
l
m
o
p
r
s
t
u
v
Related Pages
+
Files
File List
+
File Members
+
All
d
e
f
i
o
s
t
u
+
Functions
d
e
f
i
o
s
t
u
Enumerations
dealii.org
•
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Friends
Modules
Pages
source
lac
la_parallel_vector.cc
1
// ---------------------------------------------------------------------
2
//
3
// Copyright (C) 2016 - 2018 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
#include <deal.II/lac/la_parallel_vector.h>
17
#include <deal.II/lac/la_parallel_vector.templates.h>
18
19
DEAL_II_NAMESPACE_OPEN
20
21
#include "la_parallel_vector.inst"
22
23
// do a few functions that currently don't fit the scheme because they have
24
// two template arguments that need to be different (the case of same
25
// arguments is covered by the default copy constructor and copy operator that
26
// is declared separately)
27
28
namespace
LinearAlgebra
29
{
30
namespace
distributed
31
{
32
#define TEMPL_COPY_CONSTRUCTOR(S1, S2) \
33
template Vector<S1, ::MemorySpace::Host> \
34
&Vector<S1, ::MemorySpace::Host>::operator= \
35
<S2>(const Vector<S2, ::MemorySpace::Host> &)
36
37
TEMPL_COPY_CONSTRUCTOR(
double
,
float
);
38
TEMPL_COPY_CONSTRUCTOR(
float
,
double
);
39
#ifdef DEAL_II_WITH_COMPLEX_VALUES
40
TEMPL_COPY_CONSTRUCTOR(std::complex<double>, std::complex<float>);
41
TEMPL_COPY_CONSTRUCTOR(std::complex<float>, std::complex<double>);
42
#endif
43
44
#undef TEMPL_COPY_CONSTRUCTOR
45
}
// namespace distributed
46
}
// namespace LinearAlgebra
47
48
49
DEAL_II_NAMESPACE_CLOSE
LinearAlgebra
Definition:
communication_pattern_base.h:27
Generated by
1.8.14