Overture  Version 25
Macros | Functions | Variables
entityConnectivityBuilder.C File Reference
#include "Mapping.h"
#include "uns_templates.h"
#include "entityConnectivityBuilder.h"
#include "display.h"
Include dependency graph for entityConnectivityBuilder.C:

Macros

#define ENTIDX(ep, e, el, ec, ecl)   ep[ (el)*(ec) + e ]
 

Functions

int constructEdgeEntityFromEntity (intArray &edges, intArray &downward, char *&dOrient, intArray &upwardIndex, intArray &upwardOffset, char *&uOrient, intArray &regions, int nReg, int maxVerts, int maxVertIDX, int dDim)
 
int constructFaceEntityFromRegion (intArray &faces, intArray &downward, char *&dOrient, intArray &upwardIndex, intArray &upwardOffset, char *&uOrient, intArray &regions, int nReg, int maxVertsPerFace, int maxVertIDX)
 
int constructRegion2EdgeFromFaces (intArray &region2Edge, char *&dOrient, intArray &upwardIndex, intArray &upwardOffset, char *&uOrient, intArray &face2Edge, char *faceEdgeOrient, intArray &region2Face, intArray &faces, intArray &regions, int nReg, int maxVertIDX)
 
int constructFace2EdgeFromRegions (intArray &face2Edge, char *&dOrient, intArray &upwardIndex, intArray &upwardOffset, char *&uOrient, intArray &region2Edge, char *regionEdgeOrient, intArray &region2Face, intArray &faces, intArray &edges, intArray &regions, int nReg, int maxFaces, int maxVertIDX)
 
int constructUpwardAdjacenciesFromDownward (intArray &upwardIndex, intArray &upwardOffset, char *&uOrient, const intArray &downward, const char *dOrient, int maxIDX)
 

Variables

const int topo2FaceNVerts [][6]
 
const int topo2FaceVert [][6][4]
 
const int topo2EdgeVert [][12][2]
 
const int topo2FaceEdge [][6][4]
 
const int topoNVerts []
 
const int topoNEdges []
 
const int topoNFaces []
 

Macro Definition Documentation

#define ENTIDX (   ep,
  e,
  el,
  ec,
  ecl 
)    ep[ (el)*(ec) + e ]

Function Documentation

int constructEdgeEntityFromEntity ( intArray &  edges,
intArray &  downward,
char *&  dOrient,
intArray &  upwardIndex,
intArray &  upwardOffset,
char *&  uOrient,
intArray &  regions,
int  nReg,
int  maxVerts,
int  maxVertIDX,
int  dDim 
)
int constructFace2EdgeFromRegions ( intArray &  face2Edge,
char *&  dOrient,
intArray &  upwardIndex,
intArray &  upwardOffset,
char *&  uOrient,
intArray &  region2Edge,
char *  regionEdgeOrient,
intArray &  region2Face,
intArray &  faces,
intArray &  edges,
intArray &  regions,
int  nReg,
int  maxFaces,
int  maxVertIDX 
)
int constructFaceEntityFromRegion ( intArray &  faces,
intArray &  downward,
char *&  dOrient,
intArray &  upwardIndex,
intArray &  upwardOffset,
char *&  uOrient,
intArray &  regions,
int  nReg,
int  maxVertsPerFace,
int  maxVertIDX 
)
int constructRegion2EdgeFromFaces ( intArray &  region2Edge,
char *&  dOrient,
intArray &  upwardIndex,
intArray &  upwardOffset,
char *&  uOrient,
intArray &  face2Edge,
char *  faceEdgeOrient,
intArray &  region2Face,
intArray &  faces,
intArray &  regions,
int  nReg,
int  maxVertIDX 
)
int constructUpwardAdjacenciesFromDownward ( intArray &  upwardIndex,
intArray &  upwardOffset,
char *&  uOrient,
const intArray &  downward,
const char *  dOrient,
int  maxIDX 
)

Variable Documentation

const int topo2EdgeVert[][12][2]
Initial value:
=
{
{ {0,1}, {1,2}, {2,0} },
{ {0,1}, {1,2}, {2,3}, {3,0} },
{ {0,3}, {1,3}, {2,3}, {0,2}, {0,1}, {1,2} },
{ {0,4}, {1,4}, {2,4}, {3,4}, {0,1}, {1,2}, {2,3}, {0,3} },
{ {0,2}, {3,5}, {4,5}, {1,2}, {0,1}, {0,3}, {3,4}, {1,4}, {2,5} },
{ {-1}, {-1}, {-1}, {-1}, {-1}, {-1}, {-1}, {-1}, {-1}, {-1}, {-1} },
{ {0,4}, {1,5}, {2,6}, {3,7}, {0,1}, {1,2}, {2,3}, {0,3}, {4,5}, {5,6}, {6,7}, {4,7} }
}

Referenced by constructEdgeEntityFromEntity(), constructRegion2EdgeFromFaces(), and verifyUnstructuredConnectivity().

const int topo2FaceEdge[][6][4]
Initial value:
=
{
{ {0,1,2} },
{ {0,1,2,3} },
{ {4,1,0}, {3,5,4}, {0,2,3}, {5,2,1} },
{ {6,5,4,7}, {0,3,7}, {4,1,0}, {5,2,1}, {6,3,2} },
{ {4,7,6,5}, {5,1,8,0}, {3,8,2,7}, {3,4,0}, {6,2,1} },
{ {-1}, {-1}, {-1}, {-1}, {-1}, {-1} },
{ {4,1,8,0}, {6,3,10,2}, {8,9,10,11}, {6,5,4,7}, {0,11,3,7}, {5,2,9,1} }
}

Referenced by constructFace2EdgeFromRegions(), constructRegion2EdgeFromFaces(), and verifyUnstructuredConnectivity().

const int topo2FaceNVerts[][6]
Initial value:
=
{ { 3 },
{ 4 },
{ 3, 3, 3, 3 },
{ 4, 3, 3, 3, 3 },
{ 4, 4, 4, 3, 3 },
{ 0, 0, 0, 0, 0, 0 },
{ 4, 4, 4, 4, 4, 4 }
}

Referenced by constructFace2EdgeFromRegions(), constructFaceEntityFromRegion(), and constructRegion2EdgeFromFaces().

const int topo2FaceVert[][6][4]
Initial value:
=
{ { {0,1,2} },
{ {0,1,2,3} },
{ {0,1,3}, {0,2,1}, {0,3,2}, {1,2,3} },
{ {3,2,1,0}, {0,4,3}, {0,1,4}, {1,2,4}, {2,3,4} },
{ {0,1,4,3}, {0,3,5,2}, {1,2,5,4}, {2,1,0}, {3,4,5} },
{ {-1}, {-1}, {-1}, {-1}, {-1}, {-1} },
{ {0,1,5,4}, {2,3,7,6}, {4,5,6,7}, {3,2,1,0}, {0,4,7,3}, {1,2,6,5} }
}

Referenced by constructFace2EdgeFromRegions(), constructFaceEntityFromRegion(), constructRegion2EdgeFromFaces(), and verifyUnstructuredConnectivity().

const int topoNEdges[]
const int topoNFaces[]
const int topoNVerts[]
Initial value:
=
{ 3,
4,
4,
5,
6,
7,
8
}

Referenced by UnstructuredMappingAdjacencyIterator::UnstructuredMappingAdjacencyIterator().