Mesh Oriented datABase  (version 5.4.1)
Array-based unstructured mesh datastructure
exodus_order.h
Go to the documentation of this file.
00001 #ifndef EXODUS_ORDER_HPP
00002 #define EXODUS_ORDER_HPP
00003 
00004 #include "patran_order.h"
00005 
00006 #ifdef __cplusplus
00007 extern "C" {
00008 namespace moab
00009 {
00010 #endif
00011 
00012     /* Cubit writes ExodusII files with tet mid-face nodes in this order */
00013     static const int exodus_tet8_order[]  = { 0, 1, 2, 3, 4, 5, 7, 6 };
00014     static const int exodus_tet9_order[]  = { 0, 1, 2, 3, 8, 4, 5, 7, 6 };
00015     static const int exodus_tet14_order[] = { 0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 13, 12 };
00016     static const int exodus_tet15_order[] = { 0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 14, 10, 11, 13, 12 };
00017 
00018     static const int* exodus_tet_order[] = { 0,
00019                                              0,
00020                                              0,
00021                                              0,
00022                                              0,
00023                                              0,
00024                                              0,
00025                                              0,
00026                                              exodus_tet8_order,
00027                                              exodus_tet9_order,
00028                                              0,
00029                                              0,
00030                                              0,
00031                                              0,
00032                                              exodus_tet14_order,
00033                                              exodus_tet15_order,
00034                                              0,
00035                                              0,
00036                                              0,
00037                                              0,
00038                                              0,
00039                                              0,
00040                                              0,
00041                                              0,
00042                                              0,
00043                                              0,
00044                                              0,
00045                                              0 };
00046 
00047     static const int* const* exodus_hex_order = patran_hex_order;
00048 
00049     static const int* const* const exodus_elem_order_map[] = { patran_null_order, /*  MBVERTEX */
00050                                                                patran_null_order, /*  MBEDGE */
00051                                                                patran_null_order, /*  MBTRI */
00052                                                                patran_null_order, /*  MBQUAD */
00053                                                                patran_null_order, /*  MBPOLYGON */
00054                                                                exodus_tet_order,  /*  MBTET */
00055                                                                patran_null_order, /*  MBPYRAMID */
00056                                                                patran_pri_order,  /*  MBPRISM */
00057                                                                patran_null_order, /*  MBKNIFE */
00058                                                                exodus_hex_order,  /*  MBHEX */
00059                                                                patran_null_order, /*  MBPOLYHEDRON */
00060                                                                patran_null_order };
00061 
00062 #ifdef __cplusplus
00063 }  // namespace moab
00064 
00065 /*  extern "C" */
00066 } /* namespace moab */
00067 #endif
00068 
00069 #endif
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines