time_harmonic_elasticity_tensor.cc
Go to the documentation of this file.
1 //LIC// ====================================================================
2 //LIC// This file forms part of oomph-lib, the object-oriented,
3 //LIC// multi-physics finite-element library, available
4 //LIC// at http://www.oomph-lib.org.
5 //LIC//
6 //LIC// Version 1.0; svn revision $LastChangedRevision$
7 //LIC//
8 //LIC// $LastChangedDate$
9 //LIC//
10 //LIC// Copyright (C) 2006-2016 Matthias Heil and Andrew Hazel
11 //LIC//
12 //LIC// This library is free software; you can redistribute it and/or
13 //LIC// modify it under the terms of the GNU Lesser General Public
14 //LIC// License as published by the Free Software Foundation; either
15 //LIC// version 2.1 of the License, or (at your option) any later version.
16 //LIC//
17 //LIC// This library is distributed in the hope that it will be useful,
18 //LIC// but WITHOUT ANY WARRANTY; without even the implied warranty of
19 //LIC// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
20 //LIC// Lesser General Public License for more details.
21 //LIC//
22 //LIC// You should have received a copy of the GNU Lesser General Public
23 //LIC// License along with this library; if not, write to the Free Software
24 //LIC// Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA
25 //LIC// 02110-1301 USA.
26 //LIC//
27 //LIC// The authors may be contacted at oomph-lib@maths.man.ac.uk.
28 //LIC//
29 //LIC//====================================================================
30 //Non-inline function for the Elasticity Tensor
32 
33 namespace oomph
34 {
35  ///\short Translation scheme that takes account of the symmetries of the
36  ///tensor. The independent coefficients are related to the coefficients of
37  ///the elasticity tensor as follows:
38  /**\f[\begin{array}{cc} 0 & E_{1111} \\
39  1 & E_{1112} \\
40  2 & E_{1122} \\
41  3 & E_{1212} \\
42  4 & E_{1222} \\
43  5 & E_{2222} \\
44  6 & E_{1113} \\
45  7 & E_{1123} \\
46  8 & E_{1133} \\
47  9 & E_{1213} \\
48  10 & E_{1223} \\
49  11 & E_{1233} \\
50  12 & E_{1313} \\
51  13 & E_{1322} \\
52  14 & E_{1323} \\
53  15 & E_{1333} \\
54  16 & E_{2223} \\
55  17 & E_{2233} \\
56  18 & E_{2323} \\
57  19 & E_{2333} \\
58  20 & E_{3333}
59  \end{array}\f] **/
60  const unsigned TimeHarmonicElasticityTensor::Index[3][3][3][3] =
61  {
62  {{{0,1,6},{1,2,7},{6,7,8}},
63  {{1,3,9},{3,4,10},{9,10,11}},
64  {{6,9,12},{9,13,14},{12,14,15}}},
65 
66  {{{1,3,9},{3,4,10},{9,10,11}},
67  {{2,4,13},{4,5,16},{13,16,17}},
68  {{7,10,14},{10,16,18},{14,18,19}}},
69 
70  {{{6,9,12},{9,13,14},{12,14,15}},
71  {{7,10,14},{10,16,18},{14,18,19}},
72  {{8,11,15},{11,17,19},{15,19,20}}}
73  };
74 
75 
76  ///\short Translation scheme for the isotropic elasticity tensor
78  {1,0,2,3,0,1,0,0,2,0,0,0,3,0,0,0,0,2,3,0,1};
79 
80 }
81 
static const unsigned StaticIndex[21]
Translation scheme for the isotropic elasticity tensor.
static const unsigned Index[3][3][3][3]
Translation table from the four indices to the corresponding independent component.