deal.II version GIT relicensing-2167-g9622207b8f 2024-11-21 12:40: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\}}\)
Loading...
Searching...
No Matches
source
physics
elasticity
standard_tensors.cc
Go to the documentation of this file.
1
// ------------------------------------------------------------------------
2
//
3
// SPDX-License-Identifier: LGPL-2.1-or-later
4
// Copyright (C) 2016 - 2020 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/symmetric_tensor.h
>
16
17
#include <
deal.II/physics/elasticity/standard_tensors.h
>
18
19
DEAL_II_NAMESPACE_OPEN
20
21
#ifndef DOXYGEN
22
23
template
<
int
dim>
24
DEAL_II_CONSTEXPR
const
SymmetricTensor<2, dim>
25
Physics::Elasticity::StandardTensors<dim>::I
26
# ifdef DEAL_II_CXX14_CONSTEXPR_BUG
27
= unit_symmetric_tensor<dim>()
28
# endif
29
;
30
31
32
33
template
<
int
dim>
34
DEAL_II_CONSTEXPR
const
SymmetricTensor<4, dim>
35
Physics::Elasticity::StandardTensors<dim>::S
36
# ifdef DEAL_II_CXX14_CONSTEXPR_BUG
37
= identity_tensor<dim>()
38
# endif
39
;
40
41
42
43
template
<
int
dim>
44
DEAL_II_CONSTEXPR
const
SymmetricTensor<4, dim>
45
Physics::Elasticity::StandardTensors<dim>::IxI
46
# ifdef DEAL_II_CXX14_CONSTEXPR_BUG
47
=
outer_product
(unit_symmetric_tensor<dim>(), unit_symmetric_tensor<dim>())
48
# endif
49
;
50
51
52
53
template
<
int
dim>
54
DEAL_II_CONSTEXPR
const
SymmetricTensor<4, dim>
55
Physics::Elasticity::StandardTensors<dim>::dev_P
56
# ifdef DEAL_II_CXX14_CONSTEXPR_BUG
57
= deviator_tensor<dim>()
58
# endif
59
;
60
61
#endif
// DOXYGEN
62
63
// explicit instantiations
64
#include "standard_tensors.inst"
65
66
DEAL_II_NAMESPACE_CLOSE
Physics::Elasticity::StandardTensors
Definition
standard_tensors.h:45
SymmetricTensor
Definition
symmetric_tensor.h:719
DEAL_II_NAMESPACE_OPEN
#define DEAL_II_NAMESPACE_OPEN
Definition
config.h:498
DEAL_II_CONSTEXPR
#define DEAL_II_CONSTEXPR
Definition
config.h:234
DEAL_II_NAMESPACE_CLOSE
#define DEAL_II_NAMESPACE_CLOSE
Definition
config.h:499
standard_tensors.h
symmetric_tensor.h
outer_product
DEAL_II_HOST constexpr SymmetricTensor< 4, dim, Number > outer_product(const SymmetricTensor< 2, dim, Number > &t1, const SymmetricTensor< 2, dim, Number > &t2)
Definition
symmetric_tensor.h:3215
Generated by
1.9.8