1 #include "MBEntityType.h"
2 #include "MBCN_protos.h"
3
4 #ifdef __cplusplus
5 extern "C" {
6 #endif
7
8 void MBCN_GetBasis( int* rval );
9
10 void MBCN_SetBasis( const int in_basis );
11
12 void MBCN_EntityTypeName( const int this_type, char* rval, int rval_len );
13
14 void MBCN_EntityTypeFromName( const char* name, int* rval );
15
16 void MBCN_Dimension( const int t, int* rval );
17
18 void MBCN_VerticesPerEntity( const int t, int* rval );
19
20 void MBCN_NumSubEntities( const int t, const int d, int* rval );
21
22 void MBCN_SubEntityType( const int this_type, const int sub_dimension, const int index, int* rval );
23
24 void MBCN_SubEntityVertexIndices( const int this_type,
25 const int sub_dimension,
26 const int sub_index,
27 int sub_entity_conn[] );
28
29 void MBCN_AdjacentSubEntities( const int this_type,
30 const int* source_indices,
31 const int num_source_indices,
32 const int source_dim,
33 const int target_dim,
34 int* index_list,
35 int* num_indices,
36 const int operation_type,
37 int* rval );
38
39 void MBCN_SideNumberInt( const int* parent_conn,
40 const MBEntityType parent_type,
41 const int* child_conn,
42 const int child_num_verts,
43 const int child_dim,
44 int* side_no,
45 int* sense,
46 int* offset );
47
48 void MBCN_SideNumberUint( const unsigned int* parent_conn,
49 const MBEntityType parent_type,
50 const unsigned int* child_conn,
51 const int child_num_verts,
52 const int child_dim,
53 int* side_no,
54 int* sense,
55 int* offset );
56
57 void MBCN_SideNumberLong( const long* parent_conn,
58 const MBEntityType parent_type,
59 const long* child_conn,
60 const int child_num_verts,
61 const int child_dim,
62 int* side_no,
63 int* sense,
64 int* offset );
65
66 void MBCN_SideNumberUlong( const unsigned long* parent_conn,
67 const MBEntityType parent_type,
68 const unsigned long* child_conn,
69 const int child_num_verts,
70 const int child_dim,
71 int* side_no,
72 int* sense,
73 int* offset );
74
75 void MBCN_SideNumberVoid( void* const* parent_conn,
76 const MBEntityType parent_type,
77 void* const* child_conn,
78 const int child_num_verts,
79 const int child_dim,
80 int* side_no,
81 int* sense,
82 int* offset );
83
84 void MBCN_SideNumber( const int parent_type,
85 const int* child_conn_indices,
86 const int child_num_verts,
87 const int child_dim,
88 int* side_no,
89 int* sense,
90 int* offset );
91
92 void MBCN_OppositeSide( const int parent_type,
93 const int child_index,
94 const int child_dim,
95 int* opposite_index,
96 int* opposite_dim,
97 int* rval );
98
99 void MBCN_ConnectivityMatchInt( const int* conn1,
100 const int* conn2,
101 const int num_vertices,
102 int* direct,
103 int* offset,
104 int* rval );
105 void MBCN_ConnectivityMatchUint( const unsigned int* conn1,
106 const unsigned int* conn2,
107 const int num_vertices,
108 int* direct,
109 int* offset,
110 int* rval );
111 void MBCN_ConnectivityMatchLong( const long* conn1,
112 const long* conn2,
113 const int num_vertices,
114 int* direct,
115 int* offset,
116 int* rval );
117 void MBCN_ConnectivityMatchUlong( const unsigned long* conn1,
118 const unsigned long* conn2,
119 const int num_vertices,
120 int* direct,
121 int* offset,
122 int* rval );
123 void MBCN_ConnectivityMatchVoid( void* const* conn1,
124 void* const* conn2,
125 const int num_vertices,
126 int* direct,
127 int* offset,
128 int* rval );
129
130 void MBCN_setPermutation( const MBEntityType t, const int dim, int* pvec, const int num_entries, const int is_reverse );
131
132 void MBCN_resetPermutation( const MBEntityType t, const int dim );
133
134 void MBCN_permuteThisInt( const MBEntityType t,
135 const int dim,
136 int* pvec,
137 const int num_indices,
138 const int num_entries,
139 int* rval );
140
141 void MBCN_permuteThisUint( const MBEntityType t,
142 const int dim,
143 unsigned int* pvec,
144 const int num_indices,
145 const int num_entries,
146 int* rval );
147
148 void MBCN_permuteThisLong( const MBEntityType t,
149 const int dim,
150 long* pvec,
151 const int num_indices,
152 const int num_entries,
153 int* rval );
154
155 void MBCN_permuteThisVoid( const MBEntityType t,
156 const int dim,
157 void** pvec,
158 const int num_indices,
159 const int num_entries,
160 int* rval );
161
162 void MBCN_revPermuteThisInt( const MBEntityType t,
163 const int dim,
164 int* pvec,
165 const int num_indices,
166 const int num_entries,
167 int* rval );
168
169 void MBCN_revPermuteThisUint( const MBEntityType t,
170 const int dim,
171 unsigned int* pvec,
172 const int num_indices,
173 const int num_entries,
174 int* rval );
175
176 void MBCN_revPermuteThisLong( const MBEntityType t,
177 const int dim,
178 long* pvec,
179 const int num_indices,
180 const int num_entries,
181 int* rval );
182
183 void MBCN_revPermuteThisVoid( const MBEntityType t,
184 const int dim,
185 void** pvec,
186 const int num_indices,
187 const int num_entries,
188 int* rval );
189
190 void MBCN_HasMidEdgeNodes( const int this_type, const int num_verts, int* rval );
191
192 void MBCN_HasMidFaceNodes( const int this_type, const int num_verts, int* rval );
193
194 void MBCN_HasMidRegionNodes( const int this_type, const int num_verts, int* rval );
195
196 void MBCN_HasMidNodes( const int this_type, const int num_verts, int mid_nodes[4] );
197
198 void MBCN_HONodeParent( int elem_type, int num_nodes, int ho_node_index, int* parent_dim, int* parent_index );
199
200 void MBCN_HONodeIndex( const int this_type,
201 const int num_verts,
202 const int subfacet_dim,
203 const int subfacet_index,
204 int* rval );
205
206 #ifdef __cplusplus
207 }
208 #endif