ug4
tetrahedron_rules.h File Reference

Go to the source code of this file.

Namespaces

 ug
 the ug namespace
 
 ug::tet_rules
 

Enumerations

enum  ug::tet_rules::GlobalRefinementRule { ug::tet_rules::STANDARD , ug::tet_rules::HYBRID_TET_OCT }
 identification of refinement rule to be used More...
 

Functions

GlobalRefinementRule ug::tet_rules::GetRefinementRule ()
 
bool ug::tet_rules::IsRegularRefRule (const int edgeMarks)
 returns true if the specified edgeMarks would lead to a regular refinement More...
 
int ug::tet_rules::Refine (int *newIndsOut, int *newEdgeVrts, bool &newCenterOut, vector3 *corners, bool *)
 
void ug::tet_rules::SetRefinementRule (GlobalRefinementRule refRule)
 

Variables

const int ug::tet_rules::EDGE_FROM_VRTS [4][4]
 Associates the index of the connecting edge with each tuple of vertices. More...
 
const int ug::tet_rules::EDGE_VRT_INDS [][2]
 the local vertex indices of the given edge More...
 
const int ug::tet_rules::FACE_CONTAINS_EDGE [][6]
 tells whether the i-th face contains the j-th edge More...
 
const int ug::tet_rules::FACE_EDGE_INDS [4][4]
 returns the j-th edge of the i-th face More...
 
const int ug::tet_rules::FACE_FROM_EDGES [][6]
 given two edges, the table returns the face, which contains both (or -1) More...
 
const int ug::tet_rules::FACE_FROM_VRTS [4][4][4]
 Associates the index of the connecting face with each triple of vertices. More...
 
const int ug::tet_rules::FACE_VRT_INDS [][4]
 the local vertex indices of the given face More...
 
const int ug::tet_rules::MAX_NUM_INDS_OUT = 64
 
const int ug::tet_rules::NUM_EDGES = 6
 
const int ug::tet_rules::NUM_FACES = 4
 
const int ug::tet_rules::NUM_QUADS = 0
 
const int ug::tet_rules::NUM_TRIS = 4
 
const int ug::tet_rules::NUM_VERTICES = 4
 
const int ug::tet_rules::OPPOSED_EDGE [] = {5, 3, 4, 1, 2, 0}
 for each edge the local index of the opposed edge More...
 
const int ug::tet_rules::OPPOSED_OBJECT [][NUM_VERTICES] = {{2, 1}, {2, 2}, {2, 3}, {2, 0}}