gmsh-TingyuanDoc  0.1
An Open-Source Timing-driven Analytical Mixed-size FPGA Placer
findLinks.cpp File Reference
#include <stdlib.h>
#include "GmshMessage.h"
#include "MallocUtils.h"
#include "GModel.h"
#include "TreeUtils.h"
#include "ListUtils.h"
Include dependency graph for findLinks.cpp:

Go to the source code of this file.

Classes

struct  nxa
 
struct  lnk
 

Functions

static void freeLink (void *link)
 
static int complink (const void *a, const void *b)
 
static void recurFindLinkedEdges (int ed, List_T *edges, Tree_T *points, Tree_T *links)
 
static int createEdgeLinks (Tree_T *links)
 
static void orientAndSortEdges (List_T *edges, Tree_T *links)
 
int allEdgesLinked (int ed, List_T *edges)
 
static void recurFindLinkedFaces (int fac, List_T *faces, Tree_T *edges, Tree_T *links)
 
static void createFaceLinks (Tree_T *links)
 
int allFacesLinked (int fac, List_T *faces)
 

Function Documentation

◆ allEdgesLinked()

int allEdgesLinked ( int  ed,
List_T edges 
)

Definition at line 163 of file findLinks.cpp.

Here is the call graph for this function:

◆ allFacesLinked()

int allFacesLinked ( int  fac,
List_T faces 
)

Definition at line 285 of file findLinks.cpp.

Here is the call graph for this function:

◆ complink()

static int complink ( const void *  a,
const void *  b 
)
static

Definition at line 28 of file findLinks.cpp.

Referenced by allEdgesLinked(), and allFacesLinked().

Here is the caller graph for this function:

◆ createEdgeLinks()

static int createEdgeLinks ( Tree_T links)
static

Definition at line 76 of file findLinks.cpp.

Referenced by allEdgesLinked().

Here is the call graph for this function:
Here is the caller graph for this function:

◆ createFaceLinks()

static void createFaceLinks ( Tree_T links)
static

Definition at line 260 of file findLinks.cpp.

Referenced by allFacesLinked().

Here is the call graph for this function:
Here is the caller graph for this function:

◆ freeLink()

static void freeLink ( void *  link)
static

Definition at line 22 of file findLinks.cpp.

Referenced by allEdgesLinked(), and allFacesLinked().

Here is the call graph for this function:
Here is the caller graph for this function:

◆ orientAndSortEdges()

static void orientAndSortEdges ( List_T edges,
Tree_T links 
)
static

Definition at line 106 of file findLinks.cpp.

Referenced by allEdgesLinked().

Here is the call graph for this function:
Here is the caller graph for this function:

◆ recurFindLinkedEdges()

static void recurFindLinkedEdges ( int  ed,
List_T edges,
Tree_T points,
Tree_T links 
)
static

Definition at line 39 of file findLinks.cpp.

Referenced by allEdgesLinked().

Here is the call graph for this function:
Here is the caller graph for this function:

◆ recurFindLinkedFaces()

static void recurFindLinkedFaces ( int  fac,
List_T faces,
Tree_T edges,
Tree_T links 
)
static

Definition at line 225 of file findLinks.cpp.

Referenced by allFacesLinked().

Here is the call graph for this function:
Here is the caller graph for this function: