Reference documentation for deal.II version 9.5.0
\(\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// Copyright (C) 2016 - 2020 by the deal.II authors
4//
5// This file is part of the deal.II library.
6//
7// The deal.II library is free software; you can use it, redistribute
8// it, and/or modify it under the terms of the GNU Lesser General
9// Public License as published by the Free Software Foundation; either
10// version 2.1 of the License, or (at your option) any later version.
11// The full text of the license can be found in the file LICENSE.md at
12// the top level directory of deal.II.
13//
14// ---------------------------------------------------------------------
15
17
19
21
22#ifndef DOXYGEN
23
24template <int dim>
27# ifdef DEAL_II_CXX14_CONSTEXPR_BUG
28 = unit_symmetric_tensor<dim>()
29# endif
30 ;
31
32
33
34template <int dim>
37# ifdef DEAL_II_CXX14_CONSTEXPR_BUG
38 = identity_tensor<dim>()
39# endif
40 ;
41
42
43
44template <int dim>
47# ifdef DEAL_II_CXX14_CONSTEXPR_BUG
48 = outer_product(unit_symmetric_tensor<dim>(), unit_symmetric_tensor<dim>())
49# endif
50 ;
51
52
53
54template <int dim>
57# ifdef DEAL_II_CXX14_CONSTEXPR_BUG
58 = deviator_tensor<dim>()
59# endif
60 ;
61
62#endif // DOXYGEN
63
64// explicit instantiations
65#include "standard_tensors.inst"
66
#define DEAL_II_NAMESPACE_OPEN
Definition config.h:472
#define DEAL_II_CONSTEXPR
Definition config.h:185
#define DEAL_II_NAMESPACE_CLOSE
Definition config.h:473
DEAL_II_HOST constexpr SymmetricTensor< 4, dim, Number > outer_product(const SymmetricTensor< 2, dim, Number > &t1, const SymmetricTensor< 2, dim, Number > &t2)