Reference documentation for deal.II version 9.1.0-pre
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.md at
12 // the top level directory of deal.II.
13 //
14 // ---------------------------------------------------------------------
15 
17 
18 #include <deal.II/physics/elasticity/standard_tensors.h>
19 
20 DEAL_II_NAMESPACE_OPEN
21 
22 #ifndef DOXYGEN
23 
24 template <int dim>
26  Physics::Elasticity::StandardTensors<dim>::I = unit_symmetric_tensor<dim>();
27 
28 
29 
30 template <int dim>
32  Physics::Elasticity::StandardTensors<dim>::S = identity_tensor<dim>();
33 
34 
35 
36 template <int dim>
38  outer_product(unit_symmetric_tensor<dim>(), unit_symmetric_tensor<dim>());
39 
40 
41 
42 template <int 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< 4, dim, Number > outer_product(const SymmetricTensor< 2, dim, Number > &t1, const SymmetricTensor< 2, dim, Number > &t2)