Loading [MathJax]/extensions/TeX/newcommand.js
deal.II version GIT relicensing-2684-gc61376a70f 2025-02-22 15:30:00+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
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
fe
fe_values_extractors.cc
Go to the documentation of this file.
1
// ------------------------------------------------------------------------
2
//
3
// SPDX-License-Identifier: LGPL-2.1-or-later
4
// Copyright (C) 2019 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/base/utilities.h
>
16
17
#include <
deal.II/fe/fe_values_extractors.h
>
18
19
DEAL_II_NAMESPACE_OPEN
20
21
namespace
FEValuesExtractors
22
{
23
std::string
24
Scalar::get_name
()
const
25
{
26
return
"Scalar("
+
Utilities::int_to_string
(
component
) +
")"
;
27
}
24
Scalar::get_name
()
const
{
…
}
28
29
30
std::string
31
Vector::get_name
()
const
32
{
33
return
"Vector("
+
Utilities::int_to_string
(
first_vector_component
) +
")"
;
34
}
31
Vector::get_name
()
const
{
…
}
35
36
37
template
<
int
rank>
38
std::string
39
Tensor<rank>::get_name
()
const
40
{
41
return
"Tensor<"
+
Utilities::int_to_string
(rank) +
">("
+
42
Utilities::int_to_string
(first_tensor_component) +
")"
;
43
}
39
Tensor<rank>::get_name
()
const
{
…
}
44
45
46
template
<
int
rank>
47
std::string
48
SymmetricTensor<rank>::get_name
()
const
49
{
50
return
"SymmetricTensor<"
+
Utilities::int_to_string
(rank) +
">("
+
51
Utilities::int_to_string
(first_tensor_component) +
")"
;
52
}
48
SymmetricTensor<rank>::get_name
()
const
{
…
}
53
54
// Explicit instantiations
55
template
struct
Tensor<0>
;
56
template
struct
Tensor<1>
;
57
template
struct
Tensor<2>
;
58
template
struct
Tensor<3>
;
59
template
struct
Tensor<4>
;
60
template
struct
SymmetricTensor<2>
;
61
template
struct
SymmetricTensor<4>
;
62
63
}
// namespace FEValuesExtractors
64
65
66
67
DEAL_II_NAMESPACE_CLOSE
DEAL_II_NAMESPACE_OPEN
#define DEAL_II_NAMESPACE_OPEN
Definition
config.h:522
DEAL_II_NAMESPACE_CLOSE
#define DEAL_II_NAMESPACE_CLOSE
Definition
config.h:523
fe_values_extractors.h
utilities.h
FEValuesExtractors
Definition
fe_values_extractors.h:87
Utilities::int_to_string
std::string int_to_string(const unsigned int value, const unsigned int digits=numbers::invalid_unsigned_int)
Definition
utilities.cc:474
FEValuesExtractors::Scalar::get_name
std::string get_name() const
Definition
fe_values_extractors.cc:24
FEValuesExtractors::Scalar::component
unsigned int component
Definition
fe_values_extractors.h:104
FEValuesExtractors::SymmetricTensor
Definition
fe_values_extractors.h:202
FEValuesExtractors::SymmetricTensor::get_name
std::string get_name() const
Definition
fe_values_extractors.cc:48
FEValuesExtractors::Tensor
Definition
fe_values_extractors.h:249
FEValuesExtractors::Tensor::get_name
std::string get_name() const
Definition
fe_values_extractors.cc:39
FEValuesExtractors::Vector::first_vector_component
unsigned int first_vector_component
Definition
fe_values_extractors.h:159
FEValuesExtractors::Vector::get_name
std::string get_name() const
Definition
fe_values_extractors.cc:31
Generated by
1.9.8