MBDyn-1.7.3
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups
mbc_py_global.h
Go to the documentation of this file.
1 /* $Header: /var/cvs/mbdyn/mbdyn/mbdyn-1.0/libraries/libmbc/mbc_py_global.h,v 1.10 2017/01/12 14:43:43 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 #ifndef MBC_GLOBAL_PY_H
33 #define MBC_GLOBAL_PY_H
34 
35 #ifdef SWIG
36 %import "mbc_py_global.i"
37 #endif // SWIG
38 
39 #ifndef extern_t
40 #define extern_t extern
41 #endif // extern_t
42 
43 /* reference node global data */
44 
45 extern_t unsigned *mbc_r_k_label;
46 extern_t double *mbc_r_x;
47 extern_t double *mbc_r_theta;
48 extern_t double *mbc_r_r;
50 extern_t double *mbc_r_xp;
51 extern_t double *mbc_r_omega;
52 extern_t double *mbc_r_xpp;
53 extern_t double *mbc_r_omegap;
54 extern_t unsigned *mbc_r_d_label;
55 extern_t double *mbc_r_f;
56 extern_t double *mbc_r_m;
57 
59 extern_t unsigned mbc_r_x_size;
60 extern_t unsigned mbc_r_theta_size;
61 extern_t unsigned mbc_r_r_size;
63 extern_t unsigned mbc_r_xp_size;
64 extern_t unsigned mbc_r_omega_size;
65 extern_t unsigned mbc_r_xpp_size;
68 extern_t unsigned mbc_r_f_size;
69 extern_t unsigned mbc_r_m_size;
70 
71 /* nodal element global data */
72 
73 extern_t unsigned *mbc_n_k_labels;
74 extern_t double *mbc_n_x;
75 extern_t double *mbc_n_theta;
76 extern_t double *mbc_n_r;
78 extern_t double *mbc_n_xp;
79 extern_t double *mbc_n_omega;
80 extern_t double *mbc_n_xpp;
81 extern_t double *mbc_n_omegap;
82 extern_t unsigned *mbc_n_d_labels;
83 extern_t double *mbc_n_f;
84 extern_t double *mbc_n_m;
85 
87 extern_t unsigned mbc_n_x_size;
88 extern_t unsigned mbc_n_theta_size;
89 extern_t unsigned mbc_n_r_size;
91 extern_t unsigned mbc_n_xp_size;
92 extern_t unsigned mbc_n_omega_size;
93 extern_t unsigned mbc_n_xpp_size;
96 extern_t unsigned mbc_n_f_size;
97 extern_t unsigned mbc_n_m_size;
98 
99 /* modal element global data */
100 
101 extern_t double *mbc_m_q;
102 extern_t double *mbc_m_qp;
103 extern_t double *mbc_m_p;
104 
105 extern_t uint32_t mbc_m_q_size;
106 extern_t uint32_t mbc_m_qp_size;
107 extern_t uint32_t mbc_m_p_size;
108 
109 #endif // MBC_PY_H
double * mbc_n_theta
Definition: mbc_py.cc:70
double * mbc_m_qp
Definition: mbc_py.cc:302
uint32_t mbc_m_p_size
Definition: mbc_py.cc:307
double * mbc_n_xpp
Definition: mbc_py.cc:75
double * mbc_n_r
Definition: mbc_py.cc:71
unsigned mbc_r_f_size
Definition: mbc_py.cc:63
unsigned * mbc_n_k_labels
Definition: mbc_py.cc:68
double * mbc_r_omega
Definition: mbc_py.cc:46
double * mbc_n_omega
Definition: mbc_py.cc:74
unsigned mbc_n_xpp_size
Definition: mbc_py.cc:88
unsigned * mbc_n_d_labels
Definition: mbc_py.cc:77
unsigned mbc_r_x_size
Definition: mbc_py.cc:54
double * mbc_r_euler_123
Definition: mbc_py.cc:44
double * mbc_n_xp
Definition: mbc_py.cc:73
unsigned mbc_n_omega_size
Definition: mbc_py.cc:87
unsigned mbc_n_f_size
Definition: mbc_py.cc:91
double * mbc_n_f
Definition: mbc_py.cc:78
double * mbc_r_omegap
Definition: mbc_py.cc:48
unsigned mbc_n_m_size
Definition: mbc_py.cc:92
unsigned mbc_r_euler_123_size
Definition: mbc_py.cc:57
unsigned mbc_r_d_label_size
Definition: mbc_py.cc:62
double * mbc_m_p
Definition: mbc_py.cc:303
double * mbc_n_omegap
Definition: mbc_py.cc:76
unsigned mbc_n_x_size
Definition: mbc_py.cc:82
unsigned mbc_r_theta_size
Definition: mbc_py.cc:55
uint32_t mbc_m_qp_size
Definition: mbc_py.cc:306
unsigned mbc_n_k_labels_size
Definition: mbc_py.cc:81
unsigned mbc_r_k_label_size
Definition: mbc_py.cc:53
double * mbc_r_m
Definition: mbc_py.cc:51
double * mbc_n_euler_123
Definition: mbc_py.cc:72
unsigned mbc_r_xp_size
Definition: mbc_py.cc:58
unsigned * mbc_r_k_label
Definition: mbc_py.cc:40
unsigned mbc_n_xp_size
Definition: mbc_py.cc:86
double * mbc_n_m
Definition: mbc_py.cc:79
unsigned mbc_r_xpp_size
Definition: mbc_py.cc:60
#define extern_t
Definition: mbc_py_global.h:40
double * mbc_r_xpp
Definition: mbc_py.cc:47
double * mbc_r_xp
Definition: mbc_py.cc:45
double * mbc_n_x
Definition: mbc_py.cc:69
unsigned mbc_r_omega_size
Definition: mbc_py.cc:59
double * mbc_r_r
Definition: mbc_py.cc:43
unsigned mbc_n_d_labels_size
Definition: mbc_py.cc:90
double * mbc_r_x
Definition: mbc_py.cc:41
unsigned mbc_r_r_size
Definition: mbc_py.cc:56
unsigned mbc_n_theta_size
Definition: mbc_py.cc:83
unsigned * mbc_r_d_label
Definition: mbc_py.cc:49
double * mbc_r_f
Definition: mbc_py.cc:50
double * mbc_r_theta
Definition: mbc_py.cc:42
unsigned mbc_r_m_size
Definition: mbc_py.cc:64
double * mbc_m_q
Definition: mbc_py.cc:301
uint32_t mbc_m_q_size
Definition: mbc_py.cc:305
unsigned mbc_n_omegap_size
Definition: mbc_py.cc:89
unsigned mbc_n_r_size
Definition: mbc_py.cc:84
unsigned mbc_n_euler_123_size
Definition: mbc_py.cc:85
unsigned mbc_r_omegap_size
Definition: mbc_py.cc:61