Loading [MathJax]/extensions/TeX/newcommand.js
deal.II version GIT relicensing-3087-ga35b476a78 2025-04-19 20:30:01+00:00
\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
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
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
r
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
p
s
t
dealii.org
•
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Friends
Macros
Modules
Pages
Concepts
Loading...
Searching...
No Matches
source
matrix_free
portable_matrix_free.cc
Go to the documentation of this file.
1
// ------------------------------------------------------------------------
2
//
3
// SPDX-License-Identifier: LGPL-2.1-or-later
4
// Copyright (C) 2016 - 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/matrix_free/portable_matrix_free.templates.h>
16
17
DEAL_II_NAMESPACE_OPEN
18
19
#ifndef DOXYGEN
20
21
namespace
Portable
22
{
23
// Do not instantiate for dim = 1
24
template
class
MatrixFree<2, float>
;
25
template
class
MatrixFree<2, double>
;
26
template
class
MatrixFree<3, float>
;
27
template
class
MatrixFree<3, double>
;
28
29
template
void
30
MatrixFree<2, float>::initialize_dof_vector
(
31
LinearAlgebra::distributed::Vector<float, MemorySpace::Host>
&vec)
const
;
32
template
void
33
MatrixFree<2, float>::initialize_dof_vector
(
34
LinearAlgebra::distributed::Vector<float, MemorySpace::Default>
&vec)
const
;
35
template
void
36
MatrixFree<2, double>::initialize_dof_vector
(
37
LinearAlgebra::distributed::Vector<double, MemorySpace::Host>
&vec)
const
;
38
template
void
39
MatrixFree<2, double>::initialize_dof_vector
(
40
LinearAlgebra::distributed::Vector<double, MemorySpace::Default>
&vec)
41
const
;
42
template
void
43
MatrixFree<3, float>::initialize_dof_vector
(
44
LinearAlgebra::distributed::Vector<float, MemorySpace::Host>
&vec)
const
;
45
template
void
46
MatrixFree<3, float>::initialize_dof_vector
(
47
LinearAlgebra::distributed::Vector<float, MemorySpace::Default>
&vec)
const
;
48
template
void
49
MatrixFree<3, double>::initialize_dof_vector
(
50
LinearAlgebra::distributed::Vector<double, MemorySpace::Host>
&vec)
const
;
51
template
void
52
MatrixFree<3, double>::initialize_dof_vector
(
53
LinearAlgebra::distributed::Vector<double, MemorySpace::Default>
&vec)
54
const
;
55
56
}
// namespace Portable
57
58
#endif
59
60
DEAL_II_NAMESPACE_CLOSE
LinearAlgebra::distributed::Vector
Definition
la_parallel_vector.h:257
MatrixFree
Definition
matrix_free.h:114
Portable::MatrixFree::initialize_dof_vector
void initialize_dof_vector(LinearAlgebra::distributed::Vector< Number, MemorySpaceType > &vec) const
DEAL_II_NAMESPACE_OPEN
#define DEAL_II_NAMESPACE_OPEN
Definition
config.h:35
DEAL_II_NAMESPACE_CLOSE
#define DEAL_II_NAMESPACE_CLOSE
Definition
config.h:36
Portable
Definition
portable_evaluation_kernels.h:34
Generated by
1.9.8