MOAB: Mesh Oriented datABase
(version 5.4.1)
|
00001 #include "MBEntityType.h" 00002 #include "MBCN_protos.h" 00003 00004 #ifdef __cplusplus 00005 extern "C" { 00006 #endif 00007 00008 void MBCN_GetBasis( int* rval ); 00009 00010 void MBCN_SetBasis( const int in_basis ); 00011 00012 void MBCN_EntityTypeName( const int this_type, char* rval, int rval_len ); 00013 00014 void MBCN_EntityTypeFromName( const char* name, int* rval ); 00015 00016 void MBCN_Dimension( const int t, int* rval ); 00017 00018 void MBCN_VerticesPerEntity( const int t, int* rval ); 00019 00020 void MBCN_NumSubEntities( const int t, const int d, int* rval ); 00021 00022 void MBCN_SubEntityType( const int this_type, const int sub_dimension, const int index, int* rval ); 00023 00024 void MBCN_SubEntityVertexIndices( const int this_type, 00025 const int sub_dimension, 00026 const int sub_index, 00027 int sub_entity_conn[] ); 00028 00029 void MBCN_AdjacentSubEntities( const int this_type, 00030 const int* source_indices, 00031 const int num_source_indices, 00032 const int source_dim, 00033 const int target_dim, 00034 int* index_list, 00035 int* num_indices, 00036 const int operation_type, 00037 int* rval ); 00038 00039 void MBCN_SideNumberInt( const int* parent_conn, 00040 const MBEntityType parent_type, 00041 const int* child_conn, 00042 const int child_num_verts, 00043 const int child_dim, 00044 int* side_no, 00045 int* sense, 00046 int* offset ); 00047 00048 void MBCN_SideNumberUint( const unsigned int* parent_conn, 00049 const MBEntityType parent_type, 00050 const unsigned int* child_conn, 00051 const int child_num_verts, 00052 const int child_dim, 00053 int* side_no, 00054 int* sense, 00055 int* offset ); 00056 00057 void MBCN_SideNumberLong( const long* parent_conn, 00058 const MBEntityType parent_type, 00059 const long* child_conn, 00060 const int child_num_verts, 00061 const int child_dim, 00062 int* side_no, 00063 int* sense, 00064 int* offset ); 00065 00066 void MBCN_SideNumberUlong( const unsigned long* parent_conn, 00067 const MBEntityType parent_type, 00068 const unsigned long* child_conn, 00069 const int child_num_verts, 00070 const int child_dim, 00071 int* side_no, 00072 int* sense, 00073 int* offset ); 00074 00075 void MBCN_SideNumberVoid( void* const* parent_conn, 00076 const MBEntityType parent_type, 00077 void* const* child_conn, 00078 const int child_num_verts, 00079 const int child_dim, 00080 int* side_no, 00081 int* sense, 00082 int* offset ); 00083 00084 void MBCN_SideNumber( const int parent_type, 00085 const int* child_conn_indices, 00086 const int child_num_verts, 00087 const int child_dim, 00088 int* side_no, 00089 int* sense, 00090 int* offset ); 00091 00092 void MBCN_OppositeSide( const int parent_type, 00093 const int child_index, 00094 const int child_dim, 00095 int* opposite_index, 00096 int* opposite_dim, 00097 int* rval ); 00098 00099 void MBCN_ConnectivityMatchInt( const int* conn1, 00100 const int* conn2, 00101 const int num_vertices, 00102 int* direct, 00103 int* offset, 00104 int* rval ); 00105 void MBCN_ConnectivityMatchUint( const unsigned int* conn1, 00106 const unsigned int* conn2, 00107 const int num_vertices, 00108 int* direct, 00109 int* offset, 00110 int* rval ); 00111 void MBCN_ConnectivityMatchLong( const long* conn1, 00112 const long* conn2, 00113 const int num_vertices, 00114 int* direct, 00115 int* offset, 00116 int* rval ); 00117 void MBCN_ConnectivityMatchUlong( const unsigned long* conn1, 00118 const unsigned long* conn2, 00119 const int num_vertices, 00120 int* direct, 00121 int* offset, 00122 int* rval ); 00123 void MBCN_ConnectivityMatchVoid( void* const* conn1, 00124 void* const* conn2, 00125 const int num_vertices, 00126 int* direct, 00127 int* offset, 00128 int* rval ); 00129 00130 void MBCN_setPermutation( const MBEntityType t, const int dim, int* pvec, const int num_entries, const int is_reverse ); 00131 00132 void MBCN_resetPermutation( const MBEntityType t, const int dim ); 00133 00134 void MBCN_permuteThisInt( const MBEntityType t, 00135 const int dim, 00136 int* pvec, 00137 const int num_indices, 00138 const int num_entries, 00139 int* rval ); 00140 00141 void MBCN_permuteThisUint( const MBEntityType t, 00142 const int dim, 00143 unsigned int* pvec, 00144 const int num_indices, 00145 const int num_entries, 00146 int* rval ); 00147 00148 void MBCN_permuteThisLong( const MBEntityType t, 00149 const int dim, 00150 long* pvec, 00151 const int num_indices, 00152 const int num_entries, 00153 int* rval ); 00154 00155 void MBCN_permuteThisVoid( const MBEntityType t, 00156 const int dim, 00157 void** pvec, 00158 const int num_indices, 00159 const int num_entries, 00160 int* rval ); 00161 00162 void MBCN_revPermuteThisInt( const MBEntityType t, 00163 const int dim, 00164 int* pvec, 00165 const int num_indices, 00166 const int num_entries, 00167 int* rval ); 00168 00169 void MBCN_revPermuteThisUint( const MBEntityType t, 00170 const int dim, 00171 unsigned int* pvec, 00172 const int num_indices, 00173 const int num_entries, 00174 int* rval ); 00175 00176 void MBCN_revPermuteThisLong( const MBEntityType t, 00177 const int dim, 00178 long* pvec, 00179 const int num_indices, 00180 const int num_entries, 00181 int* rval ); 00182 00183 void MBCN_revPermuteThisVoid( const MBEntityType t, 00184 const int dim, 00185 void** pvec, 00186 const int num_indices, 00187 const int num_entries, 00188 int* rval ); 00189 00190 void MBCN_HasMidEdgeNodes( const int this_type, const int num_verts, int* rval ); 00191 00192 void MBCN_HasMidFaceNodes( const int this_type, const int num_verts, int* rval ); 00193 00194 void MBCN_HasMidRegionNodes( const int this_type, const int num_verts, int* rval ); 00195 00196 void MBCN_HasMidNodes( const int this_type, const int num_verts, int mid_nodes[4] ); 00197 00198 void MBCN_HONodeParent( int elem_type, int num_nodes, int ho_node_index, int* parent_dim, int* parent_index ); 00199 00200 void MBCN_HONodeIndex( const int this_type, 00201 const int num_verts, 00202 const int subfacet_dim, 00203 const int subfacet_index, 00204 int* rval ); 00205 00206 #ifdef __cplusplus 00207 } 00208 #endif