MOAB: Mesh Oriented datABase  (version 5.2.1)
MBCN.h
Go to the documentation of this file.
00001 
00002 #include "MBEntityType.h"
00003 #include "MBCN_protos.h"
00004 
00005 #ifdef __cplusplus
00006 extern "C" {
00007 #endif    
00008 
00009     void MBCN_GetBasis(int *rval);
00010   
00011     void MBCN_SetBasis(const int in_basis);
00012 
00013     void MBCN_EntityTypeName(const int this_type, char *rval, int rval_len);
00014   
00015     void MBCN_EntityTypeFromName(const char *name, int *rval);
00016   
00017     void MBCN_Dimension(const int t, int *rval);
00018 
00019     void MBCN_VerticesPerEntity(const int t, int *rval);
00020   
00021     void MBCN_NumSubEntities(const int t, const int d, int *rval);
00022 
00023     void MBCN_SubEntityType(const int this_type,
00024                             const int sub_dimension,
00025                             const int index, int *rval);
00026   
00027     void MBCN_SubEntityVertexIndices(const int this_type, 
00028                                      const int sub_dimension,
00029                                      const int sub_index,
00030                                      int sub_entity_conn[]);
00031 
00032     void MBCN_AdjacentSubEntities(const int this_type,
00033                                   const int *source_indices,
00034                                   const int num_source_indices,
00035                                   const int source_dim,
00036                                   const int target_dim,
00037                                   int *index_list,
00038                                   int *num_indices,
00039                                   const int operation_type, int *rval);
00040 
00041     void MBCN_SideNumberInt(const int *parent_conn, const MBEntityType parent_type,
00042                             const int *child_conn, const int child_num_verts,
00043                             const int child_dim,
00044                             int *side_no, int *sense, int *offset);
00045 
00046     void MBCN_SideNumberUint(const unsigned int *parent_conn, const MBEntityType parent_type,
00047                              const unsigned int *child_conn, const int child_num_verts,
00048                              const int child_dim,
00049                              int *side_no, int *sense, int *offset);
00050 
00051     void MBCN_SideNumberLong(const long *parent_conn, const MBEntityType parent_type,
00052                              const long *child_conn, const int child_num_verts,
00053                              const int child_dim,
00054                              int *side_no, int *sense, int *offset);
00055 
00056     void MBCN_SideNumberUlong(const unsigned long *parent_conn, const MBEntityType parent_type,
00057                               const unsigned long *child_conn, const int child_num_verts,
00058                               const int child_dim,
00059                               int *side_no, int *sense, int *offset);
00060 
00061     void MBCN_SideNumberVoid(void * const *parent_conn, const MBEntityType parent_type,
00062                              void * const *child_conn, const int child_num_verts,
00063                              const int child_dim,
00064                              int *side_no, int *sense, int *offset);
00065 
00066     void MBCN_SideNumber(const int parent_type,
00067                          const int *child_conn_indices, const int child_num_verts,
00068                          const int child_dim,
00069                          int *side_no, int *sense, int *offset);
00070 
00071     void MBCN_OppositeSide(const int parent_type,
00072                            const int child_index,
00073                            const int child_dim,
00074                            int *opposite_index,
00075                            int *opposite_dim, int *rval);
00076 
00077     void MBCN_ConnectivityMatchInt(const int *conn1,
00078                                    const int *conn2,
00079                                    const int num_vertices,
00080                                    int *direct, int *offset, int *rval);
00081     void MBCN_ConnectivityMatchUint(const unsigned int *conn1,
00082                                     const unsigned int *conn2,
00083                                     const int num_vertices,
00084                                     int *direct, int *offset, 
00085                                     int *rval);
00086     void MBCN_ConnectivityMatchLong(const long* conn1,
00087                                     const long* conn2,
00088                                     const int num_vertices,
00089                                     int* direct, int* offset , int *rval);
00090     void MBCN_ConnectivityMatchUlong(const unsigned long* conn1,
00091                                      const unsigned long* conn2,
00092                                      const int num_vertices,
00093                                      int *direct, int* offset,
00094                                      int *rval);
00095     void MBCN_ConnectivityMatchVoid(void* const* conn1,
00096                                     void* const* conn2,
00097                                     const int num_vertices,
00098                                     int* direct, int* offset , int *rval);
00099 
00100     void MBCN_setPermutation(const MBEntityType t, const int dim, int *pvec, 
00101                              const int num_entries, const int is_reverse);
00102   
00103     void MBCN_resetPermutation(const MBEntityType t, const int dim);
00104 
00105     void MBCN_permuteThisInt(const MBEntityType t, const int dim, int *pvec, 
00106                              const int num_indices, const int num_entries, int *rval);
00107 
00108     void MBCN_permuteThisUint(const MBEntityType t, const int dim, unsigned int *pvec, 
00109                               const int num_indices, const int num_entries, int *rval);
00110 
00111     void MBCN_permuteThisLong(const MBEntityType t, const int dim, long *pvec, 
00112                               const int num_indices, const int num_entries, int *rval);
00113 
00114     void MBCN_permuteThisVoid(const MBEntityType t, const int dim, void **pvec, 
00115                               const int num_indices, const int num_entries, int *rval);
00116   
00117     void MBCN_revPermuteThisInt(const MBEntityType t, const int dim, int *pvec, 
00118                              const int num_indices, const int num_entries, int *rval);
00119 
00120     void MBCN_revPermuteThisUint(const MBEntityType t, const int dim, unsigned int *pvec, 
00121                               const int num_indices, const int num_entries, int *rval);
00122 
00123     void MBCN_revPermuteThisLong(const MBEntityType t, const int dim, long *pvec, 
00124                               const int num_indices, const int num_entries, int *rval);
00125 
00126     void MBCN_revPermuteThisVoid(const MBEntityType t, const int dim, void **pvec, 
00127                               const int num_indices, const int num_entries, int *rval);
00128 
00129     void MBCN_HasMidEdgeNodes(const int this_type, 
00130                               const int num_verts, int *rval);
00131 
00132     void MBCN_HasMidFaceNodes(const int this_type, 
00133                               const int num_verts, int *rval);
00134 
00135     void MBCN_HasMidRegionNodes(const int this_type, 
00136                                 const int num_verts, int *rval);
00137 
00138     void MBCN_HasMidNodes(const int this_type, 
00139                           const int num_verts, 
00140                           int mid_nodes[4]);
00141 
00142     void MBCN_HONodeParent( int elem_type,
00143                             int num_nodes, 
00144                             int ho_node_index,
00145                             int *parent_dim, 
00146                             int *parent_index );
00147 
00148     void MBCN_HONodeIndex(const int this_type, const int num_verts,
00149                           const int subfacet_dim, const int subfacet_index, int *rval);
00150 
00151 #ifdef __cplusplus
00152 }
00153 #endif
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines