00001
00002
00003
00004
00005
00006
00007
00008 #ifndef CRVTABLES_H
00009 #define CRVTABLES_H
00010
00011 #include "apf.h"
00012 #include "apfMesh.h"
00013
00017 namespace crv {
00018
00021 extern unsigned const* const* const b2[11];
00024 extern unsigned const* const* const* const b3[5];
00025
00028 extern unsigned const* const* const* const tet_tri[7];
00029
00032 extern apf::Vector3 const* const elem_vert_xi[apf::Mesh::TYPES];
00035 extern apf::Vector3 const* const elem_edge_xi[apf::Mesh::TYPES];
00036
00040 static int const tet_tri_edges[4][3] =
00041 {{0,1,2},{0,4,3},{1,5,4},{2,5,3}};
00045 static bool const flip_tet_tri_edges[4][3] =
00046 {{0,0,0},{0,0,1},{0,0,1},{1,0,1}};
00047
00051 static int const vertEdges[4][3] = {{3,0,2},{0,4,1},{1,5,2},{3,5,4}};
00052
00054 static int const oppEdges[6] = {5,3,4,1,2,0};
00055
00058 static int const edgeFaces[6][2] = {{1,0},{2,0},{3,0},{3,1},{1,2},{2,3}};
00059
00060 }
00061
00062 #endif