gmsh-TingyuanDoc
0.1
An Open-Source Timing-driven Analytical Mixed-size FPGA Placer
|
Go to the documentation of this file.
28 static int complink(
const void *a,
const void *b)
53 for(
int l = 0; l < 2; l++) {
62 for(
int i = 0; i < 2; i++) {
82 Msg::Error(
"Cannot link curve %d with no begin or end point", ge->
tag());
91 for(
int k = 0; k < 2; k++) {
123 Msg::Error(
"Cannot orient curve %d with no begin or end point", ge0->
tag());
135 for(
int j = 0; j <
List_Nbr(lk.
l); j++) {
186 Msg::Error(
"Cannot link curve %d with no begin or end point", ge->
tag());
192 for(
int k = 0; k < 2; k++) {
234 std::vector<GEdge *>
const &l = gf->
edges();
235 for(
auto it = l.begin(); it != l.end(); it++) {
239 lk.
n = std::abs(ge->
tag());
246 for(
int i = 0; i < 2; i++) {
268 std::vector<GEdge *>
const &l = gf->
edges();
269 for(
auto ite = l.begin(); ite != l.end(); ite++) {
273 li.
n = std::abs(ge->
tag());
303 std::vector<GEdge *>
const &l = gf->
edges();
304 for(
auto it = l.begin(); it != l.end(); it++) {
307 int ic = std::abs(ge->
tag());
static void recurFindLinkedEdges(int ed, List_T *edges, Tree_T *points, Tree_T *links)
virtual std::vector< GEdge * > const & edges() const
void List_Copy(List_T *a, List_T *b)
virtual bool degenerate(int dim) const
int Tree_Search(Tree_T *tree, void *data)
static void Error(const char *fmt,...)
int fcmp_int(const void *a, const void *b)
void List_Reset(List_T *liste)
int List_Nbr(List_T *liste)
GFace * getFaceByTag(int n) const
static int createEdgeLinks(Tree_T *links)
List_T * List_Create(int n, int incr, int size)
int List_Search(List_T *liste, void *data, int(*fcmp)(const void *a, const void *b))
GEdge * getEdgeByTag(int n) const
static void recurFindLinkedFaces(int fac, List_T *faces, Tree_T *edges, Tree_T *links)
void List_Add(List_T *liste, void *data)
int allEdgesLinked(int ed, List_T *edges)
static int complink(const void *a, const void *b)
void * Tree_Add(Tree_T *tree, void *data)
void * Tree_PQuery(Tree_T *tree, void *data)
virtual GVertex * getBeginVertex() const
void List_Delete(List_T *liste)
static void createFaceLinks(Tree_T *links)
int List_ISearchSeq(List_T *liste, void *data, int(*fcmp)(const void *a, const void *b))
void Tree_Delete(Tree_T *tree)
int Tree_Nbr(Tree_T *tree)
int Tree_Suppress(Tree_T *tree, void *data)
int allFacesLinked(int fac, List_T *faces)
virtual GVertex * getEndVertex() const
Tree_T * Tree_Create(int size, int(*fcmp)(const void *a, const void *b))
static void freeLink(void *link)
static void orientAndSortEdges(List_T *edges, Tree_T *links)
void List_Read(List_T *liste, int index, void *data)
int fcmp_absint(const void *a, const void *b)
int Tree_Query(Tree_T *tree, void *data)
static GModel * current(int index=-1)