deal.II version GIT relicensing-6934-g0e4b96b350 2026-10-20 03:10: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\}}\)
Loading...
Searching...
No Matches
source
physics
elasticity
standard_tensors.cc
Go to the documentation of this file.
1
// -----------------------------------------------------------------------------
2
//
3
// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception OR LGPL-2.1-or-later
4
// Copyright (C) 2016 - 2025 by the deal.II authors
5
//
6
// This file is part of the deal.II library.
7
//
8
// Detailed license information governing the source code and contributions
9
// can be found in LICENSE.md and CONTRIBUTING.md at the top level directory.
10
//
11
// -----------------------------------------------------------------------------
12
13
#include <
deal.II/base/symmetric_tensor.h
>
14
15
#include <
deal.II/physics/elasticity/standard_tensors.h
>
16
17
DEAL_II_NAMESPACE_OPEN
18
19
#ifndef DOXYGEN
20
21
template
<
int
dim>
22
DEAL_II_CONSTEXPR
const
SymmetricTensor<2, dim>
23
Physics::Elasticity::StandardTensors<dim>::I
24
# ifdef DEAL_II_CXX14_CONSTEXPR_BUG
25
= unit_symmetric_tensor<dim>()
26
# endif
27
;
28
29
30
31
template
<
int
dim>
32
DEAL_II_CONSTEXPR
const
SymmetricTensor<4, dim>
33
Physics::Elasticity::StandardTensors<dim>::S
34
# ifdef DEAL_II_CXX14_CONSTEXPR_BUG
35
= identity_tensor<dim>()
36
# endif
37
;
38
39
40
41
template
<
int
dim>
42
DEAL_II_CONSTEXPR
const
SymmetricTensor<4, dim>
43
Physics::Elasticity::StandardTensors<dim>::IxI
44
# ifdef DEAL_II_CXX14_CONSTEXPR_BUG
45
=
outer_product
(unit_symmetric_tensor<dim>(), unit_symmetric_tensor<dim>())
46
# endif
47
;
48
49
50
51
template
<
int
dim>
52
DEAL_II_CONSTEXPR
const
SymmetricTensor<4, dim>
53
Physics::Elasticity::StandardTensors<dim>::dev_P
54
# ifdef DEAL_II_CXX14_CONSTEXPR_BUG
55
= deviator_tensor<dim>()
56
# endif
57
;
58
59
#endif
// DOXYGEN
60
61
// explicit instantiations
62
#include "physics/elasticity/standard_tensors.inst"
63
64
DEAL_II_NAMESPACE_CLOSE
Physics::Elasticity::StandardTensors
Definition
standard_tensors.h:43
SymmetricTensor
Definition
symmetric_tensor.h:781
DEAL_II_NAMESPACE_OPEN
#define DEAL_II_NAMESPACE_OPEN
Definition
config.h:38
DEAL_II_CONSTEXPR
#define DEAL_II_CONSTEXPR
Definition
config.h:282
DEAL_II_NAMESPACE_CLOSE
#define DEAL_II_NAMESPACE_CLOSE
Definition
config.h:39
standard_tensors.h
symmetric_tensor.h
outer_product
constexpr SymmetricTensor< 4, dim, Number > outer_product(const SymmetricTensor< 2, dim, Number > &t1, const SymmetricTensor< 2, dim, Number > &t2)
Definition
symmetric_tensor.h:3339
Generated by
1.9.8