Reference documentation for deal.II version GIT relicensing-245-g36f19064f7 2024-03-29 07:20:02+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: 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
16
18
20
21#ifndef DOXYGEN
22
23template <int dim>
26# ifdef DEAL_II_CXX14_CONSTEXPR_BUG
27 = unit_symmetric_tensor<dim>()
28# endif
29 ;
30
31
32
33template <int dim>
36# ifdef DEAL_II_CXX14_CONSTEXPR_BUG
37 = identity_tensor<dim>()
38# endif
39 ;
40
41
42
43template <int dim>
46# ifdef DEAL_II_CXX14_CONSTEXPR_BUG
47 = outer_product(unit_symmetric_tensor<dim>(), unit_symmetric_tensor<dim>())
48# endif
49 ;
50
51
52
53template <int dim>
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
#define DEAL_II_NAMESPACE_OPEN
Definition config.h:502
#define DEAL_II_CONSTEXPR
Definition config.h:236
#define DEAL_II_NAMESPACE_CLOSE
Definition config.h:503
DEAL_II_HOST constexpr SymmetricTensor< 4, dim, Number > outer_product(const SymmetricTensor< 2, dim, Number > &t1, const SymmetricTensor< 2, dim, Number > &t2)