Loading [MathJax]/extensions/TeX/newcommand.js
Reference documentation for deal.II version 9.3.3
\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
i
l
m
p
s
t
v
Enumerations
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
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
i
k
l
m
n
o
p
s
t
u
v
Typedefs
Enumerations
Enumerator
m
u
Macros
a
b
d
e
h
i
m
s
t
dealii.org
•
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Friends
Macros
Modules
Pages
source
fe
fe_values_extractors.cc
Go to the documentation of this file.
1
// ---------------------------------------------------------------------
2
//
3
// Copyright (C) 2019 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/base/utilities.h
>
17
18
#include <
deal.II/fe/fe_values_extractors.h
>
19
20
DEAL_II_NAMESPACE_OPEN
21
22
namespace
FEValuesExtractors
23
{
24
std::string
25
Scalar::get_name
()
const
26
{
27
return
"Scalar("
+
Utilities::int_to_string
(
component
) +
")"
;
28
}
29
30
31
std::string
32
Vector::get_name
()
const
33
{
34
return
"Vector("
+
Utilities::int_to_string
(
first_vector_component
) +
")"
;
35
}
36
37
38
template
<
int
rank>
39
std::string
40
Tensor<rank>::get_name
()
const
41
{
42
return
"Tensor<"
+
Utilities::int_to_string
(rank) +
">("
+
43
Utilities::int_to_string
(first_tensor_component) +
")"
;
44
}
45
46
47
template
<
int
rank>
48
std::string
49
SymmetricTensor<rank>::get_name
()
const
50
{
51
return
"SymmetricTensor<"
+
Utilities::int_to_string
(rank) +
">("
+
52
Utilities::int_to_string
(first_tensor_component) +
")"
;
53
}
54
55
// Explicit instantiations
56
template
struct
Tensor<0>
;
57
template
struct
Tensor<1>
;
58
template
struct
Tensor<2>
;
59
template
struct
Tensor<3>
;
60
template
struct
Tensor<4>
;
61
template
struct
SymmetricTensor<2>
;
62
template
struct
SymmetricTensor<4>
;
63
64
}
// namespace FEValuesExtractors
65
66
67
68
DEAL_II_NAMESPACE_CLOSE
DEAL_II_NAMESPACE_OPEN
#define DEAL_II_NAMESPACE_OPEN
Definition:
config.h:402
DEAL_II_NAMESPACE_CLOSE
#define DEAL_II_NAMESPACE_CLOSE
Definition:
config.h:403
fe_values_extractors.h
utilities.h
FEValuesExtractors
Definition:
fe_values_extractors.h:83
Utilities::int_to_string
std::string int_to_string(const unsigned int value, const unsigned int digits=numbers::invalid_unsigned_int)
Definition:
utilities.cc:473
FEValuesExtractors::Scalar::get_name
std::string get_name() const
Definition:
fe_values_extractors.cc:25
FEValuesExtractors::Scalar::component
unsigned int component
Definition:
fe_values_extractors.h:100
FEValuesExtractors::SymmetricTensor
Definition:
fe_values_extractors.h:198
FEValuesExtractors::SymmetricTensor::get_name
std::string get_name() const
Definition:
fe_values_extractors.cc:49
FEValuesExtractors::Tensor
Definition:
fe_values_extractors.h:245
FEValuesExtractors::Tensor::get_name
std::string get_name() const
Definition:
fe_values_extractors.cc:40
FEValuesExtractors::Vector::first_vector_component
unsigned int first_vector_component
Definition:
fe_values_extractors.h:155
FEValuesExtractors::Vector::get_name
std::string get_name() const
Definition:
fe_values_extractors.cc:32
Generated by
1.9.4