MBDyn-1.7.3
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups
shapefnc.h
Go to the documentation of this file.
1 /* $Header: /var/cvs/mbdyn/mbdyn/mbdyn-1.0/mbdyn/struct/shapefnc.h,v 1.18 2017/01/12 14:46:44 masarati Exp $ */
2 /*
3  * MBDyn (C) is a multibody analysis code.
4  * http://www.mbdyn.org
5  *
6  * Copyright (C) 1996-2017
7  *
8  * Pierangelo Masarati <masarati@aero.polimi.it>
9  * Paolo Mantegazza <mantegazza@aero.polimi.it>
10  *
11  * Dipartimento di Ingegneria Aerospaziale - Politecnico di Milano
12  * via La Masa, 34 - 20156 Milano, Italy
13  * http://www.aero.polimi.it
14  *
15  * Changing this copyright notice is forbidden.
16  *
17  * This program is free software; you can redistribute it and/or modify
18  * it under the terms of the GNU General Public License as published by
19  * the Free Software Foundation (version 2 of the License).
20  *
21  *
22  * This program is distributed in the hope that it will be useful,
23  * but WITHOUT ANY WARRANTY; without even the implied warranty of
24  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
25  * GNU General Public License for more details.
26  *
27  * You should have received a copy of the GNU General Public License
28  * along with this program; if not, write to the Free Software
29  * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
30  */
31 
32 /* Trave a volumi finiti, con predisposizione per forze di inerzia consistenti
33  * e legame cositutivo piezoelettico */
34 
35 
36 #ifndef SHAPEFNC_H
37 #define SHAPEFNC_H
38 
39 #include "myassert.h"
40 #include "except.h"
41 
42 enum Order { ORD_ALG = 0, ORD_D1 = 1, ORD_D2 = 2 };
43 
44 /* Funzioni di interpolazione */
45 extern const doublereal dN3[2][3];
46 extern const doublereal dN3P[2][3];
47 extern const doublereal dN3PP[2][3];
48 
49 extern doublereal
50 ShapeFunc2N(doublereal d, integer iNode, enum Order Ord = ORD_ALG);
51 extern doublereal
52 DxDcsi2N(doublereal d, const Vec3& X1, const Vec3& X2);
53 
54 extern const doublereal dN2[2];
55 extern const doublereal dN2P[2];
56 extern const doublereal dN2PP[2];
57 
58 extern doublereal
59 ShapeFunc3N(doublereal d, integer iNode, enum Order Ord = ORD_ALG);
60 extern doublereal
61 DxDcsi3N(doublereal d, const Vec3& X1, const Vec3& X2, const Vec3& X3);
62 
63 #endif /* SHAPEFNC_H */
64 
const doublereal dN2PP[2]
Definition: shapefnc.cc:60
const doublereal dN3P[2][3]
Definition: shapefnc.cc:162
Definition: matvec3.h:98
const doublereal dN3PP[2][3]
Definition: shapefnc.cc:167
doublereal DxDcsi2N(doublereal d, const Vec3 &X1, const Vec3 &X2)
Definition: shapefnc.cc:113
doublereal DxDcsi3N(doublereal d, const Vec3 &X1, const Vec3 &X2, const Vec3 &X3)
Definition: shapefnc.cc:228
const doublereal dN2P[2]
Definition: shapefnc.cc:56
doublereal ShapeFunc2N(doublereal d, integer iNode, enum Order Ord=ORD_ALG)
Definition: shapefnc.cc:66
Order
Definition: shapefnc.h:42
const doublereal dN3[2][3]
Definition: shapefnc.cc:157
doublereal ShapeFunc3N(doublereal d, integer iNode, enum Order Ord=ORD_ALG)
Definition: shapefnc.cc:173
double doublereal
Definition: colamd.c:52
long int integer
Definition: colamd.c:51
const doublereal dN2[2]
Definition: shapefnc.cc:52