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
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
14
16
18
19#ifndef DOXYGEN
20
21template <int dim>
24# ifdef DEAL_II_CXX14_CONSTEXPR_BUG
25 = unit_symmetric_tensor<dim>()
26# endif
27 ;
28
29
30
31template <int dim>
34# ifdef DEAL_II_CXX14_CONSTEXPR_BUG
35 = identity_tensor<dim>()
36# endif
37 ;
38
39
40
41template <int dim>
44# ifdef DEAL_II_CXX14_CONSTEXPR_BUG
45 = outer_product(unit_symmetric_tensor<dim>(), unit_symmetric_tensor<dim>())
46# endif
47 ;
48
49
50
51template <int dim>
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
#define DEAL_II_NAMESPACE_OPEN
Definition config.h:38
#define DEAL_II_CONSTEXPR
Definition config.h:282
#define DEAL_II_NAMESPACE_CLOSE
Definition config.h:39
constexpr SymmetricTensor< 4, dim, Number > outer_product(const SymmetricTensor< 2, dim, Number > &t1, const SymmetricTensor< 2, dim, Number > &t2)