MBDyn-1.7.3
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups
RotCoeff.hh
Go to the documentation of this file.
1 /* $Header: /var/cvs/mbdyn/mbdyn/mbdyn-1.0/libraries/libmbmath/RotCoeff.hh,v 1.21 2017/01/12 14:43:53 masarati Exp $ */
2 /*
3  * HmFe (C) is a FEM analysis code.
4  *
5  * Copyright (C) 1996-2017
6  *
7  * Marco Morandini <morandini@aero.polimi.it>
8  * Teodoro Merlini <merlini@aero.polimi.it>
9  *
10  * Dipartimento di Ingegneria Aerospaziale - Politecnico di Milano
11  * via La Masa, 34 - 20156 Milano, Italy
12  * http://www.aero.polimi.it
13  *
14  * Changing this copyright notice is forbidden.
15  * This program is distributed in the hope that it will be useful,
16  * but WITHOUT ANY WARRANTY; without even the implied warranty of
17  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
18  *
19  */
20 /*
21  * MBDyn (C) is a multibody analysis code.
22  * http://www.mbdyn.org
23  *
24  * Copyright (C) 1996-2017
25  *
26  * This code is a partial merge of HmFe and MBDyn.
27  *
28  * Pierangelo Masarati <masarati@aero.polimi.it>
29  * Paolo Mantegazza <mantegazza@aero.polimi.it>
30  *
31  * Dipartimento di Ingegneria Aerospaziale - Politecnico di Milano
32  * via La Masa, 34 - 20156 Milano, Italy
33  * http://www.aero.polimi.it
34  *
35  * Changing this copyright notice is forbidden.
36  *
37  * This program is free software; you can redistribute it and/or modify
38  * it under the terms of the GNU General Public License as published by
39  * the Free Software Foundation (version 2 of the License).
40  *
41  *
42  * This program is distributed in the hope that it will be useful,
43  * but WITHOUT ANY WARRANTY; without even the implied warranty of
44  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
45  * GNU General Public License for more details.
46  *
47  * You should have received a copy of the GNU General Public License
48  * along with this program; if not, write to the Free Software
49  * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
50  */
51 
52 #ifndef RotCoeff_hh
53 #define RotCoeff_hh
54 
55 #include <ac/f2c.h>
56 
57 #include <matvec3.h>
58 #include <matvecexp.h>
59 
60 namespace RotCoeff {
61 
62 const Int COEFF_A = 1;
63 const Int COEFF_B = 2;
64 const Int COEFF_C = 3;
65 const Int COEFF_D = 4;
66 const Int COEFF_E = 5;
67 const Int COEFF_F = 6;
68 
69 const Int COEFF_C_STAR = 1;
70 const Int COEFF_E_STAR = 2;
71 
72 
73 template<class T1, class T2> void CoeffA(const T1 &phi, const Vec3 &p, T2 *const coeff);
74 template<class T1, class T2> void CoeffB(const T1 &phi, const Vec3 &p, T2 *const coeff);
75 template<class T1, class T2> void CoeffC(const T1 &phi, const Vec3 &p, T2 *const coeff);
76 template<class T1, class T2> void CoeffD(const T1 &phi, const Vec3 &p, T2 *const coeff);
77 template<class T1, class T2> void CoeffE(const T1 &phi, const Vec3 &p, T2 *const coeff);
78 template<class T1, class T2> void CoeffF(const T1 &phi, const Vec3 &p, T2 *const coeff);
79 
80 template<class T1, class T2> void CoeffCStar(const T1 &phi, const Vec3 &p,
81  T2 *const coeff, T2 *const coeffs);
82 template<class T1, class T2> void CoeffEStar(const T1 &phi, const Vec3 &p,
83  T2 *const coeff, T2 *const coeffs);
84 
85 
86 }
87 
88 #include "RotCoeff.hc"
89 
90 #endif // RotCoeff_hh
91 
Definition: matvec3.h:98
void CoeffEStar(const T1 &phi, const Vec3 &p, T2 *const coeff, T2 *const coeffs)
void CoeffC(const T1 &phi, const Vec3 &p, T2 *const coeff)
const Int COEFF_A
Definition: RotCoeff.hh:62
const Int COEFF_F
Definition: RotCoeff.hh:67
const Int COEFF_D
Definition: RotCoeff.hh:65
const Int COEFF_E
Definition: RotCoeff.hh:66
void CoeffB(const T1 &phi, const Vec3 &p, T2 *const coeff)
void CoeffCStar(const T1 &phi, const Vec3 &p, T2 *const coeff, T2 *const coeffs)
const Int COEFF_C_STAR
Definition: RotCoeff.hh:69
const Int COEFF_B
Definition: RotCoeff.hh:63
void CoeffD(const T1 &phi, const Vec3 &p, T2 *const coeff)
const Int COEFF_C
Definition: RotCoeff.hh:64
void CoeffA(const T1 &phi, const Vec3 &p, T2 *const coeff)
void CoeffF(const T1 &phi, const Vec3 &p, T2 *const coeff)
const Int COEFF_E_STAR
Definition: RotCoeff.hh:70
void CoeffE(const T1 &phi, const Vec3 &p, T2 *const coeff)