Loading [MathJax]/extensions/TeX/newcommand.js
deal.II version GIT relicensing-3083-g7b89508ac7 2025-04-18 12:50: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
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
include
deal.II
fe
fe_values_extractors.h
Go to the documentation of this file.
1
// ------------------------------------------------------------------------
2
//
3
// SPDX-License-Identifier: LGPL-2.1-or-later
4
// Copyright (C) 2012 - 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
#ifndef dealii_fe_values_extractors_h
16
#define dealii_fe_values_extractors_h
17
18
19
#include <
deal.II/base/config.h
>
20
21
#include <
deal.II/base/types.h
>
22
23
#include <string>
24
25
26
DEAL_II_NAMESPACE_OPEN
27
28
86
namespace
FEValuesExtractors
87
{
99
struct
Scalar
100
{
104
unsigned
int
component
;
105
113
constexpr
Scalar
();
114
118
constexpr
Scalar
(
const
unsigned
int
component
);
119
123
std::string
124
get_name
()
const
;
125
};
99
struct
Scalar
{
…
};
126
127
154
struct
Vector
155
{
159
unsigned
int
first_vector_component
;
160
168
constexpr
Vector
();
169
174
constexpr
Vector
(
const
unsigned
int
first_vector_component
);
175
179
std::string
180
get_name
()
const
;
181
};
154
struct
Vector
{
…
};
182
183
200
template
<
int
rank>
201
struct
SymmetricTensor
202
{
206
unsigned
int
first_tensor_component
;
207
215
constexpr
SymmetricTensor
();
216
221
constexpr
SymmetricTensor
(
const
unsigned
int
first_tensor_component
);
222
226
std::string
227
get_name
()
const
;
228
};
201
struct
SymmetricTensor
{
…
};
229
230
247
template
<
int
rank>
248
struct
Tensor
249
{
253
unsigned
int
first_tensor_component
;
254
262
constexpr
Tensor
();
263
268
constexpr
Tensor
(
const
unsigned
int
first_tensor_component
);
269
273
std::string
274
get_name
()
const
;
275
};
248
struct
Tensor
{
…
};
276
281
template
<
typename
Extractor>
282
struct
FirstCoupling
283
{
287
constexpr
FirstCoupling
(
const
Extractor &
extractor
);
288
292
const
Extractor
extractor
;
293
};
282
struct
FirstCoupling
{
…
};
294
299
template
<
typename
Extractor>
300
struct
SecondCoupling
301
{
305
constexpr
SecondCoupling
(
const
Extractor &
extractor
);
306
310
const
Extractor
extractor
;
311
};
300
struct
SecondCoupling
{
…
};
312
}
// namespace FEValuesExtractors
86
namespace
FEValuesExtractors
{
…
}
313
314
315
/*-------------- Inline functions: namespace FEValuesExtractors -------------*/
316
317
namespace
FEValuesExtractors
318
{
319
constexpr
inline
Scalar::Scalar
()
320
: component(
numbers
::invalid_unsigned_int)
321
{}
319
constexpr
inline
Scalar::Scalar
() {
…
}
322
323
324
325
constexpr
inline
Scalar::Scalar
(
const
unsigned
int
component)
326
: component(component)
327
{}
325
constexpr
inline
Scalar::Scalar
(
const
unsigned
int
component) {
…
}
328
329
330
331
constexpr
inline
Vector::Vector
()
332
: first_vector_component(
numbers
::invalid_unsigned_int)
333
{}
331
constexpr
inline
Vector::Vector
() {
…
}
334
335
336
constexpr
inline
Vector::Vector
(
const
unsigned
int
first_vector_component)
337
: first_vector_component(first_vector_component)
338
{}
336
constexpr
inline
Vector::Vector
(
const
unsigned
int
first_vector_component) {
…
}
339
340
341
template
<
int
rank>
342
constexpr
inline
SymmetricTensor<rank>::SymmetricTensor
()
343
: first_tensor_component(
numbers
::invalid_unsigned_int)
344
{}
342
constexpr
inline
SymmetricTensor<rank>::SymmetricTensor
() {
…
}
345
346
347
template
<
int
rank>
348
constexpr
inline
SymmetricTensor<rank>::SymmetricTensor
(
349
const
unsigned
int
first_tensor_component)
350
: first_tensor_component(first_tensor_component)
351
{}
348
constexpr
inline
SymmetricTensor<rank>::SymmetricTensor
( {
…
}
352
353
354
template
<
int
rank>
355
constexpr
inline
Tensor<rank>::Tensor
()
356
: first_tensor_component(
numbers
::invalid_unsigned_int)
357
{}
355
constexpr
inline
Tensor<rank>::Tensor
() {
…
}
358
359
360
template
<
int
rank>
361
constexpr
inline
Tensor<rank>::Tensor
(
362
const
unsigned
int
first_tensor_component)
363
: first_tensor_component(first_tensor_component)
364
{}
361
constexpr
inline
Tensor<rank>::Tensor
( {
…
}
365
366
367
template
<
typename
Extractor>
368
constexpr
inline
FirstCoupling<Extractor>::FirstCoupling
(
369
const
Extractor &extractor)
370
: extractor(extractor)
371
{}
368
constexpr
inline
FirstCoupling<Extractor>::FirstCoupling
( {
…
}
372
373
374
template
<
typename
Extractor>
375
constexpr
inline
SecondCoupling<Extractor>::SecondCoupling
(
376
const
Extractor &extractor)
377
: extractor(extractor)
378
{}
375
constexpr
inline
SecondCoupling<Extractor>::SecondCoupling
( {
…
}
379
}
// namespace FEValuesExtractors
380
381
382
DEAL_II_NAMESPACE_CLOSE
383
384
#endif
config.h
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
FEValuesExtractors
Definition
fe_values_extractors.h:87
numbers
Definition
numbers.h:211
FEValuesExtractors::FirstCoupling
Definition
fe_values_extractors.h:283
FEValuesExtractors::FirstCoupling::extractor
const Extractor extractor
Definition
fe_values_extractors.h:292
FEValuesExtractors::FirstCoupling::FirstCoupling
constexpr FirstCoupling(const Extractor &extractor)
Definition
fe_values_extractors.h:368
FEValuesExtractors::Scalar
Definition
fe_values_extractors.h:100
FEValuesExtractors::Scalar::get_name
std::string get_name() const
Definition
fe_values_extractors.cc:24
FEValuesExtractors::Scalar::Scalar
constexpr Scalar()
Definition
fe_values_extractors.h:319
FEValuesExtractors::Scalar::component
unsigned int component
Definition
fe_values_extractors.h:104
FEValuesExtractors::SecondCoupling
Definition
fe_values_extractors.h:301
FEValuesExtractors::SecondCoupling::SecondCoupling
constexpr SecondCoupling(const Extractor &extractor)
Definition
fe_values_extractors.h:375
FEValuesExtractors::SecondCoupling::extractor
const Extractor extractor
Definition
fe_values_extractors.h:310
FEValuesExtractors::SymmetricTensor
Definition
fe_values_extractors.h:202
FEValuesExtractors::SymmetricTensor::get_name
std::string get_name() const
Definition
fe_values_extractors.cc:48
FEValuesExtractors::SymmetricTensor::SymmetricTensor
constexpr SymmetricTensor()
Definition
fe_values_extractors.h:342
FEValuesExtractors::SymmetricTensor::first_tensor_component
unsigned int first_tensor_component
Definition
fe_values_extractors.h:206
FEValuesExtractors::Tensor
Definition
fe_values_extractors.h:249
FEValuesExtractors::Tensor::Tensor
constexpr Tensor()
Definition
fe_values_extractors.h:355
FEValuesExtractors::Tensor::get_name
std::string get_name() const
Definition
fe_values_extractors.cc:39
FEValuesExtractors::Tensor::first_tensor_component
unsigned int first_tensor_component
Definition
fe_values_extractors.h:253
FEValuesExtractors::Vector
Definition
fe_values_extractors.h:155
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
FEValuesExtractors::Vector::Vector
constexpr Vector()
Definition
fe_values_extractors.h:331
types.h
Generated by
1.9.8