muMECH  1.0
transformTensors.h
Go to the documentation of this file.
1 //********************************************************************************************************
2 // code: ### ### ##### #### ## ##
3 // ## ## ######## ## ## ## ## ##
4 // ## ## ## ## ## ### ## ######
5 // ## ## ## ## ## ## ## ## ##
6 // ##### ## ## ##### #### ## ##
7 // ##
8 //
9 // name: transformTensors.h
10 // author(s): Jan Novak, Ladislav Svoboda
11 // language: C, C++
12 // license: This program is free software; you can redistribute it and/or modify
13 // it under the terms of the GNU Lesser General Public License as published by
14 // the Free Software Foundation; either version 2 of the License, or
15 // (at your option) any later version.
16 //
17 // This program is distributed in the hope that it will be useful,
18 // but WITHOUT ANY WARRANTY; without even the implied warranty of
19 // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
20 // GNU Lesser General Public License for more details.
21 //
22 // You should have received a copy of the GNU Lesser General Public License
23 // along with this program; if not, write to the Free Software
24 // Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
25 //********************************************************************************************************
31 #ifndef MUMECH_TRANSFORM_TENSORS_H
32 #define MUMECH_TRANSFORM_TENSORS_H
33 
34 #include "types.h"
35 
36 
37 namespace mumech {
38 
41 namespace TransformTensors
42 {
51  void give_T (double *T, const double *eullerAngles, EullerRotations flag, InclusionGeometry inclGeometry);
52 
61  void give_Te (double *Te, const double *T, InclusionGeometry inclGeometry);
62 
70  void give_TInv (double *TInv, const double *T, InclusionGeometry inclGeometry);
71 
80  void give_TeInv (double *TeInv, const double *Te, InclusionGeometry inclGeometry);
81 
82  //
83  void give_T_3d (double T[9], const double eullerAngles[3], EullerRotations flag);
84  void give_Te_3d (double Te[36], const double T[9]);
85 
86 } // end of namespace TransformTensor
87 
88 } // end of namespace mumech
89 
90 #endif
91 
92 /*end of file*/
EullerRotations
Definition: types.h:661
file of various types and symbolic constant definitions
void give_Te(double *Te, const double *T, InclusionGeometry inclGeometry)
Function calculates the transformation matrix for strain/stress tensors saved in vectors with TNTV_TH...
void give_Te_3d(double Te[36], const double T[9])
void give_T_3d(double T[9], const double eullerAngles[3], EullerRotations flag)
void give_TeInv(double *TeInv, const double *Te, InclusionGeometry inclGeometry)
Function calculates the inverse of transformation matrix for strain/stress tensors saved in vectors w...
void give_T(double *T, const double *eullerAngles, EullerRotations flag, InclusionGeometry inclGeometry)
Function calculates the transformation matrix from given Euller angles.
InclusionGeometry
Inclusion shapes' type.
Definition: types.h:161
void give_TInv(double *TInv, const double *T, InclusionGeometry inclGeometry)
Function calculates the inverse of transformation matrix for vectors.