Reference documentation for deal.II version 9.0.0
source
physics
elasticity
standard_tensors.cc
1
// ---------------------------------------------------------------------
2
//
3
// Copyright (C) 2016 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 at
12
// the top level of the deal.II distribution.
13
//
14
// ---------------------------------------------------------------------
15
16
#include <
deal.II/base/symmetric_tensor.h
>
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
const
SymmetricTensor<2, dim>
25
Physics::Elasticity::StandardTensors<dim>::I
= unit_symmetric_tensor<dim>();
26
27
28
29
template
<
int
dim>
30
const
SymmetricTensor<4, dim>
31
Physics::Elasticity::StandardTensors<dim>::S
= identity_tensor<dim>();
32
33
34
35
template
<
int
dim>
36
const
SymmetricTensor<4, dim>
37
Physics::Elasticity::StandardTensors<dim>::IxI
=
outer_product
(unit_symmetric_tensor<dim>(),
38
unit_symmetric_tensor<dim>());
39
40
41
42
template
<
int
dim>
43
const
SymmetricTensor<4, dim>
44
Physics::Elasticity::StandardTensors<dim>::dev_P
= deviator_tensor<dim>();
45
46
#endif // DOXYGEN
47
48
// explicit instantiations
49
#include "standard_tensors.inst"
50
51
DEAL_II_NAMESPACE_CLOSE
SymmetricTensor< 2, dim >
Physics::Elasticity::StandardTensors
Definition:
standard_tensors.h:47
SymmetricTensor::outer_product
SymmetricTensor< 4, dim, Number > outer_product(const SymmetricTensor< 2, dim, Number > &t1, const SymmetricTensor< 2, dim, Number > &t2)
Definition:
symmetric_tensor.h:3449
symmetric_tensor.h
Generated by
1.8.14